Module theme

Module theme 

Source

Structs§

ThemeDefinition
ThemePalette
Palette describing UI colors for the terminal experience.
ThemeStyles
Styles computed from palette colors.

Constants§

DEFAULT_THEME_ID
Identifier for the default theme.

Functions§

active_styles
Get the current styles cloned from the active theme.
active_theme_id
Get the identifier of the active theme.
active_theme_label
Get the human-readable label of the active theme.
available_themes
Enumerate available theme identifiers.
banner_color
Slightly adjusted accent color for banner-like copy.
banner_style
Slightly darkened accent style for banner-like copy.
ensure_theme
Validate a theme and return its label for messaging.
logo_accent_color
Accent color for the startup banner logo.
resolve_theme
Resolve a theme identifier from configuration or CLI input.
set_active_theme
Set the active theme by identifier.
theme_label
Look up a theme label for display.