-
Notifications
You must be signed in to change notification settings - Fork 16
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
Weird coloring and @apply
issues in SCSS files (or in Vue SFCs)
#114
Comments
can you try to add following in your VS Code Editor Settings
|
Nope, didn't work. |
675ce75 should fix this. try v0.16.3 |
Yep, it looks fine in SFCs Edit: Using |
@eggsy if you talk about issue in functionality of actual usage it might be wrong repo to have this issue. If you are talking about bug in VS Code Extension it is correct. Not sure what you mean? |
ok, so maybe please open for the second part an additional issue. It confused me sorry |
/cc @voorjaar not sure if that is indented, but it seems .scss files are not quite working yet |
@eggsy you checked the includeLanguages setting?
|
@alexanderniebuhr didn't fix it. I don't know if that's the right config though, it says |
It's just an example config, cause that setting supports more stuff now |
v0.16.6 should fix all problems, try it please. |
just going to close since there was no much activity lately, if some issue still exists please reopen a new issue |
Here's my repo, you can see that I have
src/stylesheets/scrollbar.scss
that is imported within aroot.scss
file in the same directory, and I import that root in mynuxt.config.js
>css
. When I tried using Windi classes (with@apply
), it didn't work in those files (you can check blame to see how I switched to variables instead). This only happens for external SCSS files. I tried some methods, putting that directory inincludes
ofwindi.config.js
but no luck there either.There's also another issue with
@apply
in both external files and in SFC style tags. They're not colored, which makes it look like it's not a part of the code. I don't think it's because of my VSC theme (I use Dracula) because, before the switch from Tailwind's official extension, they were all colored with no problems.You see that the coloring of
@apply
is missing and all classes look weird. You can see here how it was when using Tailwind's extension).🌟 One idea!
One thing I always cried about Tailwind's extension is that it wasn't able to sort classes in
@apply
. It's not important but it'd be amazing to see this in Windi's extension! If this is possible, I can create a different issue for this!The text was updated successfully, but these errors were encountered: