Skip to main content

register_builtins

Function register_builtins 

Source
pub fn register_builtins(reg: &dyn ThemeRegistry)
Expand description

Register every core element with its palette-referencing default. Idempotent (safe to call once at boot). The defaults reproduce today’s Theme::default() + syntax_style() values exactly — the resolved table is byte-identical to the legacy literals (the parity pin), while every color goes through the palette.