Skip to content
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

Feature request: parse sass functions for colors #75

Open
talamaska opened this issue Sep 15, 2017 · 10 comments
Open

Feature request: parse sass functions for colors #75

talamaska opened this issue Sep 15, 2017 · 10 comments

Comments

@talamaska
Copy link

Hi, I have activated the experimental feature 'activate_variables_support_beta'
So far it works as expected. I use quite a lot the sass function for generating new colors like darken, lighten, saturate, desaturate , adjust-hue, tint, shade and of course rgba in form rgba($base-color, 0.7).
Would it be possible to actually display the generated colors? The integrated color previewer in VS code doesn't understand the variable value and show black. obviously there is a syntax difference from sass rgba and css rgba, would it be possible to change the behavior according to the syntax?

@KamiKillertO KamiKillertO added this to the v0.8.0 milestone Sep 15, 2017
@KamiKillertO
Copy link
Owner

I've planned to support sass, less, stylus... function. But it will be later for now I'm focused on variables support

@talamaska
Copy link
Author

thanks

@cj81499
Copy link

cj81499 commented Apr 27, 2018

Just to be clear, this is talking about things like this?

image

@KamiKillertO
Copy link
Owner

Yes

@cj81499
Copy link

cj81499 commented Apr 27, 2018

Okay. Any idea when this might be implemented? I'd really love it as a feature.

@KamiKillertO
Copy link
Owner

Not really, I'm still working on variables support I've still some things to do 😞.
But if you have any idea about how integrate it you can still make a PR 😉.

@KamiKillertO KamiKillertO modified the milestones: v0.8.0, v0.9.0 Oct 10, 2018
@Arkkimaagi
Copy link

Arkkimaagi commented Mar 27, 2019

How about starting with support for rgba?

image

I'd imagine adding this support should be simple as it's only adding alpha value to the color. :)

@ninthart
Copy link

ninthart commented Sep 2, 2019

Is there any news on this? It's the one thing I really miss from Atom's Pigments extension…

@racha
Copy link

racha commented Mar 8, 2020

Literally only thing in the way of me switching to VS Code.... Please add support for those so it looks like this

image

Also minimap colors would be amazing

@KamiKillertO KamiKillertO removed this from the v0.9.0 milestone Mar 22, 2021
@mrleblanc101
Copy link

Any update on this ?
I was using enyancc/vscode-ext-color-highlight before, but it doesn't support variable.
Now I switched to KamiKillertO/vscode-colorize but it doesn't support functions.
Seem like both worked fine in Atom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants