You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extending your point 2 by detecting all colors used in the current project and making a color palette out of it.
Naming colors present in the color palette. So one can type something like btn-hover (which is then suggested by Intellisense) and press enter rather than typing #43aaaa to get the color.
Dynamic coloring- A checkbox, when ticked and a color in the palette if changed, all of its occurrence in the project will be changed.
Reacted by prog110, James Gatz, zack, Eric Hiller, Yukai Huang, Imre Nagy, Igor Antun, Tyler Sebastian and Damian
Hi,
I expect this great feature, and I will do maintenance my "Color Picker" extension until this feature is added to VS Code.
And I hope that the feature supports customizing a format of an output, when picking a color or converting colors.
E.g. it allow us to choose 70% or 0.7. Also, FED or ffeedd, etc.
It would be really cool if VS Code understood your linter rules and defaulted to that format for colours if you have one specified. I could imagine this wouldn't be easy as there are more than one CSS linter.
CSS4 extends hex to be able to specify the alpha channel (4 and 8 digit hex). This may be nice to add but as it isn't well supported yet, maybe this would just encourage interop issues.
Where you specify both a colour and a background-colour in the same ruleset, it would be really brilliant if the colour picker warned (and maybe clamped the sliders) when the two colours don't meet the two recommended colour contrast ratios. You probably couldn't do it beyond the current ruleset as you don't know outside the browser what will get inherited like you can in F12, but at least it is something.
Reacted by Andrii Dieiev, Jens Hausdorf and prog110
Activity
ajitid commentedon Jun 20, 2017
With custom color palette and color converter too (RGB(A) <-> HEX <-> HSL and others) please :)
michelkaporin commentedon Jun 21, 2017
The initial plan is to have the following features (which could be extended going further):
Going further we could extend the picker with:
Let me know if you find something else very useful and that it is not on the list.
ajitid commentedon Jun 21, 2017
On "going further":
btn-hover(which is then suggested by Intellisense) and press enter rather than typing#43aaaato get the color.anseki commentedon Jul 5, 2017
Hi,
I expect this great feature, and I will do maintenance my "Color Picker" extension until this feature is added to VS Code.
And I hope that the feature supports customizing a format of an output, when picking a color or converting colors.
E.g. it allow us to choose
70%or0.7. Also,FEDorffeedd, etc.dstorey commentedon Jul 11, 2017
I like the plan.
Some additional ideas:
isidorn commentedon Aug 2, 2017
Michel Kaporin (@michelkaporin) has delivered color picker to master, you can try it out in vscode insiders.
Closing