Expand description
Theme tokens and light/dark modes.
A resolved, backend-agnostic token set (colors, spacing, typography) plus
the per-widget override vocabulary. Native application lands
(GTK CSS, Win32 brushes/colors, Cocoa appearance); the Backend defaults
return the typed capability error until then, so a request is never
silently ignored. See docs/widget-expansion-roadmap.md (“Theming and art
provider”) for the design and evidence rules.
Structs§
- Theme
- A fully resolved theme.
- Theme
Capabilities - Backend capability flags for system light/dark detection.
- Theme
Colors - Named colors resolved by a theme.
- Theme
Spacing - Spacing scale in logical pixels.
- Theme
Typography - Typography scale in points.
Enums§
- High
Contrast Preset - System high-contrast color schemes, modeled on the Windows
contrast themes and GTK
HighContrast/HighContrastInverse. - Theme
Mode - Light/dark mode selector.
- Theme
Override - A per-widget theme override. Only tokens that map to real native knobs are portable today.