stylist_tailwind_core/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod components;

macro_rules! combine_classes {
    ( $( $x:expr ),* ) => {
        {
            let mut map: HashMap<&'static str, &'static str> = HashMap::new();
            $(
                for (key, value) in $x.into_iter() {
                    map.insert(key, value);
                }
            )*
            map
        }
    }
}

pub(crate) use combine_classes;