polished-css 0.1.0

Craft polished CSS in Rust following CSSWG standards. Achieve type-safety, modularity, atomicity, and ergonomic styling for front-end applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[macro_export]
macro_rules! test_atomic_property {
    ($property:ident, $name:expr) => {
        ::paste::paste! {
            assert_eq!(
                $crate::atomic::Atomic::atomic(
                    &$crate::property::$property($crate::property::[< $property Value >]::Initial)
                ),
                format!("{}[initial]", $name),
            );
        }
    };
}