cferdinandi / kraken

A lightweight, mobile-first boilerplate for front-end web developers.
http://cferdinandi.github.io/kraken
MIT License
806 stars 81 forks source link

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

Open tyler-vs opened 6 months ago

tyler-vs commented 6 months ago

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 commented 6 months ago

Oh weird! Thanks for this!