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

Support all of the CSS color formats #45

Open
joaodasilva opened this issue Jan 14, 2022 · 0 comments
Open

Support all of the CSS color formats #45

joaodasilva opened this issue Jan 14, 2022 · 0 comments
Labels
api good first issue Good for newcomers help wanted Extra attention is needed

Comments

@joaodasilva
Copy link
Contributor

Properties like canvas.fillStyle can be set to CSS color values:

https://windowjs.org/doc/canvas#canvas.fillStyle

However, a lot of the valid CSS color values aren't supported:

https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

For example: HSL, lab, using system color names, etc.

This should be added to src/css.cc in CSSColorToSkColor.

@joaodasilva joaodasilva added api good first issue Good for newcomers help wanted Extra attention is needed labels Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant