@ueberbit/postcss

0.4.0 • Public • Published

@ueberbit/postcss

Plugins

stripcolor

This plugin adds the --strip-color prefix. It strips away the color function off the current declaration.

Usage:

:root {
  --my-color: hsl(357 72% 87%) --strip-color;
}

becomes:

:root {
  --my-color: 357 72% 87%;
}

This is essentially just for better readability in the editor, since colors without a color function is quite cryptic.

Usecases include theming with tailwind.

/@ueberbit/postcss/

    Package Sidebar

    Install

    npm i @ueberbit/postcss

    Weekly Downloads

    36

    Version

    0.4.0

    License

    none

    Unpacked Size

    3.26 kB

    Total Files

    8

    Last publish

    Collaborators

    • woldtwerk