Recipes
Generate CSS from a theme (Rust)
Generate linked CSS from a built-in Lumis theme in Rust.
use lumis::themes;
let theme = themes::get("catppuccin_latte").unwrap();
let css = themes::CssBuilder::new(&theme).build();Generate linked CSS from a built-in Lumis theme in Rust.
use lumis::themes;
let theme = themes::get("catppuccin_latte").unwrap();
let css = themes::CssBuilder::new(&theme).build();