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

lowering for oklch does not work when using numeric or mixed values #809

Open
mayank99 opened this issue Sep 16, 2024 · 0 comments
Open

Comments

@mayank99
Copy link
Contributor

Currently, lightningcss lowers the following correctly (albeit with an unnecessary conversion from oklch to lab):

--color-1: oklch(100% none none);
--color-2: oklch(100% 0 0);

Whereas the following are ignored completely:

--color-3: oklch(1 0 0);
--color-4: oklch(100% 0% 0deg);

See playground.

I came across a similar issue (#445) which was closed by 835e5bc, but it doesn't work in the latest version.

@mayank99 mayank99 changed the title lowering for oklch does not work when using numeric values lowering for oklch does not work when using numeric or mixed values Sep 16, 2024
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