Skip to content

Commit

Permalink
fix: remove unnecessarily tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
AliKdhim87 authored and Robbert committed Jul 4, 2022
1 parent 228952f commit 15c3234
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 4 additions & 4 deletions components/link-social/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
*/

.utrecht-link-social {
--utrecht-icon-color: var(--utrecht-link-social-icon-color);
--utrecht-icon-size: var(--utrecht-link-social-icon-size);
--utrecht-icon-size: var(--utrecht-link-social-size);

background-color: var(--utrecht-link-social-background-color);
border-color: var(--utrecht-link-social-border-color);
border-radius: 50%;
border-style: solid;
border-width: var(--utrecht-link-social-border-width);
color: var(--utrecht-link-social-color);
display: inline-block;
height: var(--utrecht-link-social-size);
text-align: center;
width: var(--utrecht-link-social-size);
}

* ~ .utrecht-link-social--distanced {
margin-inline-start: var(--utrecht-link-social-distanced);
.utrecht-link-social--distanced {
margin-inline-start: var(--utrecht-link-social-margin-inline-start);
}
2 changes: 1 addition & 1 deletion components/link-social/css/stories/tokens.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import tokensDefinition from "../../tokens.json";
<ComponentTokensSection
tokens={tokens}
definition={tokensDefinition}
component="utrecht-link-soical"
component="utrecht-link-social"
></ComponentTokensSection>
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@
"utrecht": {
"link-social": {
"background-color": { "value": "{utrecht.color.red.40}" },
"color": { "value": "{utrecht.color.white}" },
"border-width": { "value": "2px" },
"border-color": { "value": "{utrecht.color.white}" },
"size": { "value": "40px" },
"distanced": { "value": "9.6px" },
"icon": {
"color": { "value": "{utrecht.color.white}" },
"size": { "value": "40px" }
}
"margin-inline-start": { "value": "{utrecht.space.inline.sm}" }
}
}
}

0 comments on commit 15c3234

Please sign in to comment.