anseki / vscode-color

Helper with GUI to generate color codes such as CSS color notations.
MIT License
97 stars 27 forks source link

[FEATURE] Support vscode preview color #63

Closed dotnetCarpenter closed 6 years ago

dotnetCarpenter commented 6 years ago

Would it be possible to support the little color preview box in front of the color for color systems not supported by vscode? With Color Picker we can choose HSLA colors, which is great, but since vscode doesn't support showing HSLA colors, the little preview box is always black which is confusing.

screen shot 2017-11-13 at 15 46 52

Steps to Reproduce:

  1. Open a .css file
  2. Use the Color Picker to choose a color and choose HSLA
  3. Observe that the small color preview box is always black
anseki commented 6 years ago

Hi @dotnetCarpenter, thank you for the comment.

That color preview box is shown by VS Code. And any API to do something about the box is not supported by current version of VS Code. Therefore, unfortunately, we can do nothing now. If you want it, you should request that to VS Code team.

dotnetCarpenter commented 6 years ago

In fact I think it's a bug.. I've posted an issue over at vscode.

anseki commented 6 years ago

😄