-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(design-tokens): DSYS-819 | update typography tokens (#2717)
* chore: * remove 'typography' infix from typography tokens. * remove old letter-spacing tokens and introduce unique --cui-letter-spacing token. * update typography tokens to their final values. * update some readme files. * Update theme page. * chore: changeset * add new sizes for the list component * use correct letter-spacing value * add new semibold font-weight token * missing classes
- Loading branch information
Showing
43 changed files
with
349 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@sumup-oss/design-tokens": minor | ||
--- | ||
|
||
Updated several typography token values and replaced the component-specific letter spacing tokens with a unified one. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@sumup-oss/stylelint-plugin-circuit-ui": minor | ||
"@sumup-oss/eslint-plugin-circuit-ui": minor | ||
"@sumup-oss/circuit-ui": minor | ||
"@sumup-oss/design-tokens": minor | ||
--- | ||
|
||
Updated new typography design tokens names by removing the `-typography` infix. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@sumup-oss/eslint-plugin-circuit-ui": minor | ||
"@sumup-oss/circuit-ui": minor | ||
--- | ||
|
||
Introduced new sizes to the List component and deprecated old sizes. Updated `no-renamed-props` ESlint rule. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/circuit-ui/components/Carousel/components/Status/Status.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@media (max-width: 479px) { | ||
.base { | ||
font-size: var(--cui-typography-body-s-font-size); | ||
line-height: var(--cui-typography-body-s-line-height); | ||
font-size: var(--cui-body-s-font-size); | ||
line-height: var(--cui-body-s-line-height); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
.base { | ||
font-weight: var(--cui-font-weight-bold); | ||
color: var(--cui-fg-normal); | ||
letter-spacing: -0.03em; | ||
letter-spacing: var(--cui-letter-spacing); | ||
} | ||
|
||
/* Sizes */ | ||
|
||
.l { | ||
font-size: var(--cui-typography-display-l-font-size); | ||
line-height: var(--cui-typography-display-l-line-height); | ||
letter-spacing: var(--cui-typography-display-l-letter-spacing); | ||
font-size: var(--cui-display-l-font-size); | ||
line-height: var(--cui-display-l-line-height); | ||
} | ||
|
||
.m { | ||
font-size: var(--cui-typography-display-m-font-size); | ||
line-height: var(--cui-typography-display-m-line-height); | ||
letter-spacing: var(--cui-typography-display-m-letter-spacing); | ||
font-size: var(--cui-display-m-font-size); | ||
line-height: var(--cui-display-m-line-height); | ||
} | ||
|
||
.s { | ||
font-size: var(--cui-typography-display-s-font-size); | ||
line-height: var(--cui-typography-display-s-line-height); | ||
letter-spacing: var(--cui-typography-display-s-letter-spacing); | ||
font-size: var(--cui-display-s-font-size); | ||
line-height: var(--cui-display-s-line-height); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 7 additions & 10 deletions
17
packages/circuit-ui/components/Headline/Headline.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
.base { | ||
font-weight: var(--cui-font-weight-bold); | ||
color: var(--cui-fg-normal); | ||
letter-spacing: -0.03em; | ||
letter-spacing: var(--cui-letter-spacing); | ||
} | ||
|
||
/* Sizes */ | ||
|
||
.l { | ||
font-size: var(--cui-typography-headline-l-font-size); | ||
line-height: var(--cui-typography-headline-l-line-height); | ||
letter-spacing: var(--cui-typography-headline-l-letter-spacing); | ||
font-size: var(--cui-headline-l-font-size); | ||
line-height: var(--cui-headline-l-line-height); | ||
} | ||
|
||
.m { | ||
font-size: var(--cui-typography-headline-m-font-size); | ||
line-height: var(--cui-typography-headline-m-line-height); | ||
letter-spacing: var(--cui-typography-headline-m-letter-spacing); | ||
font-size: var(--cui-headline-m-font-size); | ||
line-height: var(--cui-headline-m-line-height); | ||
} | ||
|
||
.s { | ||
font-size: var(--cui-typography-headline-s-font-size); | ||
line-height: var(--cui-typography-headline-s-line-height); | ||
letter-spacing: var(--cui-typography-headline-s-letter-spacing); | ||
font-size: var(--cui-headline-s-font-size); | ||
line-height: var(--cui-headline-s-line-height); | ||
} |
Oops, something went wrong.