1
Fork 0

Split fields, type declarations and type use

This commit is contained in:
Steffo 2024-12-11 10:39:56 +01:00
parent d01f29a4f7
commit e671d26442
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -52,7 +52,8 @@
"source",
],
"settings": {
"foreground": "#E1E2E9"
"foreground": "#E1E2E9",
"fontStyle": "",
}
},
{
@ -63,6 +64,7 @@
],
"settings": {
"foreground": "#3C4279",
"fontStyle": "",
}
},
{
@ -72,6 +74,7 @@
],
"settings": {
"foreground": "#FFDBCA", // axiom 90
"fontStyle": "",
}
},
{
@ -82,6 +85,7 @@
],
"settings": {
"foreground": "#F79159", // axiom 70
"fontStyle": "",
}
},
{
@ -92,6 +96,7 @@
],
"settings": {
"foreground": "#B65E2D", // axiom 50
"fontStyle": "",
}
},
{
@ -102,10 +107,11 @@
],
"settings": {
"foreground": "#F2E57F", // action 90
"fontStyle": "",
}
},
{
"name": "Function definitions",
"name": "Function declarations",
"scope": [
"meta.function.definition entity.name.function",
"meta.definition entity.name.function",
@ -122,6 +128,7 @@
],
"settings": {
"foreground": "#6E7D16", // action 50
"fontStyle": "",
}
},
{
@ -142,15 +149,40 @@
],
"settings": {
"foreground": "#308832", // behavior 50
"fontStyle": "",
}
},
{
"name": "Types",
"name": "Field",
"scope": [
"entity",
"variable.object.property",
"variable.other.property",
],
"settings": {
"foreground": "#87D6BC",
"foreground": "#90F4EA",
"fontStyle": "",
}
},
{
"name": "Type declarations",
"scope": [
"meta.type.declaration entity.name.type",
],
"settings": {
"foreground": "#00BEB4",
"fontStyle": "bold",
}
},
{
"name": "Type use",
"scope": [
"entity.name.type",
"support.type.primitive",
"meta.type.declaration meta.field.declaration entity.name.type", // over-over-ride type declaration for the contents of TypeScript types
],
"settings": {
"foreground": "#00867D",
"fontStyle": "",
}
},
{
@ -160,17 +192,18 @@
],
"settings": {
"foreground": "#89D0ED",
"fontStyle": "",
}
},
{
"name": "Values",
"scope": [
"constant",
"support",
"string",
],
"settings": {
"foreground": "#D1BCFD",
"fontStyle": "",
}
},
{
@ -181,58 +214,8 @@
],
"settings": {
"foreground": "#EEB4EA",
"fontStyle": "",
}
}
],
"semanticHighlighting": true,
"semanticTokenColors": {
"comment": {
"foreground":"#3C4279",
},
"selfParameter": {
"foreground": "#FFDBCA",
},
"keyword": {
"foreground": "#F58F59",
},
"parameter": {
"foreground": "#F2E57F"
},
"function.declaration":{
"foreground": "#B9AC37",
"fontStyle": "bold"
},
"method.declaration":{
"foreground": "#B9AC37",
"fontStyle": "bold"
},
"function": {
"foreground": "#6E7D16",
},
"method": {
"foreground": "#6E7D16",
},
"interface": {
"foreground":"#308832",
},
"interface.declaration": {
"foreground": "#65BE60",
"fontStyle": "bold",
},
"type": {
"foreground":"#87D6BC",
},
"variable": {
"foreground":"#89D0ED",
},
"string": {
"foreground":"#D1BCFD",
},
"constant": {
"foreground":"#D1BCFD",
},
"enum": {
"foreground":"#EEB4EA",
},
}
}