PostCSS plugin Converts all spelling of grey to gray to avoid breaking CSS properties
MIT License
A PostCSS plugin to fix the spelling of the color "grey" to prevent breaking CSS.
Properties supported:
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!! */
}
Published on npm for convenience 💘
So go ahead and write grey the way you want to!