johnpapa / vscode-peacock

Subtly change the color of your Visual Studio Code workspace. Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.
MIT License
1.03k stars 115 forks source link

Support for gradient #497

Closed d4nielix closed 2 years ago

d4nielix commented 2 years ago

Hi, like someone requested two years ago: https://github.com/johnpapa/vscode-peacock/issues/338 , I would like to ask for a gradient support. Maybe it is possible in current VSC version.

EDIT: also maybe there is a possibility to add alpha parameter - number between 0.0 (fully transparent) and 1.0 (fully opaque), because I feel that some colors are too distracting.

johnpapa commented 2 years ago

Thank you @d4nielix for creating this issue!

willpower232 commented 2 years ago

vscode does support an alpha channel which is good for personal customisations but I'm not sure how that could fit sensibly into whatever algorithm peacock uses

https://code.visualstudio.com/api/references/theme-color

johnpapa commented 2 years ago

Currently there is no support for a gradient , for example, in the activityBar given the VS Code API.

See duplicate of #338