Skip to main content

default_theme

Function default_theme 

Source
pub fn default_theme() -> Theme
Expand description

Return the bundled default dark Theme.

The theme is a minimal dark palette suitable as a fallback when no user theme file is found. It is embedded in the binary at compile time and always valid.

§Panics

Panics if the bundled TOML is malformed — this would be a compile-time error caught by cargo test.