1
Fork 0
mirror of https://github.com/Steffo99/steffula-code.git synced 2024-11-25 04:24:21 +00:00

Better and more colors!

This commit is contained in:
Steffo 2022-01-11 17:12:11 +01:00
parent 0acc9aea64
commit 01deb025b6
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -108,6 +108,16 @@
"foreground": "#505050", "foreground": "#505050",
} }
}, },
{
"name": "Comment marker",
"scope": [
"comment keyword.codetag",
],
"settings": {
"foreground": "#707070",
"fontStyle": "bold"
}
},
{ {
"name": "Keywords", "name": "Keywords",
"scope": [ "scope": [
@ -121,10 +131,12 @@
"entity.name.tag.js", "entity.name.tag.js",
"entity.name.tag.ts", "entity.name.tag.ts",
"support.class.component", "support.class.component",
"storage.modifier.java",
"storage.modifier.async", "storage.modifier.async",
"storage.modifier.pointer", "storage.modifier.pointer",
"storage.modifier.const", "storage.modifier.const",
"storage.modifier.static", "storage.modifier.static",
"storage.modifier.extends",
"storage.modifier.specifier.const", "storage.modifier.specifier.const",
"storage.modifier.specifier.static", "storage.modifier.specifier.static",
"storage.modifier.ts", "storage.modifier.ts",
@ -132,7 +144,9 @@
"storage.type.class", "storage.type.class",
"storage.type.function", "storage.type.function",
"storage.type.namespace", "storage.type.namespace",
"storage.type.struct",
"storage.type.rust", "storage.type.rust",
"storage.type.enum",
"storage.type.js", "storage.type.js",
"storage.type.jsx", "storage.type.jsx",
"storage.type.ts", "storage.type.ts",
@ -149,6 +163,7 @@
"storage.type.modifier.access.control.protected.cpp", "storage.type.modifier.access.control.protected.cpp",
"storage.type.modifier.access.control.private.cpp", "storage.type.modifier.access.control.private.cpp",
"constant.language.import-export-all", "constant.language.import-export-all",
"variable.language.wildcard",
], ],
"settings": { "settings": {
"foreground": "#ff9340", "foreground": "#ff9340",
@ -168,13 +183,16 @@
"punctuation.separator", "punctuation.separator",
"punctuation.comma", "punctuation.comma",
"punctuation.semi", "punctuation.semi",
"punctuation.bracket",
"meta.brace", "meta.brace",
"meta.tag.xml", "meta.tag.xml",
"meta.function.calc", "meta.function.calc",
"meta.environment-variable.ruby", "meta.environment-variable.ruby",
"storage.type.function.arrow", "storage.type.function.arrow",
"storage.modifier.reference", "storage.modifier.reference",
"storage.modifier.chomping-indicator" "storage.modifier.chomping-indicator",
"meta.directive.transaction.beancount meta.account.beancount punctuation.separator.beancount",
"meta.directive.dated.beancount meta.account.beancount punctuation.separator.beancount",
], ],
"settings": { "settings": {
"foreground": "#cc7832", "foreground": "#cc7832",
@ -187,9 +205,13 @@
"entity.name.namespace", "entity.name.namespace",
"entity.name.module", "entity.name.module",
"entity.name.scope-resolution", "entity.name.scope-resolution",
"meta.import variable.other.readwrite",
"storage.modifier.package",
"storage.modifier.import",
"constant.language.beancount",
], ],
"settings": { "settings": {
"foreground": "#ffbb44", "foreground": "#ffdd44",
} }
}, },
{ {
@ -202,11 +224,43 @@
"support.class", "support.class",
"keyword.type", "keyword.type",
"entity.other.inherited-class", "entity.other.inherited-class",
"entity.type.commodity",
], ],
"settings": { "settings": {
"foreground": "#88ffff", "foreground": "#88ffff",
} }
}, },
{
"name": "Class declaration",
"scope": [
"meta.class entity.name.type",
"meta.block.class entity.name.type.class",
"meta.block.struct entity.name.type.struct",
],
"settings": {
"foreground": "#00ffff",
"fontStyle": "bold",
}
},
{
"name": "Interface",
"scope": [
"entity.name.type.interface",
],
"settings": {
"foreground": "#88ff88",
},
},
{
"name": "Interface declaration",
"scope": [
"meta.interface entity.name.type.interface",
],
"settings": {
"foreground": "#00ff00",
"fontStyle": "bold"
}
},
{ {
"name": "Type alias", "name": "Type alias",
"scope": [ "scope": [
@ -216,6 +270,16 @@
"foreground": "#80ffd4", "foreground": "#80ffd4",
} }
}, },
{
"name": "Type alias declaration",
"scope": [
"meta.type.declaration entity.name.type.alias",
],
"settings": {
"foreground": "#00ffaa",
"fontStyle": "bold",
}
},
{ {
"name": "Function", "name": "Function",
"scope": [ "scope": [
@ -234,21 +298,52 @@
"entity.name.function.member", "entity.name.function.member",
"entity.name.variable.property.cs", "entity.name.variable.property.cs",
"entity.other.attribute-name.class.mixin", "entity.other.attribute-name.class.mixin",
"source.rst keyword.control",
], ],
"settings": { "settings": {
"foreground": "#e6e68a", "foreground": "#e6e68a",
} }
}, },
{
"name": "Function declaration",
"scope": [
"meta.function entity.name.function",
"meta.method.identifier entity.name.function",
"meta.definition.function entity.name.function.js",
"meta.definition.function entity.name.function.ts",
"meta.definition.function entity.name.function.jsx",
"meta.definition.function entity.name.function.tsx",
"meta.definition.variable entity.name.function.js",
"meta.definition.variable entity.name.function.ts",
"meta.definition.variable entity.name.function.jsx",
"meta.definition.variable entity.name.function.tsx",
],
"settings": {
"foreground": "#ffff00",
"fontStyle": "bold",
}
},
{ {
"name": "Enum", "name": "Enum",
"scope": [ "scope": [
"entity.name.type.enum", "entity.name.type.enum",
"entity.name.variable.enum-member", "entity.name.variable.enum-member",
"variable.other.enummember",
], ],
"settings": { "settings": {
"foreground": "#e8bfff", "foreground": "#e8bfff",
} }
}, },
{
"name": "Enum definition",
"scope": [
"meta.enum.declaration entity.name.type.enum",
],
"settings": {
"foreground": "#ca6fff",
"fontStyle": "bold",
}
},
{ {
"name": "Variable", "name": "Variable",
"scope": [ "scope": [
@ -258,9 +353,11 @@
"punctuation.definition.variable", "punctuation.definition.variable",
"meta.use", "meta.use",
"constant.other.caps", "constant.other.caps",
"meta.import meta.block variable.other.readwrite",
"source.rst entity.name.tag",
], ],
"settings": { "settings": {
"foreground": "#a9b7c6", "foreground": "#dcaf88",
} }
}, },
{ {
@ -286,7 +383,8 @@
"keyword.other.unit", "keyword.other.unit",
"support.type.builtin", "support.type.builtin",
"string.unquoted", "string.unquoted",
"entity.type.commodity", "meta.amount.beancount keyword.operator.modifier",
"support.constant",
], ],
"settings": { "settings": {
"foreground": "#6897bb", "foreground": "#6897bb",
@ -316,11 +414,42 @@
"scope": [ "scope": [
"string.quoted.docstring", "string.quoted.docstring",
"comment.block.documentation", "comment.block.documentation",
"comment.block.documentation punctuation.definition.comment",
"comment.block.javadoc",
"comment.block.javadoc punctuation.definition.comment",
], ],
"settings": { "settings": {
"foreground": "#629755", "foreground": "#629755",
} }
}, },
{
"name": "Doc-string keyword",
"scope": [
"storage.type.class.jsdoc",
"punctuation.definition.inline.tag.jsdoc",
"punctuation.definition.block.tag.jsdoc",
"keyword.other.phpdoc",
"keyword.other.documentation.javadoc",
],
"settings": {
"foreground": "#629755",
"fontStyle": "underline bold"
}
},
{
"name": "Doc-string variable",
"scope": [
"variable.other.jsdoc",
"variable.other.description.jsdoc",
"punctuation.definition.bracket.curly.begin.jsdoc",
"punctuation.definition.bracket.curly.end.jsdoc",
"comment.block.javadoc variable.parameter",
"comment.block.javadoc entity.name.type.class",
],
"settings": {
"foreground": "#8a653b",
}
},
{ {
"name": "String escape", "name": "String escape",
"scope": [ "scope": [
@ -335,8 +464,6 @@
"scope": [ "scope": [
"constant.character.format.placeholder", "constant.character.format.placeholder",
"entity.name.tag.mustache", "entity.name.tag.mustache",
"punctuation.definition.bracket.curly.begin.jsdoc",
"punctuation.definition.bracket.curly.end.jsdoc",
], ],
"settings": { "settings": {
"foreground": "#86ffff", "foreground": "#86ffff",
@ -347,10 +474,6 @@
"scope": [ "scope": [
"storage.type.format", "storage.type.format",
"storage.type.string.python", "storage.type.string.python",
"storage.type.class.jsdoc",
"punctuation.definition.inline.tag.jsdoc",
"punctuation.definition.block.tag.jsdoc",
"keyword.other.phpdoc",
], ],
"settings": { "settings": {
"foreground": "#597aff", "foreground": "#597aff",
@ -373,6 +496,7 @@
"variable.css", "variable.css",
"variable.parameter.function-call.python", "variable.parameter.function-call.python",
"constant.other.symbol.hashkey", "constant.other.symbol.hashkey",
"support.variable.beancount",
], ],
"settings": { "settings": {
"foreground": "#ff6736", "foreground": "#ff6736",
@ -389,9 +513,11 @@
"punctuation.definition.decorator", "punctuation.definition.decorator",
"comment.line.number-sign.shebang", "comment.line.number-sign.shebang",
"keyword.control.at-rule", "keyword.control.at-rule",
"keyword.control.at-rule punctuation.definition.keyword",
"keyword.control.directive", "keyword.control.directive",
"meta.preprocessor", "meta.preprocessor",
"punctuation.definition.directive", "punctuation.definition.directive",
"meta.function.decorator support.type"
], ],
"settings": { "settings": {
"foreground": "#bbb529", "foreground": "#bbb529",
@ -403,6 +529,7 @@
"name": "Heading", "name": "Heading",
"scope": [ "scope": [
"heading", "heading",
"markup.heading",
"punctuation.definition.heading", "punctuation.definition.heading",
], ],
"settings": { "settings": {
@ -442,6 +569,9 @@
"meta.link", "meta.link",
"meta.image", "meta.image",
"string.other.link", "string.other.link",
"punctuation.definition.string.begin.markdown",
"punctuation.definition.string.end.markdown",
"punctuation.definition.metadata.markdown",
], ],
"settings": { "settings": {
"foreground": "#00d0ff", "foreground": "#00d0ff",
@ -462,7 +592,9 @@
"name": "Code block", "name": "Code block",
"scope": [ "scope": [
"markup.fenced_code", "markup.fenced_code",
"punctuation.definition.markdown",
"markup.inline.raw", "markup.inline.raw",
"source.rst string.interpolated",
], ],
"settings": { "settings": {
"foreground": "#808080", "foreground": "#808080",
@ -540,9 +672,11 @@
"scope": [ "scope": [
"log.date", "log.date",
"constant.numeric.date", "constant.numeric.date",
"meta.directive.dated.beancount punctuation.separator",
"meta.directive.transaction.beancount punctuation.separator",
], ],
"settings": { "settings": {
"foreground": "#6897bb", "foreground": "#8a653b",
} }
}, },
@ -634,43 +768,5 @@
"foreground": "#ff5252", "foreground": "#ff5252",
} }
}, },
// Make things bold!
{
"name": "Bold",
"scope": [
"variable.account.beancount",
"string.quoted.tiers.beancount",
"support.function.beancount",
"support.function.directive.beancount",
"entity.name.type.class.cpp",
"entity.name.function.definition.cpp",
"entity.name.type.class.python",
"entity.name.function.python",
"support.function.magic.python",
"meta.tag.preprocessor.xml",
"entity.name.type.alias.ts",
"entity.name.type.alias.tsx",
"entity.name.type.interface.ts",
"entity.name.type.interface.tsx",
"meta.definition.function.js",
"meta.definition.function.jsx",
"meta.definition.function.ts",
"meta.definition.function.tsx",
"meta.selector.css",
"meta.attribute-selector.css",
"entity.name.tag.css",
"entity.other.attribute-name.class.css",
"entity.other.attribute-name.id.css",
"entity.other.attribute-name.pseudo-class.css",
"entity.other.attribute-name.pseudo-element.css",
"heading",
"meta.tag.metadata.doctype",
"meta.function.definition.rust",
],
"settings": {
"fontStyle": "bold"
}
},
], ],
} }