Skip to main content

syntax_palette

Function syntax_palette 

Source
pub fn syntax_palette(theme: &ThemeConfig) -> Palette
Expand description

The syntax-highlighting palette for the configured theme. Custom main.css mode is assumed dark (the shipped default); Omarchy mode maps the active theme’s colors so highlighting matches the panel. Falls back to the dark default when no theme can be read.