diff options
| -rw-r--r-- | desktop/packages/mullvad-vpn/src/renderer/tokens/typography.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/tokens/typography.ts b/desktop/packages/mullvad-vpn/src/renderer/tokens/typography.ts index df7359b8f0..d647c8465a 100644 --- a/desktop/packages/mullvad-vpn/src/renderer/tokens/typography.ts +++ b/desktop/packages/mullvad-vpn/src/renderer/tokens/typography.ts @@ -34,23 +34,23 @@ export enum LineHeights { mini = '15px', } -interface Typography { +interface TypographyProperties { fontFamily: React.CSSProperties['fontFamily']; fontSize: React.CSSProperties['fontSize']; fontWeight: React.CSSProperties['fontWeight']; lineHeight: React.CSSProperties['lineHeight']; } -export const typography: Record< +export type Typography = | 'titleBig' | 'titleLarge' | 'titleMedium' | 'bodySmall' | 'bodySmallSemibold' | 'labelTiny' - | 'footnoteMini', - Typography -> = { + | 'footnoteMini'; + +export const typography: Record<Typography, TypographyProperties> = { titleBig: { fontFamily: Fonts.title, fontWeight: FontWeights.bold, |
