Skip to main content

default_syntax_theme

Function default_syntax_theme 

Source
pub fn default_syntax_theme() -> BTreeMap<String, String>
Expand description

Builds the built-in default syntax theme: capture-name → #rrggbb.

This is the frame-host binding seat’s fallback (IRIDIUM-A2 C5, 2026-07-21 amendment), used whenever [document].syntax_theme is not declared in frame.toml. The palette values are fixed at compile time and always well-formed #rrggbb hex, so this function cannot fail.