mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 12:58:38 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			490 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			490 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
export type FontStyleType = 'normal' | 'italic';
 | 
						|
export type FontWeightType = '100' | '200' | '300' | 'normal' | '400' | '500' | '600' | 'bold' | '700' | '800' | '900' | number;
 | 
						|
 | 
						|
export interface ParsedFont {
 | 
						|
	fontStyle?: FontStyleType;
 | 
						|
	fontVariant?: string;
 | 
						|
	fontWeight?: FontWeightType;
 | 
						|
	lineHeight?: string;
 | 
						|
	fontSize?: string;
 | 
						|
	fontFamily?: string;
 | 
						|
	fontVariationSettings?: FontVariationSettingsType[];
 | 
						|
}
 | 
						|
 | 
						|
export type FontVariationSettingsType = {
 | 
						|
	axis: string;
 | 
						|
	value: number;
 | 
						|
};
 |