Class CSSFontValue

Hierarchy
Index
Constructors

constructor

Properties

family

family: CSSFontFamilyValue

lineHeight

lineHeight: CSSUnitValue | CSSKeywordValue

size

size: CSSUnitValue | CSSKeywordValue

sizeKeywords

sizeKeywords: string[] = ['xx-small','x-small','small','medium','large','x-large','xx-large',]

stretch

stretch: CSSKeywordValue

style

style: CSSUnitValue | CSSKeywordValue

variant

variant: CSSKeywordValue

weight

weight: CSSUnitValue | CSSKeywordValue
Static

stretchKeywords

stretchKeywords: string[] = ['ultra-condensed','extra-condensed','condensed','semi-condensed','semi-expanded','expanded','extra-expanded','ultra-expanded']
Static

styleKeywords

styleKeywords: string[] = ['italic']
Static

variantKeywords

variantKeywords: string[] = ['small-caps']
Static

weightKeywords

weightKeywords: string[] = ['bold', 'bolder', 'lighter']
Methods

toString

  • toString(): string