macro_rules! style { ($($key:literal : $value:expr),* $(,)? ) => { ... }; }
let style: CssProperties = style! { "margin": "10px auto", "paddingTop": 8, };
Currently there is no static type checking with this macro.