Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved palette? #71

Open
ovikholt opened this issue Apr 13, 2020 · 2 comments
Open

Improved palette? #71

ovikholt opened this issue Apr 13, 2020 · 2 comments

Comments

@ovikholt
Copy link

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.

@ovikholt
Copy link
Author

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.

@dungsaga
Copy link

dungsaga commented May 7, 2020

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants