Skip to main content

Module theme_picker

Module theme_picker 

Source
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§

ThemeChoice
Everything the picker chooses.
ThemePickerProps
Properties for the ThemePicker component.

Enums§

Contrast
Standard contrast following the system, or high contrast.
Scheme
Light, dark, or the user’s preference.

Functions§

ThemePicker
The theme picker. Picking a design also picks its paired palette, as upstream’s binding does; the palette select can then override it.