Skip to content

Commit

Permalink
Lowercase 'italic' in tokens so it satisfies type
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmockett committed Mar 27, 2024
1 parent 751bc9b commit 806bd2b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libs/@guardian/design-tokens/src/tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@
"fontSize": "{typography.fontSize.14}",
"lineHeight": "{typography.lineHeight.regular}",
"fontWeight": "{typography.fontWeight.regular}",
"fontStyle": "Italic"
"fontStyle": "italic"
}
},
"textSansItalic15": {
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/design-tokens/tokens.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1444,7 +1444,7 @@ export declare const tokens: {
readonly fontSize: '14px';
readonly lineHeight: 1.3;
readonly fontWeight: 400;
readonly fontStyle: 'Italic';
readonly fontStyle: 'italic';
};
readonly textSansItalic15: {
readonly fontFamily: readonly [
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/design-tokens/tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -1440,7 +1440,7 @@ export const tokens = {
fontSize: '14px',
lineHeight: 1.3,
fontWeight: 400,
fontStyle: 'Italic',
fontStyle: 'italic',
},
textSansItalic15: {
fontFamily: [
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/design-tokens/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@
--source-typography-presets-textSansItalic14-font-size: var(
--source-typography-fontSize-14
);
--source-typography-presets-textSansItalic14-font-style: Italic;
--source-typography-presets-textSansItalic14-font-style: italic;
--source-typography-presets-textSansItalic14-font-weight: var(
--source-typography-fontWeight-regular
);
Expand Down

0 comments on commit 806bd2b

Please sign in to comment.