CSSLint / csslint

Automated linting of Cascading Stylesheets
http://csslint.net
Other
4.76k stars 483 forks source link

Missing color #717

Closed WraithKenny closed 6 years ago

WraithKenny commented 6 years ago

The CSS color rebeccapurple is missing.

toptalo commented 6 years ago

This color is not described in current specification: CSS Color Module Level 3 [Recommendation] This color is from future: CSS Color Module Level 4 [Editor’s Draft]

Did not know should we add it today or it will be better to wait while CSS Color Module Level 4 becomes at least a Working Draft.

WraithKenny commented 6 years ago

I don't know about adopting all of level 4 yet (8-digit hex, new functions, etc.), that'd be up to you, but I think adopting the single new color wouldn't hurt anything, as everyone else has already supported it.

frvge commented 6 years ago

We have to wait for the new version of parser-lib to be released, but besides that it's done thanks to @toptalo .

WraithKenny commented 6 years ago

I think that fixed a few other slightly off colors, but didn't add rebeccapurple tho.

frvge commented 6 years ago

I just merged @toptalo 's new PR with rebeccapurple to parser-lib. You'd have to build your own version of csslint based on parser-lib's master version if you want to use it. Unfortunately I can't do releases.