Skip to main content

Module theme

Module theme 

Source

Structs§

ThemeData
Concrete theme data shared by theme handles.
ThemeDefinition
Shared handle to resolved theme data.
ThemeOverrides
Optional theme-specific overrides for derived style tokens.
ThemePalette
Palette entries used by the built-in terminal themes.

Constants§

DEFAULT_THEME_NAME
Default theme identifier used when no valid theme is configured.

Functions§

all_themes
Returns all currently available built-in themes.
available_theme_names
Returns the normalized identifiers of all available built-in themes.
builtin_themes
Returns the shipped theme catalog as owned theme definitions.
display_name_from_id
Converts a theme identifier into a user-facing display name.
find_builtin_theme
Finds a built-in theme by name after normalization.
find_theme
Finds a theme by name after normalization.
is_known_theme
Returns whether a theme name resolves to a known theme.
normalize_theme_name
Normalizes a theme name for lookup.
resolve_theme
Resolves a theme by name, falling back to the default theme.