Skip to main content

Module theme

Module theme 

Source
Expand description

Installed look: palette, typography, frames, and per-widget visuals.

Construct with Theme::new, then Theme::install so custom widgets can read visuals from egui::Context. Theme::current reads that stored copy (or falls back to Tokyo Night).

Built-in palettes live in crate::themes. Slot roles are documented in the crate docs/theme.md.

Structs§

Theme
Complete look: colors, typography, frames, and widget visuals.
ThemeColors
This is the color palette of the theme
ThemeVisuals
Theme visuals
Typography
Font sizes in points.

Enums§

ThemeKind
Built-in palette. See each variant for the source look.