Skip to content

Commit

Permalink
Define catch-all keywords and operators token accent colors
Browse files Browse the repository at this point in the history
Also some golang-specific accents.
v.0.3.9

fix #19
  • Loading branch information
santoso-wijaya committed May 30, 2024
1 parent 72f855e commit 28c017d
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 21 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Change Log

## 0.3.9 | TODO
## 0.3.9 | 2024-05-30

* Fix workbench's editor sticky scroll backgrounds and shadow.
* Define catch-all keywords and operators token highlight colors.
* Define golang-specific accent color (green).

## 0.3.8 | 2024-05-30

Expand Down
30 changes: 26 additions & 4 deletions themes/Selenized_Dark-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,20 @@
"name": "Keywords",
"scope": [
"keyword.control",
"keyword.operator",
"keyword.other"
"keyword.other",
"keyword"
],
"settings": {
"foreground": "#e3b230"
}
},
{
"name": "Operators",
"scope": "keyword.operator",
"settings": {
"foreground": "#adbcbc"
}
},
{
"name": "Language Constants",
"scope": [
Expand All @@ -255,7 +262,8 @@
"variable.parameter",
"variable.other.readwrite",
"support.variable",
"entity.name.variable"
"entity.name.variable",
"variable"
],
"settings": {
"foreground": "#adbcbc"
Expand Down Expand Up @@ -359,7 +367,8 @@
{
"name": "Namespace",
"scope": [
"entity.name.namespace"
"entity.name.namespace",
"entity.name.type.package.go",
],
"settings": {
"foreground": "#f176bd"
Expand All @@ -376,6 +385,18 @@
"foreground": "#f38649"
}
},
{
"name": "Golang - misc",
"scope": [
"entity.name.import.go",
"entity.name.type.go",
"variable.other.assignment.go",
"variable.other.go"
],
"settings": {
"foreground": "#80b83c"
}
},
{
"name": "Exceptions",
"scope": "entity.name.exception",
Expand Down Expand Up @@ -744,6 +765,7 @@

"*.defaultLibrary": { "italic": true },
"decorator": "#adbcbc",
"operator": "#adbcbc",
"variable.mutable": { "underline": true },
"const.constant": "#39c7b9",
"type.declaration": "#f38649",
Expand Down
30 changes: 26 additions & 4 deletions themes/Selenized_Light-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,20 @@
"name": "Keywords",
"scope": [
"keyword.control",
"keyword.operator",
"keyword.other"
"keyword.other",
"keyword"
],
"settings": {
"foreground": "#b38800"
}
},
{
"name": "Operators",
"scope": "keyword.operator",
"settings": {
"foreground": "#52666d"
}
},
{
"name": "Language Constants",
"scope": [
Expand All @@ -255,7 +262,8 @@
"variable.parameter",
"variable.other.readwrite",
"support.variable",
"entity.name.variable"
"entity.name.variable",
"variable"
],
"settings": {
"foreground": "#52666d"
Expand Down Expand Up @@ -359,7 +367,8 @@
{
"name": "Namespace",
"scope": [
"entity.name.namespace"
"entity.name.namespace",
"entity.name.type.package.go",
],
"settings": {
"foreground": "#cb4c99"
Expand All @@ -376,6 +385,18 @@
"foreground": "#c75d20"
}
},
{
"name": "Golang - misc",
"scope": [
"entity.name.import.go",
"entity.name.type.go",
"variable.other.assignment.go",
"variable.other.go"
],
"settings": {
"foreground": "#539100"
}
},
{
"name": "Exceptions",
"scope": "entity.name.exception",
Expand Down Expand Up @@ -744,6 +765,7 @@

"*.defaultLibrary": { "italic": true },
"decorator": "#52666d",
"operator": "#52666d",
"variable.mutable": { "underline": true },
"const.constant": "#009c8f",
"type.declaration": "#c75d20",
Expand Down
30 changes: 26 additions & 4 deletions themes/Solarized_Dark-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,20 @@
"name": "Keywords",
"scope": [
"keyword.control",
"keyword.operator",
"keyword.other"
"keyword.other",
"keyword"
],
"settings": {
"foreground": "#bb8801"
}
},
{
"name": "Operators",
"scope": "keyword.operator",
"settings": {
"foreground": "#829496"
}
},
{
"name": "Language Constants",
"scope": [
Expand All @@ -255,7 +262,8 @@
"variable.parameter",
"variable.other.readwrite",
"support.variable",
"entity.name.variable"
"entity.name.variable",
"variable"
],
"settings": {
"foreground": "#829496"
Expand Down Expand Up @@ -359,7 +367,8 @@
{
"name": "Namespace",
"scope": [
"entity.name.namespace"
"entity.name.namespace",
"entity.name.type.package.go",
],
"settings": {
"foreground": "#f2579c"
Expand All @@ -376,6 +385,18 @@
"foreground": "#cf4b15"
}
},
{
"name": "Golang - misc",
"scope": [
"entity.name.import.go",
"entity.name.type.go",
"variable.other.assignment.go",
"variable.other.go"
],
"settings": {
"foreground": "#8d9800"
}
},
{
"name": "Exceptions",
"scope": "entity.name.exception",
Expand Down Expand Up @@ -744,6 +765,7 @@

"*.defaultLibrary": { "italic": true },
"decorator": "#829496",
"operator": "#829496",
"variable.mutable": { "underline": true },
"const.constant": "#1fa198",
"type.declaration": "#cf4b15",
Expand Down
30 changes: 26 additions & 4 deletions themes/Solarized_Light-color-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,20 @@
"name": "Keywords",
"scope": [
"keyword.control",
"keyword.operator",
"keyword.other"
"keyword.other",
"keyword"
],
"settings": {
"foreground": "#bb8801"
}
},
{
"name": "Operators",
"scope": "keyword.operator",
"settings": {
"foreground": "#637b82"
}
},
{
"name": "Language Constants",
"scope": [
Expand All @@ -255,7 +262,8 @@
"variable.parameter",
"variable.other.readwrite",
"support.variable",
"entity.name.variable"
"entity.name.variable",
"variable"
],
"settings": {
"foreground": "#637b82"
Expand Down Expand Up @@ -359,7 +367,8 @@
{
"name": "Namespace",
"scope": [
"entity.name.namespace"
"entity.name.namespace",
"entity.name.type.package.go",
],
"settings": {
"foreground": "#f2579c"
Expand All @@ -376,6 +385,18 @@
"foreground": "#cf4b15"
}
},
{
"name": "Golang - misc",
"scope": [
"entity.name.import.go",
"entity.name.type.go",
"variable.other.assignment.go",
"variable.other.go"
],
"settings": {
"foreground": "#8d9800"
}
},
{
"name": "Exceptions",
"scope": "entity.name.exception",
Expand Down Expand Up @@ -744,6 +765,7 @@

"*.defaultLibrary": { "italic": true },
"decorator": "#637b82",
"operator": "#637b82",
"variable.mutable": { "underline": true },
"const.constant": "#1fa198",
"type.declaration": "#cf4b15",
Expand Down
1 change: 1 addition & 0 deletions themes/common/semantic-token-colors.json.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@

"*.defaultLibrary": { "italic": true },
"decorator": "#{{ fg_0 }}",
"operator": "#{{ fg_0 }}",
"variable.mutable": { "underline": true },
"const.constant": "#{{ cyan }}",
"type.declaration": "#{{ orange }}",
Expand Down
29 changes: 25 additions & 4 deletions themes/common/token-colors.json.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,20 @@
"name": "Keywords",
"scope": [
"keyword.control",
"keyword.operator",
"keyword.other"
"keyword.other",
"keyword"
],
"settings": {
"foreground": "#{{ yellow }}"
}
},
{
"name": "Operators",
"scope": "keyword.operator",
"settings": {
"foreground": "#{{ fg_0 }}"
}
},
{
"name": "Language Constants",
"scope": [
Expand All @@ -114,7 +121,8 @@
"variable.parameter",
"variable.other.readwrite",
"support.variable",
"entity.name.variable"
"entity.name.variable",
"variable"
],
"settings": {
"foreground": "#{{ fg_0 }}"
Expand Down Expand Up @@ -218,7 +226,8 @@
{
"name": "Namespace",
"scope": [
"entity.name.namespace"
"entity.name.namespace",
"entity.name.type.package.go",
],
"settings": {
"foreground": "#{{ magenta }}"
Expand All @@ -235,6 +244,18 @@
"foreground": "#{{ orange }}"
}
},
{
"name": "Golang - misc",
"scope": [
"entity.name.import.go",
"entity.name.type.go",
"variable.other.assignment.go",
"variable.other.go"
],
"settings": {
"foreground": "#{{ green }}"
}
},
{
"name": "Exceptions",
"scope": "entity.name.exception",
Expand Down

0 comments on commit 28c017d

Please sign in to comment.