navigate.view.theme.get_theme_font
- navigate.view.theme.get_theme_font(name: str, fallback: FontSpec | None = None) → FontSpec
Return a named theme font tuple with fallback support.
- Parameters:
name (str) – Typography token to retrieve.
fallback (FontSpec or None, optional) – Font tuple returned when the token is missing, by default
None.
- Returns:
Resolved font tuple.
- Return type:
FontSpec