use tinty::{Scheme, Theme}; // load and apply a color scheme fn apply(name: &str) -> Option<Theme> { let scheme = Scheme::load(name)?; let theme = scheme.with_base(16).build(); theme.apply(); println!("applied: {}", theme.name()); Some(theme) }