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

Variable names matching color keywords discarded #4

Open
extra808 opened this issue Apr 18, 2022 · 1 comment
Open

Variable names matching color keywords discarded #4

extra808 opened this issue Apr 18, 2022 · 1 comment

Comments

@extra808
Copy link

I love the tool's ability to accept pasted in CSS custom properties and Sass variables and to display them in the table output; the string: color format can be used for including names for colors even if those names aren't used as variables.

I've found if the string to the left of the colon matches a CSS color keyword (white, black, crimson, chocolate, etc.) it is not in the table output or in the URL. It would be better if the color name was preserved.

@mherchel
Copy link
Owner

Thats a good point. I currently check to see if any of the values are colors (and assign it to the color output). If the variable name is a keyword, it'll match. I'll see if I can find a work around.

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

2 participants