macrowind

Crates.iomacrowind
lib.rsmacrowind
version0.1.1
sourcesrc
created_at2022-03-05 10:36:33.027927
updated_at2022-03-05 11:22:44.908723
descriptionTailwind translater at compile time
homepage
repositoryhttps://github.com/oovm/tailwind-rs
max_upload_size
id543954
size3,239
SasakiSaki (oovm)

documentation

https://docs.rs/macrowind

README

Generate css at compile time

[dev-dependencies]
macrowind = "0.1.*"
pub use macrowind::*;

#[test]
fn test() {
    let (_class, style) = macrowind::tw!("inset-1 mt-2");
    println!("style: {}", style);

    let (class, style) = macrowind::tw!("container");
    println!("class: {}", class);
    println!("style: {}", style);
}
Commit count: 320

cargo fmt