-
Notifications
You must be signed in to change notification settings - Fork 37
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
VSCode-Colorize not working for renamed and prefixed SCSS/SASS variables #813
Comments
With lighter / darker i have similar problems @use 'colors/ci';
$notify_orange: ci.$darkorange; /*colored*/
$notify_orange_light_0: lighten($notify_orange/*NOT colored*/, 25%);
$notify_orange_light_1: lighten(orange/*colored*/, 25%);
$tmp_0: $notify_orange_light; /*NOT colored*/;
$tmp_1: $notify_orange_light_1; /*NOT colored*/; |
Same here. In Atom I am able to do this (with the "pigments" package enabled): And then reassign the variables to other ones: They convert even to RGBA: Without this it's really hard to switch to VSC.. It seems there is no other plugin which is able to follow color variables and functions so im posting this here. |
Same here. Atom was great showing the color variants. This is my biggest hangup switching from Atom to VS code. For example, these don't show the color when the variables are used elsewhere. Only the initial one works If there is a workaround, without having to set an actual hex for each variant, I'd like to know. |
@krsbrown Until now I'm still developing with atom for that one reason. If this would work I'd switch immediately. |
Support for variables is still limited right now. I'm working on a new version that will rely on language server and should make it possible to support this |
I've been using Colorize for a long time. I have a real problem with using this practical extension when renaming SCSS variables or when I use (@forward "...path" as color-*;).
in _colors.scss:
in _variables.scss:
following call of variable works with Colorize extension:
but following methods do not work at all:
or when rename the variables again.
Best regards.
The text was updated successfully, but these errors were encountered: