Skip to content

Commit

Permalink
chore: remove utrecht-link--icon-left class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Oct 6, 2024
1 parent ee9a189 commit 5d0203d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 22 deletions.
10 changes: 0 additions & 10 deletions components/link/src/_mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,16 +90,6 @@ however browsers don't seem to have implemented great looking supixel tweening y
text-underline-offset: var(--utrecht-link-text-underline-offset);
}

@mixin utrecht-link--icon-left {
background-image: var(--utrecht-link-icon-left-background-image, none);
background-position: 0 0.25em;
background-repeat: no-repeat;
color: var(--utrecht-link-color, LinkText);
font-weight: var(--utrecht-typography-weight-scale-bold-font-weight);
padding-inline-start: var(--utrecht-space-block-md);
text-decoration-line: none;
}

@mixin utrecht-link--visited {
--_utrecht-link-forced-colors-color: visitedtext;
--_utrecht-link-state-color: var(--utrecht-link-visited-color);
Expand Down
4 changes: 0 additions & 4 deletions components/link/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
@include utrecht-link--any-link;
}

.utrecht-link--icon-left {
@include utrecht-link--icon-left;
}

.utrecht-link--visited {
@include utrecht-link--visited;
}
Expand Down
3 changes: 0 additions & 3 deletions components/link/src/story-template.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export const defaultArgs = {
telephone: false,
textContent: '',
visited: false,
iconleft: false,
};

export const exampleArgs = {
Expand All @@ -112,7 +111,6 @@ export const Link = ({
telephone = defaultArgs.telephone,
textContent = defaultArgs.textContent,
visited = defaultArgs.visited,
iconleft = defaultArgs.iconleft,
...restProps
}) => (
<a
Expand All @@ -129,7 +127,6 @@ export const Link = ({
'utrecht-link--placeholder': placeholder,
'utrecht-link--telephone': telephone,
'utrecht-link--visited': visited,
'utrecht-link--icon-left': iconleft,
})}
rel={external ? 'external noopener noreferrer' : null}
aria-label={ariaLabel || null}
Expand Down
4 changes: 0 additions & 4 deletions packages/docusaurus/docs/componenten/typografie/link.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ Links helpen je gebruiker te navigeren door je app of pagina.
]}
></StoryTabs>

### Met icoon links

<StoryTabs tabs={[{ id: "css", label: "CSS", story: "css-link--icon-left" }]}></StoryTabs>

### Voor wisselen taal link

Als de taal een andere is dan het huidige document
Expand Down
1 change: 0 additions & 1 deletion proprietary/design-tokens/src/background-image-icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
.utrecht-theme,
.utrecht-theme ::backdrop {
--utrecht-menulijst-item-background-image: url("./pijltje.svg");
--utrecht-link-icon-left-background-image: url("./pijltje.svg");
--utrecht-search-bar-input-background-image: url("./icoon-zoek-rood.svg");
--utrecht-select-background-image: url("./arrow-dropdown.svg");
--utrecht-link-list-marker-background-image: url("./pijltje-zwart.svg");
Expand Down

0 comments on commit 5d0203d

Please sign in to comment.