1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! Theme types for the `zest` GUI framework.
//!
//! Mirrors libcosmic's grouped structure:
//!
//! - [`Container<C>`] holds colors for a region (background, foreground,
//! divider) — used for [`Theme::background`], [`Theme::primary`],
//! [`Theme::secondary`].
//! - [`Component<C>`] holds the four-state colors for an interactive
//! element (base, hovered, pressed, focused) plus a foreground color
//! for content drawn on top — used for [`Theme::accent`],
//! [`Theme::button`], [`Theme::destructive`], etc.
//! - [`Palette<C>`] holds the named primitive colors (neutral_0 through
//! neutral_10, accent_blue, etc.) the theme is derived from.
//! - [`Spacing`] holds the design-system spacing scale (space_xs through
//! space_xxxl).
//! - [`CornerRadii`] holds the corner-radius scale (radius_xs through
//! radius_xl).
//!
//! `Theme<'a, C>` is generic over a
//! [`embedded_graphics::pixelcolor::PixelColor`] and a lifetime for
//! font references (which are typically `&'static MonoFont<'static>`).
pub use Component;
pub use Container;
pub use convert_theme;
pub use CornerRadii;
pub use ;
pub use Palette;
pub use Spacing;
pub use ;
pub use Theme;
pub use Typography;