[BUG] error: unknown @ rule (@charset)
Checklist before submitting an issue
- [X] I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
- [X] I have specifically verified that this bug is not a common user error
- [X] I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)
Description of the bug
While using eww, an error occurred in the @charset "utf-8"; code that I did not write. This code is not in the actual scss file, and I opened this issue because I thought it was a bug inside eww.
Reproducing the issue
- Write the scss file and save the file.
Expected behaviour
The eww widget must be styled.
Additional context
My scss file (line 1, column 1)
Error log in eww
I get the same error. Minimal configuration: Almost an empty scss file and one component.
So, after trying a lot, i found out that one of my files contained the character é as a comment. When removing it, i don't get the error anymore
For me, it was a ─.
The fact that your whole SCSS can fail because of a character in a comment... mh.
/* X─Y button icons and their text actions */
.button-hint {
margin-top: 1em;
padding-top: 0.8em;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}