Expand description
The top-level theme document: metadata, fonts block and per-mode slots.
This is the runtime representation of a fully parsed theme.json,
and the single source of truth for the active theme — installed via
super::set_active_document and read back via
super::active_document.
§Modes
fonts is shared between light and dark and only what actually differs
— slot tables, wallpaper paths, optional window-controls overrides — is
nested under modes.light / modes.dark.
Structs§
- Per-variant content: the slot table plus the surfaces that don’t fit cleanly in slots (wallpaper image, window-controls payload).
- A fully parsed theme, as loaded from a
theme.jsonon disk.