postcss-graeys

0.0.0 • Public • Published

postcss-graeys

A PostCSS plugin to fix the spelling of the color "grey" to prevent breaking CSS.

Properties supported:

Examples:

Using grey as a color:

p {
  color: dimgrey;
}
p {
  color: dimgray;
}

Use a greyscale filter:

img {
  filter: brightness(1.2) greyscale(50%); // breaks things :(
}
img {
  filter: brightness(1.2) grayscale(50%); // yay!!
}

So go ahead and write grey the way you want to!

Package Sidebar

Install

npm i postcss-graeys

Weekly Downloads

0

Version

0.0.0

License

MIT

Last publish

Collaborators

  • una