Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False collisions with gradiated color scheme #57

Open
joefiorini opened this issue Oct 2, 2018 · 0 comments
Open

False collisions with gradiated color scheme #57

joefiorini opened this issue Oct 2, 2018 · 0 comments

Comments

@joefiorini
Copy link

We have an app that uses hsl and postcss-color-mod to define custom properties with varying lightnesses of our brand colors. I was hoping to use this library to detect duplications of these colors, but it seems that all of the hsl values conflict with each other (ie. a bunch of hsl(197.8, 100%, 74%) collides with hsl(197.8, 100%, 69%) warnings in the file that defines the color scheme properties. It would be nice if there was a way to ignore these. I tried to put a couple of them in the whitelist but that didn't work. The only way was to bump the tolerance up to 75, but that seems a bit nuts. Anyone dealt with this before? Thoughts on getting past it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant