2 releases

0.1.1 Mar 5, 2022
0.1.0 Mar 5, 2022

#2104 in Procedural macros

MPL-2.0 license

435KB
11K SLoC

Rust 9K SLoC // 0.0% comments Objective-C 2K SLoC

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);
}

Dependencies

~4MB
~80K SLoC