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

CSS optimisation, wrong hex when rgb #680

Open
kokers opened this issue Jun 11, 2024 · 1 comment
Open

CSS optimisation, wrong hex when rgb #680

kokers opened this issue Jun 11, 2024 · 1 comment

Comments

@kokers
Copy link
Contributor

kokers commented Jun 11, 2024

You can write colors in rgb(223 223 223) (without the , now) and this is correct (the coma is the legacy one) but during optimization it swaps rgb to hex, but only the first number and ignoring the rest. So the rgb(223 223 223) becomes #df which is incorrect. Not sure how it treats the / alpha values. But rgb definition changed, and during css optimization it breaks.

Current rgb css syntax https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb

@timotei-litespeed
Copy link
Contributor

Thank you for the bug report. We will fix it in a future release.

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