pliego-css 0.1.0-rc.2

Utility-first styling compiler for Rust and PliegoRS
Documentation
1
2
3
4
5
6
7
8
9
10
11
use pliego_css::{Style, pc};

fn main() {
    let styles: [Style; 4] = [
        pc!("flex items-center gap-4"),
        pc!("grid-cols-[1fr 300px]"),
        pc!("bg-[oklch(62% 0.2 25)]"),
        pc!("hover:[mask-type:alpha]"),
    ];
    assert_eq!(styles.len(), 4);
}