encre-css 0.21.1

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
#![doc = include_str!("README.md")]
#![doc(alias("background", "bg"))]
use crate::prelude::build_plugin::*;

pub(crate) const PLUGIN: StaticPlugin = Plugin::ListValues(ListValues {
    prop: SingleProp("background-repeat"),
    values: map! {
        "bg-repeat" => "repeat",
        "bg-no-repeat" => "no-repeat",
        "bg-repeat-x" => "repeat-x",
        "bg-repeat-y" => "repeat-y",
        "bg-repeat-round" => "round",
        "bg-repeat-space" => "space",
    },
    ..ListValues::default()
});