Skip to main content

theme_for_terminal_scheme_change

Function theme_for_terminal_scheme_change 

Source
pub fn theme_for_terminal_scheme_change(
    current_theme_id: &str,
    dark: bool,
) -> &'static str
Expand description

Pick the theme to apply after a terminal light/dark scheme change.

Prefers a light/dark twin from the same suite as current_theme_id so suite-aware themes stay within their family; falls back to suggest_theme_for_terminal for single-theme or custom selections.