Skip to main content

Module scheme

Module scheme 

Source
Expand description

What the user picks about appearance: the colour scheme family, the light/dark mode, and the bundled typeface. Pure choices — how they are persisted, and how the typeface is installed with the host, belong to the shell.

Enums§

FontChoice
The four bundled UI fonts. Each maps to an embedded face (see FontChoice::bytes) and a family name used both to install it with the host and to preview the menu entry in its own typeface.
Mode
Whether to use a scheme’s light or dark variant. System follows the OS light/dark preference. The glyphs are the ones a theme switcher conventionally shows (☀ / 🌙 / 💻).
Scheme
A color scheme family. Every scheme has both a dark and a light variant, so the Mode chooses which one is shown. Values are the canonical tinted-theming base16 palettes.