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 variables don't work in version 13 minified on CDN #290

Open
tyler-vs opened this issue Mar 5, 2024 · 1 comment
Open

CSS variables don't work in version 13 minified on CDN #290

tyler-vs opened this issue Mar 5, 2024 · 1 comment
Labels

Comments

@tyler-vs
Copy link

tyler-vs commented Mar 5, 2024

This affects button styles, ect.

I reduced the test case on the following pen: https://codepen.io/tvs/pen/LYvVqQY

Error seen in DevTools:

Screenshot 2024-03-05 at 10 11 09 AM

If you copy and paste the minified file in a Text Editor it will show a hidden character before :root in the file. It looks like <0xfeff>.

Screenshot 2024-03-05 at 10 11 49 AM
@cferdinandi
Copy link
Owner

Oh weird! Thanks for this!

@cferdinandi cferdinandi added the bug label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants