@ueberbit/postcss
v0.5.0-beta.28
Published
## Plugins
Downloads
101
Readme
@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.