tabler-icons icon indicating copy to clipboard operation
tabler-icons copied to clipboard

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

Open squishyu opened this issue 1 year ago • 1 comments

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

squishyu avatar Oct 02 '23 12:10 squishyu

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

vercel[bot] avatar Oct 02 '23 12:10 vercel[bot]