Skip to content

API reference / Common / Engine types / ThemeFontRef

Type Alias: ThemeFontRef ​

ts
type ThemeFontRef = "major" | "minor";

A reference into the theme's ThemeFontScheme — its major (heading) or minor (body) collection. The script (latin / east-asian / complex) whose face it takes sits beside it on [TextFont::Theme].