Skip to main content

Module theme

Module theme 

Source
Expand description

Theme colour derivation (ThemeColors::from_core, custom iced::Theme). Theme helpers for CleanSys’s GUI.

Colours are derived from the unified cleansys_core::AppTheme definitions so the GUI renders exactly the same 43-theme catalogue as the rest of the CleanSys ecosystem (and, in spirit, the same catalogue as GitKraft).

Structs§

ThemeColors
A resolved set of colours derived from the active theme, for the small number of custom-styled elements in the GUI (badges, cards, status text).

Functions§

iced_theme_for
Build a custom iced::Theme whose palette is derived from the active core theme, so every built-in Iced widget (checkboxes, buttons, text inputs, pick-lists, scrollbars) automatically inherits the right colours without each one needing an explicit .style() override.