Skip to content

Commit

Permalink
refactor: restructure component tokens in order to follow BEM in scss
Browse files Browse the repository at this point in the history
  • Loading branch information
TessaViergever authored and Yolijn committed Jun 14, 2024
1 parent 703c232 commit 6dd80ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/components-css/logo/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.frameless-logo__text {
display: inline-block;
font-family: var(--frameless-logo-text-font-family);
font-size: var(--frameless-logo-text-font-size-large);
font-size: var(--frameless-logo-text-font-size);
}

.utrecht-logo {
Expand Down Expand Up @@ -49,7 +49,7 @@
}

.frameless-logo__text {
font-size: var(--frameless-logo-text-font-size-small);
font-size: var(--frameless-logo-text-small-font-size);
margin-block: 0;
margin-block-end: 0.5em;
margin-inline: 0;
Expand All @@ -63,6 +63,6 @@
}

.frameless-logo__text {
font-size: var(--frameless-logo-text-font-size-small);
font-size: var(--frameless-logo-text-small-font-size);
}
}
10 changes: 5 additions & 5 deletions proprietary/design-tokens/figma/figma.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -3187,11 +3187,11 @@
"frameless": {
"logo-text": {
"font-family": { "value": "{frameless.typography.font-family.primary}" },
"font-size": {
"small": { "value": "{frameless.typography.font-size.2xl}" },
"large": { "value": "{frameless.typography.font-size.4xl}" }
},
"font-weight": { "value": "{frameless.typography.font-weight.normal}" }
"font-size": { "value": "{frameless.typography.font-size.4xl}" },
"font-weight": { "value": "{frameless.typography.font-weight.normal}" },
"small": {
"font-size": { "value": "{frameless.typography.font-size.2xl}" }
}
},
"logo-image": {},
"logo-wrapper": {
Expand Down

0 comments on commit 6dd80ff

Please sign in to comment.