Sublime-Colorcoder
Sublime-Colorcoder copied to clipboard
Improved palette?
Hi vprimachenko. I use your plugin every day. I've used it ever since I had the idea (mysel, I might add, however I never posted about it online unlike Evan Brooks) of coding in color, at Google, in 2014.
I have a question for you and I'd probably be willing to contribute the implementation: Do you suppose it's possible to improve the palette, that is, the colors being used? I have a feeling there could be a few more colors.
I should add, that it's extremely impressive how you've managed to write a Sublime Text extension. I seriously do not understand how one would go about doing that, how one would figure out what symbols are available.
You can see my tweaks for color generation at https://github.com/dungsaga/Sublime-Colorcoder/tree/hls-color-tweak (using lambda lightness_fn and saturation_fn) and at https://github.com/dungsaga/Sublime-Colorcoder/tree/crc-tweak(using lambda weigh_fn).
There are 256 colors. I think it's enough, especially with dense code. But you can add more colors in function crc of class crc8.
You can also look at some good idea in extension Background Phi Colors for vscode
![Background Phi Colors]
(https://github.com/wraith13/background-phi-colors-vscode/raw/master/images/screenshot/demo.gif)