makeover 1.1.0

Shared theme loading for the make-family apps: TOML theme files parsed into intent-based color tokens, with perceptual derivations and WCAG contrast.
Documentation
1
2
3
4
5
6
7
8
fn main() {
    let id = std::env::args().nth(1).unwrap_or_else(|| "makenotwork".into());
    let dir = std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("..").join("themes");
    let t = makeover::load_semantic(&[(dir, false)], &id).unwrap();
    for (k, v) in &t.intents {
        println!("  --{k}: {v};");
    }
}