encre-css 0.21.0

A TailwindCSS-compatible utility-first CSS generation library written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![doc = include_str!("README.md")]
#![doc(alias = "typography")]
use crate::prelude::build_plugin::*;

pub(crate) const PLUGIN: StaticPlugin = Plugin::ListValues(ListValues {
    prop: SingleProp("vertical-align"),
    values: map! {
        "align-baseline" => "baseline",
        "align-top" => "top",
        "align-middle" => "middle",
        "align-bottom" => "bottom",
        "align-text-top" => "text-top",
        "align-text-bottom" => "text-bottom",
        "align-sub" => "sub",
        "align-super" => "super",
    },
    ..ListValues::default()
});