Crates.io | macrowind |
lib.rs | macrowind |
version | 0.1.1 |
source | src |
created_at | 2022-03-05 10:36:33.027927 |
updated_at | 2022-03-05 11:22:44.908723 |
description | Tailwind translater at compile time |
homepage | |
repository | https://github.com/oovm/tailwind-rs |
max_upload_size | |
id | 543954 |
size | 3,239 |
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);
}