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

OKLCH support in css() #325

Open
oskarkrawczyk opened this issue Feb 3, 2024 · 5 comments
Open

OKLCH support in css() #325

oskarkrawczyk opened this issue Feb 3, 2024 · 5 comments

Comments

@oskarkrawczyk
Copy link

Right now the css() method only supports two modes of generating a CSS string, rgb and hsl – would it be possible to provide additional types, like oklch?

@regorxxx
Copy link

regorxxx commented Feb 4, 2024

See this #321

@oskarkrawczyk
Copy link
Author

See this #321

Thanks, I had a look but it seems the CSS method still only supports three modes of output: hex, rgb, hsl.

@regorxxx
Copy link

regorxxx commented Feb 4, 2024

I'm just pointing you to open issues to maintained forks, not here.

regorxxx added a commit to regorxxx/chroma.js that referenced this issue Feb 5, 2024
gka#325)

Signed-off-by: regorxxx <regorxxx@protonmail.com>
@regorxxx
Copy link

regorxxx commented Feb 5, 2024

Have updated the methods to support it.

@oskarkrawczyk
Copy link
Author

@regorxxx wow, that's really great! I'm switching to your fork

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