Skip to content

Commit 78e0326

Browse files
Add line height token (#9347)
1 parent 8ed44e3 commit 78e0326

File tree

1 file changed

+14
-1
lines changed
  • polaris-tokens/src/token-groups

1 file changed

+14
-1
lines changed

polaris-tokens/src/token-groups/font.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@ export type FontSizeScale =
1515
| '700'
1616
| FontSizeScaleExperimental;
1717

18-
export type FontLineHeightScale = '1' | '2' | '3' | '4' | '5' | '6' | '7';
18+
type FontLineHeightScaleExperimental = Experimental<'075'>;
19+
20+
export type FontLineHeightScale =
21+
| '1'
22+
| '2'
23+
| '3'
24+
| '4'
25+
| '5'
26+
| '6'
27+
| '7'
28+
| FontLineHeightScaleExperimental;
1929

2030
export type FontWeightAlias = 'regular' | 'medium' | 'semibold' | 'bold';
2131

@@ -84,6 +94,9 @@ export const font: {
8494
'font-weight-bold': {
8595
value: '700',
8696
},
97+
'font-line-height-075-experimental': {
98+
value: '12px',
99+
},
87100
'font-line-height-1': {
88101
value: '16px',
89102
},

0 commit comments

Comments
 (0)