tabler / tabler-icons

A set of over 5500 free MIT-licensed high-quality SVG icons for you to use in your web projects.
https://tabler.io/icons
MIT License
18.03k stars 899 forks source link

fix: Added non-ascii comment to make sass include css charset #857

Closed squishyu closed 7 months ago

squishyu commented 12 months ago

Related to #843 - apparently the SASS compiler ignores the @charset rule if the output CSS file doesn't include non-ascii characters.

All the unicode characters in the CSS files are escaped, so SASS doesn't see them:

.ti-12-hours:before {
  content: "\fc53";
}

Including a comment with a non-ascii character forces sass to include it: non-ascii comment

charset the the beginning of the file

vercel[bot] commented 12 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
tabler-icons ✅ Ready (Inspect) Visit Preview Oct 2, 2023 0:58am