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

treat color keywords differently #58

Open
bartveneman opened this issue Feb 12, 2023 · 0 comments
Open

treat color keywords differently #58

bartveneman opened this issue Feb 12, 2023 · 0 comments

Comments

@bartveneman
Copy link
Member

bartveneman commented Feb 12, 2023

I think keywords like currentcolor, transparent, inherit should be handles differently than regular colors:

The keyword transparent specifies a transparent black. It is a type of named-color. https://www.w3.org/TR/css-color-4/#transparent-color

For ease of use we could resolve all other keywords to black as well (inherit, currentcolor).

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

No branches or pull requests

1 participant