1 | export type FontStyleType = 'normal' | 'italic';
|
2 | export type FontWeightType = '100' | '200' | '300' | 'normal' | '400' | '500' | '600' | 'bold' | '700' | '800' | '900' | number;
|
3 | export interface ParsedFont {
|
4 | fontStyle?: FontStyleType;
|
5 | fontVariant?: string;
|
6 | fontWeight?: FontWeightType;
|
7 | lineHeight?: string;
|
8 | fontSize?: string;
|
9 | fontFamily?: string;
|
10 | fontVariationSettings?: FontVariationSettingsType[];
|
11 | }
|
12 | export type FontVariationSettingsType = {
|
13 | axis: string;
|
14 | value: number;
|
15 | };
|