Expand description
Cosmic theme library.
Provides utilities for creating custom cosmic themes.
Re-exports§
pub use palette;
Modules§
Structs§
- Component
- The colors for a widget of the Cosmic theme
- Container
- Theme Container colors of a theme, can be a theme background container, primary container, or secondary container
- Corner
Radii - Corner radii variables for the Cosmic theme
- Cosmic
Palette Inner - The palette for Cosmic Theme, from which all color properties are derived
- DARK_
PALETTE - built in dark palette
- LIGHT_
PALETTE - built in light palette
- Spacing
- Spacing variables for the Cosmic theme
- Theme
- Cosmic Theme data structure with all colors and its name
- Theme
Builder - Helper for building customized themes
- Theme
Mode - The config for cosmic theme dark / light settings
Enums§
- Cosmic
Palette - Palette type
- Density
- Density options for the Cosmic theme
- Layer
- Theme layer type
Constants§
- DARK_
THEME_ BUILDER_ ID - ID for the current dark
ThemeBuilder
config - DARK_
THEME_ ID - ID for the current dark Theme config
- LIGHT_
THEME_ BUILDER_ ID - ID for the current light `ThemeBuilder`` config
- LIGHT_
THEME_ ID - ID for the current light Theme config
- NAME
- name of cosmic theme
- THEME_
MODE_ ID - ID for the ThemeMode config
Traits§
- Layered
Theme - Trait for layered themes