Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions polaris-tokens/src/token-groups/font.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ export type FontSizeScale =
| '600'
| '700';

export type FontSizeExperimentalScale = '70' | '80';

export type FontLineHeightScale = '1' | '2' | '3' | '4' | '5' | '6' | '7';

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

export type FontTokenName =
| `font-family-${FontFamilyAlias}`
| `font-size-${FontSizeScale}`
| `font-size-experimental-${FontSizeExperimentalScale}`
| `font-weight-${FontWeightAlias}`
| `font-line-height-${FontLineHeightScale}`;

Expand All @@ -37,9 +40,15 @@ export const font: {
value:
"ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace",
},
'font-size-experimental-70': {
value: '11px',
},
'font-size-75': {
value: '12px',
},
'font-size-experimental-80': {
value: '13px',
},
'font-size-100': {
value: '14px',
},
Expand Down