Skip to content

Commit 7c78bdb

Browse files
committedJan 22, 2024
Fix self highlighting and add method and property highlighting
1 parent 1a9f38d commit 7c78bdb

File tree

2 files changed

+22
-33
lines changed

2 files changed

+22
-33
lines changed
 

‎README.md

-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ Kumuhana is dark theme for VSCode with cyan accents (I might add option to
1212
change accent color later). This theme will evolve over the time as I find
1313
problems or come up with good idea to make it even better.
1414

15-
Kumuhana is dark theme for VSCode with cyan accents. Syntax highlighting was
16-
heavily inspired by my [friend](https://github.com/BonnyAD9), so thanks! :)
17-
1815
## Suggestion
1916

2017
If you like this theme, you can also use

‎themes/Kumuhana-color-theme.json

+22-30
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,15 @@
140140
}
141141
},
142142
{
143-
"name": "Control keywords 2",
143+
"name": "Keywords",
144144
"scope": [
145-
"keyword.other",
146145
"entity.name.tag",
147-
"keyword.other.fn.rust",
148-
"storage.modifier.php",
149-
"storage.modifier.export.shell",
150-
"storage.type.function.shell",
151-
"storage.modifier.c",
152-
"storage.modifier.specifier.const.cpp",
153-
"keyword.mnemonic.x86.asm",
154-
"keyword.mnemonic.z80.asm",
155-
"storage.type",
146+
"keyword",
147+
"keyword.mnemonic",
148+
"keyword.other",
156149
"storage.modifier",
150+
"storage.type",
151+
"storage.type.function.shell",
157152
],
158153
"settings": {
159154
"foreground": "#4c8dff",
@@ -163,8 +158,6 @@
163158
"name": "Primitives",
164159
"scope": [
165160
"keyword.type",
166-
"keyword.mnemonic",
167-
"keyword",
168161
],
169162
"settings": {
170163
"foreground": "#5cb3ee"
@@ -192,25 +185,14 @@
192185
"entity.name.function",
193186
"meta.function-call.twig",
194187
"meta.function-call.other.twig",
195-
"entity.name.function.target.makefile",
196-
"entity.name.function.call.cpp",
188+
// "entity.name.function.target.makefile",
189+
// "entity.name.function.call.cpp",
197190
],
198191
"settings": {
199192
"fontStyle": "italic",
200193
"foreground": "#c5efef"
201194
}
202195
},
203-
{
204-
"name": "Entity variable",
205-
"scope": [
206-
"variable.other.object.property.js.jsx",
207-
"support.variable.property.js.jsx",
208-
"variable.other.object.property.js",
209-
],
210-
"settings": {
211-
"foreground": "#c5efdd",
212-
}
213-
},
214196
{
215197
"name": "Entity function",
216198
"scope": [
@@ -228,7 +210,7 @@
228210
"variable.other.makefile",
229211
"meta.property-name.css",
230212
"variable.other.positional",
231-
"variable.other.metavariable.name.rust",
213+
"variable.other.metavariable.name",
232214
"constant.other.option",
233215
"variable.class",
234216
],
@@ -653,10 +635,11 @@
653635
{
654636
"name": "This",
655637
"scope": [
656-
"variable.language.this"
638+
"variable.language.this",
639+
"variable.language.self",
657640
],
658641
"settings": {
659-
"foreground": "#e7569f",
642+
"foreground": "#eb65b3",
660643
"fontStyle": "italic",
661644
}
662645
},
@@ -706,6 +689,15 @@
706689
"typeParameter": {
707690
"foreground": "#28cc92",
708691
"fontStyle": "bold"
709-
}
692+
},
693+
"selfKeyword": {
694+
"foreground": "#eb65b3",
695+
"fontStyle": "italic",
696+
},
697+
"method": {
698+
"foreground": "#c5efdd",
699+
"fontStyle": "italic",
700+
},
701+
"property": "#c5efdd",
710702
}
711703
}

0 commit comments

Comments
 (0)
Please sign in to comment.