oderwat / vscode-indent-rainbow

Extension which shows indentation with a faint rainbow colored background to make them more readable
MIT License
419 stars 58 forks source link

Feature Request: use background instead of backgroundColor #58

Closed walston closed 4 years ago

walston commented 5 years ago

I wanted to use a gradient background to fade from solid to transparent, but since you're using backgroundColor it does not accept gradients.

Would it be possible to switch to using just background?

ijoel92 commented 4 years ago

You can change the transparency in the rgba formula

"indentRainbow.colors": [ "rgba(127,255,127,0.6)", "rgba(127,255,127,0.4)", "rgba(127,255,127,0.25)", "rgba(127,255,127,0.15)" ]

gbrunow commented 4 years ago

@walston That would actually be great! However, I just check and the vscode API doesn't allow that. This issue could be closed.