2 releases
0.1.1 | Mar 5, 2022 |
---|---|
0.1.0 | Mar 5, 2022 |
#2347 in Procedural macros
435KB
11K
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
~79K SLoC