encre-css 0.21.0

A TailwindCSS-compatible utility-first CSS generation library written in Rust
Documentation
#![doc = include_str!("README.md")]
#![doc(alias = "transform")]
use crate::prelude::build_plugin::*;

pub(crate) const PLUGIN: StaticPlugin = Plugin::ListValues(ListValues {
    prop: SingleProp("transform-origin"),
    values: map! {
        "origin-bottom" => "bottom",
        "origin-center" => "center",
        "origin-left" => "left",
        "origin-bottom-left" => "bottom left",
        "origin-top-left" => "top left",
        "origin-right" => "right",
        "origin-bottom-right" => "bottom right",
        "origin-top-right" => "top right",
        "origin-top" => "top",
    },
    ..ListValues::default()
});

pub(crate) const PLUGIN_ARBITRARY: StaticPlugin = Plugin::Arbitrary(Arbitrary {
    namespace: "origin",
    prop: SingleProp("transform-origin"),
    ..Arbitrary::default()
});