maud-extensions 0.6.6

Component, inline CSS/JS, and font helper macros for Maud views.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use maud_extensions::css;

fn main() {
    let _ = css! {
        raw!(r#":root { --font-display: 'Newsreader', Georgia, serif; }"#)
    };

    let _ = css! {
        raw!(r#"[data-theme='light'] { color-scheme: light; }"#)
    };
}