use-theme
Theme identity and mode primitives for RustUse UI.
Purpose
use-theme describes theme names, variants, display modes, and semantic theme roles. It intentionally avoids color math, contrast checks, palette generation, and the deeper responsibilities of use-color.
Example
use ;
let name = new;
let variant = new;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
Main types
ThemeModeThemeNameThemeVariantSemanticThemeRole
Facade relationship
The use-ui facade exposes this crate as use_ui::theme when the theme or full feature is enabled.