Skip to content

Commit

Permalink
fix(typography): add missing eds-font-size-20 (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
booc0mtaco authored Apr 11, 2023
1 parent fcef92f commit de5dd03
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .storybook/data/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"eds-font-size-14": "0.875rem",
"eds-font-size-16": "1rem",
"eds-font-size-18": "1.125rem",
"eds-font-size-20": "1.25rem",
"eds-font-size-24": "1.5rem",
"eds-font-size-28": "1.75rem",
"eds-font-size-32": "2rem",
Expand Down
3 changes: 3 additions & 0 deletions src/design-tokens/tier-1-definitions/typography.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"24": {
"value": "1.5rem"
},
"20": {
"value": "1.25rem"
},
"18": {
"value": "1.125rem"
},
Expand Down
1 change: 1 addition & 0 deletions src/tokens-dist/css/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
--eds-font-size-14: 0.875rem;
--eds-font-size-16: 1rem;
--eds-font-size-18: 1.125rem;
--eds-font-size-20: 1.25rem;
--eds-font-size-24: 1.5rem;
--eds-font-size-28: 1.75rem;
--eds-font-size-32: 2rem;
Expand Down
1 change: 1 addition & 0 deletions src/tokens-dist/json/css-variables-nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"14": "var(--eds-font-size-14)",
"16": "var(--eds-font-size-16)",
"18": "var(--eds-font-size-18)",
"20": "var(--eds-font-size-20)",
"24": "var(--eds-font-size-24)",
"28": "var(--eds-font-size-28)",
"32": "var(--eds-font-size-32)",
Expand Down
1 change: 1 addition & 0 deletions src/tokens-dist/json/variables-nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"14": "0.875rem",
"16": "1rem",
"18": "1.125rem",
"20": "1.25rem",
"24": "1.5rem",
"28": "1.75rem",
"32": "2rem",
Expand Down

0 comments on commit de5dd03

Please sign in to comment.