Skip to main content

effective_id

Function effective_id 

Source
pub fn effective_id(
    id: ThemeId,
    follow_system: bool,
    system_dark: bool,
) -> ThemeId
Expand description

Resolve a theme against the system preference, keeping its family.

ยงExample

use crisol_core::theme::effective_id;