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

Feature: Use the Color Scheme customisation option #14

Open
mickimnet opened this issue Jan 31, 2019 · 2 comments
Open

Feature: Use the Color Scheme customisation option #14

mickimnet opened this issue Jan 31, 2019 · 2 comments

Comments

@mickimnet
Copy link

Hello Germán,

first let me express my gratitude, that you picked up the old Color Highlighter plugin and extended it. Love it very much, especially the possibility to see colours in other filet types (e. g. Markdown).

I'm currently in the progress of rewriting my colour scheme and while I love to see the color values, it's kind of distracting to have the ColorHighlight additions written in my .sublime-color-scheme file, while I'm writing it … 😉

Sublime Text has a feature to "customize a color scheme by overriding variables or globals, and adding rules" by creating "a new file with the same filename as the color scheme, but" saving "it in the Packages/User/ directory". That way any original color scheme files stay the same as they are and your needed scopes & rules would be easy to use. (for more information see Sublime Texts Color Scheme Documentation).

Thanks for considering and take care
Mick

@Kronuz
Copy link
Owner

Kronuz commented Feb 1, 2019

This is interesting... instead of modifying the original, one can modify one file in Packages/User/? I'll try that to see how it works.

Do files in User Directory need to be always JSON or in the same type as the original?

If you can, please add a pull request... it may be some time before I can dig into this, I’ve been way too busy lately.

@braver
Copy link

braver commented Mar 10, 2019

Do files in User Directory need to be always JSON or in the same type as the original?

You can override/extend tmTheme color schemes using the new JSON format.

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

3 participants