@ueberbit/postcss

0.3.8 • 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @ueberbit/postcss

Weekly Downloads

2

Version

0.3.8

License

none

Unpacked Size

3.26 kB

Total Files

8

Last publish

Collaborators

  • woldtwerk