Expand description
A theme picker from theme-picker.css: every design as a live preview card, and selects for palette, scheme, and contrast.
It chooses; FutureCss applies. The choice is a value the application feeds back
into its root, so the picker never writes to the document behind the tree’s back.
Custom themes (upstream’s editor, TOML import and export, and contrast validation)
wait on a Rust theme model upstream; see COMPONENTS.md, “Waiting on upstream”.
Re-exports§
pub use ThemePicker_completions::Component::ThemePicker;
Structs§
- Theme
Choice - Everything the picker chooses.
- Theme
Picker Props - Properties for the
ThemePickercomponent.
Enums§
- Contrast
- Standard contrast following the system, or high contrast.
- Scheme
- Light, dark, or the user’s preference.
Functions§
- Theme
Picker - The theme picker. Picking a design also picks its paired palette, as upstream’s binding does; the palette select can then override it.