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

Possible to add token color overrides? #63

Open
jmreicha opened this issue Sep 28, 2021 · 0 comments
Open

Possible to add token color overrides? #63

jmreicha opened this issue Sep 28, 2021 · 0 comments

Comments

@jmreicha
Copy link

Similar to the overrides option it would be nice to have an option to override individual tokens (or some other way to override arbitrary config).

For example, I have the following snippet in my settings.json to override my json separator token. It would be nice to be able to specify this in index.ts rather than a config in settings.json.

"editor.tokenColorCustomizations": {
    "textMateRules": [
        {
          "scope": "punctuation.separator.dictionary.key-value.json",
          "settings": {
            "foreground": "#f43753",
          }
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants