-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
I would like to be able to edit the colors from a JSON file. It would be nice if it could be fully customized. (the most important things)
Example: (this example is taken from One Dark Pro, cropped example)
{
"tokenColors": [
{
"scope": "meta.embedded",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "unison punctuation",
"scope": "punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "haskell variable generic-type",
"scope": "variable.other.generic-type.haskell",
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "haskell storage type",
"scope": "storage.type.haskell",
"settings": {
"foreground": "#d19a66"
}
},
{
"name": "support.variable.magic.python",
"scope": "support.variable.magic.python",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "punctuation.separator.parameters.python",
"scope": "punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "variable.parameter.function.language.special.self.python",
"scope": "variable.parameter.function.language.special.self.python",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "variable.parameter.function.language.special.cls.python",
"scope": "variable.parameter.function.language.special.cls.python",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "storage.modifier.lifetime.rust",
"scope": "storage.modifier.lifetime.rust",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "support.function.std.rust",
"scope": "support.function.std.rust",
"settings": {
"foreground": "#61afef"
}
},
{
"name": "entity.name.lifetime.rust",
"scope": "entity.name.lifetime.rust",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "variable.language.rust",
"scope": "variable.language.rust",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "support.constant.edge",
"scope": "support.constant.edge",
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "regexp constant character-class",
"scope": "constant.other.character-class.regexp",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "keyword.operator",
"scope": [
"keyword.operator.word"
],
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "regexp operator.quantifier",
"scope": "keyword.operator.quantifier.regexp",
"settings": {
"foreground": "#d19a66"
}
},
{
"name": "Text",
"scope": "variable.parameter.function",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "Comment Markup Link",
"scope": "comment markup.link",
"settings": {
"foreground": "#5c6370"
}
},
{
"name": "markup diff",
"scope": "markup.changed.diff",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "diff",
"scope": "meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff",
"settings": {
"foreground": "#61afef"
}
},
{
"name": "inserted.diff",
"scope": "markup.inserted.diff",
"settings": {
"foreground": "#98c379"
}
},
{
"name": "deleted.diff",
"scope": "markup.deleted.diff",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "c++ function",
"scope": "meta.function.c,meta.function.cpp",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "c++ block",
"scope": "punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "js/ts punctuation separator key-value",
"scope": "punctuation.separator.key-value",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "js/ts import keyword",
"scope": "keyword.operator.expression.import",
"settings": {
"foreground": "#61afef"
}
},
{
"name": "math js/ts",
"scope": "support.constant.math",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "math property js/ts",
"scope": "support.constant.property.math",
"settings": {
"foreground": "#d19a66"
}
},
{
"name": "js/ts variable.other.constant",
"scope": "variable.other.constant",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "java type",
"scope": [
"storage.type.annotation.java",
"storage.type.object.array.java"
],
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "java source",
"scope": "source.java",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "java modifier.import",
"scope": "punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java",
"settings": {
"foreground": "#abb2bf"
}
},
{
"name": "java modifier.import",
"scope": "meta.method.java",
"settings": {
"foreground": "#61afef"
}
},
{
"name": "java modifier.import",
"scope": "storage.modifier.import.java,storage.type.java,storage.type.generic.java",
"settings": {
"foreground": "#e5c07b"
}
},
{
"name": "java instanceof",
"scope": "keyword.operator.instanceof.java",
"settings": {
"foreground": "#c678dd"
}
},
{
"name": "java variable.name",
"scope": "meta.definition.variable.name.java",
"settings": {
"foreground": "#e06c75"
}
},
{
"name": "operator logical",
"scope": "keyword.operator.logical",
"settings": {
"foreground": "#56b6c2"
}
},
{
"name": "operator bitwise",
"scope": "keyword.operator.bitwise",
"settings": {
"foreground": "#56b6c2"
}
},
{
"name": "operator channel",
"scope": "keyword.operator.channel",
"settings": {
"foreground": "#56b6c2"
}
},
{
"name": "support.constant.property-value.scss",
"scope": "support.constant.property-value.scss,support.constant.property-value.css",
"settings": {
"foreground": "#d19a66"
}
},
{
"name": "CSS/SCSS/LESS Operators",
"scope": "keyword.operator.css,keyword.operator.scss,keyword.operator.less",
"settings": {
"foreground": "#56b6c2"
}
},
{
"name": "css color standard name",
"scope": "support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss",
"settings": {
"foreground": "#d19a66"
}
},
],
"colors": {
"actionBar.toggledBackground": "#525761",
"activityBar.background": "#282c34",
"activityBar.foreground": "#d7dae0",
"activityBarBadge.background": "#4d78cc",
"activityBarBadge.foreground": "#f8fafd",
"badge.background": "#282c34",
"button.background": "#404754",
"button.secondaryBackground": "#30333d",
"button.secondaryForeground": "#c0bdbd",
"checkbox.border": "#404754",
"debugToolBar.background": "#21252b",
"descriptionForeground": "#abb2bf",
"diffEditor.insertedTextBackground": "#00809b33",
"dropdown.background": "#21252b",
"dropdown.border": "#21252b",
"editor.background": "#282c34",
"editor.findMatchBackground": "#d19a6644",
"editor.findMatchBorder": "#ffffff5a",
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels