Skip to main content

muted_for_current_theme

Function muted_for_current_theme 

Source
pub fn muted_for_current_theme() -> Color
Expand description

Resolve the muted shade for the active palette.

Light theme → MUTED_LIGHT (SGR 90, dark gray on white). Dark theme → MUTED_DARK (SGR 37, light gray on dark).

Routed through this fn rather than a const so role lookups pick up live theme switches (auto-detect at startup + future /theme slash command) without restart.