Skip to content

Possible to add token color overrides? #63

@jmreicha

Description

@jmreicha

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",
          }
        }
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions