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

Fix JS and TS coloring #142

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
191 changes: 167 additions & 24 deletions themes/nord.json
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@
"name": "Entity Other Inherited Class",
"scope": "entity.other.inherited-class",
"settings": {
"fontStyle": "bold",
"foreground": "#8FBCBB"
}
},
Expand Down Expand Up @@ -414,6 +413,20 @@
"foreground": "#ECEFF4"
}
},
{
"name": "Meta Brace Round",
"scope": "meta.brace.round",
"settings": {
"foreground": "#ECEFF4"
}
},
{
"name": "Meta Brace Square",
"scope": "meta.brace.square",
"settings": {
"foreground": "#ECEFF4"
}
},
{
"name": "Punctuation Definition Parameters",
"scope": [
Expand Down Expand Up @@ -813,7 +826,21 @@
}
},
{
"name": "[JavaScript] Decorator",
"name": "[JavaScript] Node.js global variables",
"scope": ["source.js support.variable.object.process", "source.js support.variable.object.node"],
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[JavaScript] JSX inner text",
"scope": "source.js meta.jsx.children",
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[JavaScript] Decorators",
"scope": [
"source.js punctuation.decorator",
"source.js meta.decorator variable.other.readwrite",
Expand All @@ -824,12 +851,66 @@
}
},
{
"name": "[JavaScript] Meta Object-Literal Key",
"name": "[JavaScript] Object-literal keys",
"scope": "source.js meta.object-literal.key",
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[JavaScript] Object-literal functions",
"scope": "source.js meta.object-literal.key entity.name.function",
"settings": {
"foreground": "#88C0D0"
}
},
{
"name": "[JavaScript] Type/Class",
"scope": [
"source.js support.class",
"source.js support.type",
"source.js entity.name.type",
"source.js entity.name.class"
],
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[JavaScript] Static Class Support",
"scope": ["source.js support.constant.math", "source.js support.constant.dom", "source.js support.constant.json"],
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[JavaScript] Variables",
"scope": "source.js support.variable",
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[JavaScript] Variable Other Object",
"scope": "source.js variable.other.object",
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[JavaScript] Variable Other Read-Write Alias",
"scope": "source.js variable.other.readwrite.alias",
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[JavaScript] Support Type Primitive",
"scope": "source.js support.type.primitive",
"settings": {
"foreground": "#81A1C1"
}
},
{
"name": "[JavaScript](JSDoc) Storage Type Class",
"scope": "source.js storage.type.class.jsdoc",
Expand Down Expand Up @@ -865,27 +946,6 @@
"foreground": "#D8DEE9"
}
},
{
"name": "[JavaScript] Support Type Primitive",
"scope": "source.js support.type.primitive",
"settings": {
"foreground": "#81A1C1"
}
},
{
"name": "[JavaScript] Variable Other Object",
"scope": "source.js variable.other.object",
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[JavaScript] Variable Other Read-Write Alias",
"scope": "source.js variable.other.readwrite.alias",
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[HTML] Constant Character Entity",
"scope": "text.html.basic constant.character.entity.html",
Expand Down Expand Up @@ -1086,6 +1146,25 @@
"fontStyle": "italic"
}
},
{
"name": "[TypeScript] Node.js global variables",
"scope": [
"source.ts support.variable.object.process",
"source.ts support.variable.object.node",
"source.tsx support.variable.object.process",
"source.tsx support.variable.object.node"
],
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[TypeScript] JSX inner text",
"scope": "source.tsx meta.jsx.children",
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[TypeScript] Decorators",
"scope": [
Expand Down Expand Up @@ -1154,6 +1233,70 @@
"foreground": "#D8DEE9"
}
},
{
"name": "[TypeScript] Variable Other Object",
"scope": ["source.ts variable.other.object", "source.tsx variable.other.object"],
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[TypeScript] Variable Other Read-Write Alias",
"scope": ["source.ts variable.other.readwrite.alias", "source.tsx variable.other.readwrite.alias"],
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[TypeScript] Support Type Primitive",
"scope": ["source.ts support.type.primitive", "source.tsx support.type.primitive"],
"settings": {
"foreground": "#81A1C1"
}
},
{
"name": "[TypeScript](JSDoc) Storage Type Class",
"scope": ["source.ts storage.type.class.jsdoc", "source.tsx storage.type.class.jsdoc"],
"settings": {
"foreground": "#8FBCBB"
}
},
{
"name": "[TypeScript] String Template Literals Punctuation",
"scope": [
"source.ts string.quoted.template punctuation.quasi.element.begin",
"source.ts string.quoted.template punctuation.quasi.element.end",
"source.ts string.template punctuation.definition.template-expression",
"source.tsx string.quoted.template punctuation.quasi.element.begin",
"source.tsx string.quoted.template punctuation.quasi.element.end",
"source.tsx string.template punctuation.definition.template-expression"
],
"settings": {
"foreground": "#81A1C1"
}
},
{
"name": "[TypeScript] Interpolated String Template Punctuation Functions",
"scope": [
"source.ts string.quoted.template meta.method-call.with-arguments",
"source.tsx string.quoted.template meta.method-call.with-arguments"
],
"settings": {
"foreground": "#ECEFF4"
}
},
{
"name": "[TypeScript] String Template Literal Variable",
"scope": [
"source.ts string.template meta.template.expression support.variable.property",
"source.ts string.template meta.template.expression variable.other.object",
"source.tsx string.template meta.template.expression support.variable.property",
"source.tsx string.template meta.template.expression variable.other.object"
],
"settings": {
"foreground": "#D8DEE9"
}
},
{
"name": "[XML] Entity Name Tag Namespace",
"scope": "text.xml entity.name.tag.namespace",
Expand Down