getFontStyle
In v2, getFontStyle(font: Variant): string returned the CSS for a Variant and fell back to viola for an unknown variant. In v3, render text with ReactComponent.TextComponent and its variant prop, or with stdlib’s primitives.
In v2, getFontStyle(font: Variant): string returned the CSS for a Variant and fell back to viola for an unknown variant. In v3, render text with ReactComponent.TextComponent and its variant prop, or with stdlib’s primitives.