FontSpec
Specs for a font. The default values depend on the context.
Properties
family?
optionalfamily:string
Font family to use.
size?
optionalsize:number
Size of the font. Default value depends on the context this spec occurs in.
style?
optionalstyle:FontStyle
Font style to use. Default value depends on the context this spec occurs in.
weight?
optionalweight:FontWeight
Font weight to use (e.g., "normal", "bold", "100", "300"). Defaults to null, which browsers treat as "normal".