parse/
parse.rs

1
2
3
4
5
6
7
8
9
use wireman_theme::{Config, Theme};

fn main() {
    let file = String::from("assets/default.toml");
    Theme::init(&Config::new(Some(file)));

    let theme = Theme::global();
    println!("Theme: {:?}", theme.base);
}