Skip to content

Commit 9d55f2f

Browse files
committed
Some stylization rules added.
1 parent 362715f commit 9d55f2f

2 files changed

Lines changed: 141 additions & 26 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "KastorCode Dark Purple Theme",
44
"icon": "icon.png",
55
"description": "This is a dark purple theme of my personal brand as a developer.",
6-
"version": "0.9.9",
6+
"version": "1.0.0",
77
"homepage": "https://www.instagram.com/kastorcode",
88
"publisher": "kastorcode",
99
"scripts": {

themes/theme.json

Lines changed: 140 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"name": "variable.parameter.function.language.special.self.python",
5454
"scope": "variable.parameter.function.language.special.self.python",
5555
"settings": {
56-
"foreground": "#ffffff"
56+
"fontStyle": "italic",
57+
"foreground": "#ff79c6"
5758
}
5859
},
5960
{
@@ -154,6 +155,25 @@
154155
"foreground": "#ff79c6"
155156
}
156157
},
158+
{
159+
"name": "include",
160+
"scope": [
161+
"string.quoted.other.lt-gt.include.c"
162+
],
163+
"settings": {
164+
"foreground": "#ffffff"
165+
}
166+
},
167+
{
168+
"name": "primitive type",
169+
"scope": [
170+
"storage.type.built-in.primitive.c",
171+
"storage.type.built-in.primitive.cpp"
172+
],
173+
"settings": {
174+
"foreground": "#8be9fd"
175+
}
176+
},
157177
{
158178
"name": "c++ function",
159179
"scope": "meta.function.c,meta.function.cpp",
@@ -172,7 +192,7 @@
172192
"name": "js/ts punctuation separator key-value",
173193
"scope": "punctuation.separator.key-value",
174194
"settings": {
175-
"foreground": "#ffffff"
195+
"foreground": "#ff79c6"
176196
}
177197
},
178198
{
@@ -336,7 +356,7 @@
336356
"name": "js variable readwrite",
337357
"scope": "variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node",
338358
"settings": {
339-
"foreground": "#ff79c6"
359+
"foreground": "#ffffff"
340360
}
341361
},
342362
{
@@ -461,14 +481,15 @@
461481
"name": "python parameter",
462482
"scope": "variable.parameter.function.language.python",
463483
"settings": {
464-
"foreground": "#ffb86c"
484+
"fontStyle": "italic",
485+
"foreground": "#ff79c6"
465486
}
466487
},
467488
{
468489
"name": "python type",
469490
"scope": "support.type.python",
470491
"settings": {
471-
"foreground": "#7159c1"
492+
"foreground": "#8be9fd"
472493
}
473494
},
474495
{
@@ -545,7 +566,7 @@
545566
"name": "Variables",
546567
"scope": "variable",
547568
"settings": {
548-
"foreground": "#ff79c6"
569+
"foreground": "#ffffff"
549570
}
550571
},
551572
{
@@ -638,7 +659,7 @@
638659
"name": "Class name php",
639660
"scope": "variable.other.class.php",
640661
"settings": {
641-
"foreground": "#ff79c6"
662+
"foreground": "#ffffff"
642663
}
643664
},
644665
{
@@ -701,7 +722,7 @@
701722
"name": "Support",
702723
"scope": "support.function",
703724
"settings": {
704-
"foreground": "#7159c1"
725+
"foreground": "#50fa7b"
705726
}
706727
},
707728
{
@@ -743,7 +764,8 @@
743764
"name": "Inherited Class",
744765
"scope": "entity.other.inherited-class",
745766
"settings": {
746-
"foreground": "#ffffff"
767+
"fontStyle": "italic",
768+
"foreground": "#ff79c6"
747769
}
748770
},
749771
{
@@ -785,7 +807,7 @@
785807
"name": "Attributes",
786808
"scope": "entity.other.attribute-name",
787809
"settings": {
788-
"foreground": "#ffb86c"
810+
"foreground": "#50fa7b"
789811
}
790812
},
791813
{
@@ -1052,14 +1074,14 @@
10521074
"name": "[VSCODE-CUSTOM] JSON Property Name",
10531075
"scope": "support.type.property-name.json",
10541076
"settings": {
1055-
"foreground": "#ff79c6"
1077+
"foreground": "#7159c1"
10561078
}
10571079
},
10581080
{
10591081
"name": "[VSCODE-CUSTOM] JSON Punctuation for Property Name",
10601082
"scope": "support.type.property-name.json punctuation",
10611083
"settings": {
1062-
"foreground": "#ff79c6"
1084+
"foreground": "#7159c1"
10631085
}
10641086
},
10651087
{
@@ -1080,7 +1102,7 @@
10801102
"name": "use statement for other classes",
10811103
"scope": "support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php",
10821104
"settings": {
1083-
"foreground": "#ffffff"
1105+
"foreground": "#ff79c6"
10841106
}
10851107
},
10861108
{
@@ -1122,7 +1144,7 @@
11221144
"name": "php types",
11231145
"scope": "storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php",
11241146
"settings": {
1125-
"foreground": "#ffffff"
1147+
"foreground": "#8be9fd"
11261148
}
11271149
},
11281150
{
@@ -1188,6 +1210,17 @@
11881210
"foreground": "#7159c1"
11891211
}
11901212
},
1213+
{
1214+
"name": "Parameters inside PHP function",
1215+
"scope": [
1216+
"meta.function.parameter variable",
1217+
"meta.function.parameter punctuation.definition.variable.php"
1218+
],
1219+
"settings": {
1220+
"fontStyle": "italic",
1221+
"foreground": "#ff79c6"
1222+
}
1223+
},
11911224
{
11921225
"name": "python function decorator @",
11931226
"scope": "meta.function.decorator.python",
@@ -1789,8 +1822,7 @@
17891822
"name": "Comments",
17901823
"scope": "comment, punctuation.definition.comment",
17911824
"settings": {
1792-
"fontStyle": "italic",
1793-
"foreground": "#ffffff80"
1825+
"foreground": "#a3a3a3"
17941826
}
17951827
},
17961828
{
@@ -1815,32 +1847,115 @@
18151847
"foreground": "#7159c1"
18161848
}
18171849
},
1850+
{
1851+
"name": "keyword new",
1852+
"scope": [
1853+
"keyword.operator.new",
1854+
"keyword.other.new.php"
1855+
],
1856+
"settings": {
1857+
"fontStyle": "bold"
1858+
}
1859+
},
18181860
{
18191861
"name": "js/ts italic",
1820-
"scope": "entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super",
1862+
"scope": "entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter",
18211863
"settings": {
1822-
"fontStyle": "italic"
1864+
"fontStyle": "italic",
1865+
"foreground": "#ff79c6"
18231866
}
18241867
},
18251868
{
18261869
"name": "comment",
18271870
"scope": "comment.line.double-slash,comment.block.documentation",
18281871
"settings": {
1829-
"fontStyle": "italic"
1872+
"foreground": "#a3a3a3"
18301873
}
18311874
},
18321875
{
1833-
"name": "Python Keyword Control",
1834-
"scope": "keyword.control.import.python,keyword.control.flow.python",
1876+
"name": "markup.italic.markdown",
1877+
"scope": "markup.italic.markdown",
18351878
"settings": {
18361879
"fontStyle": "italic"
18371880
}
18381881
},
18391882
{
1840-
"name": "markup.italic.markdown",
1841-
"scope": "markup.italic.markdown",
1883+
"name": "Separators (key/value, namespace, inheritance, pointer, hash, slice, etc)",
1884+
"scope": [
1885+
"constant.other.symbol.hashkey punctuation.definition.constant.ruby",
1886+
"entity.other.attribute-name.placeholder punctuation",
1887+
"entity.other.attribute-name.pseudo-class punctuation",
1888+
"entity.other.attribute-name.pseudo-element punctuation",
1889+
"meta.group.double.toml",
1890+
"meta.group.toml",
1891+
"meta.object-binding-pattern-variable punctuation.destructuring",
1892+
"punctuation.colon.graphql",
1893+
"punctuation.definition.block.scalar.folded.yaml",
1894+
"punctuation.definition.block.scalar.literal.yaml",
1895+
"punctuation.definition.block.sequence.item.yaml",
1896+
"punctuation.definition.entity.other.inherited-class",
1897+
"punctuation.function.swift",
1898+
"punctuation.separator.dictionary.key-value",
1899+
"punctuation.separator.hash",
1900+
"punctuation.separator.inheritance",
1901+
"punctuation.separator.key-value",
1902+
"punctuation.separator.key-value.mapping.yaml",
1903+
"punctuation.separator.namespace",
1904+
"punctuation.separator.pointer-access",
1905+
"punctuation.separator.slice",
1906+
"string.unquoted.heredoc punctuation.definition.string",
1907+
"support.other.chomping-indicator.yaml",
1908+
"punctuation.separator.annotation"
1909+
],
18421910
"settings": {
1843-
"fontStyle": "italic"
1911+
"foreground": "#ff79c6"
1912+
}
1913+
},
1914+
{
1915+
"name": "Destructuring / aliasing reference name (LHS)",
1916+
"scope": [
1917+
"meta.import variable.other.readwrite",
1918+
"meta.object-binding-pattern-variable variable.object.property",
1919+
"meta.variable.assignment.destructured.object.coffee variable"
1920+
],
1921+
"settings": {
1922+
"fontStyle": "italic",
1923+
"foreground": "#ff79c6"
1924+
}
1925+
},
1926+
{
1927+
"name": "Destructuring / aliasing variable name (RHS)",
1928+
"scope": [
1929+
"meta.import variable.other.readwrite.alias",
1930+
"meta.export variable.other.readwrite.alias",
1931+
"meta.variable.assignment.destructured.object.coffee variable variable"
1932+
],
1933+
"settings": {
1934+
"fontStyle": "normal",
1935+
"foreground": "#ffffff"
1936+
}
1937+
},
1938+
{
1939+
"name": "this, super, self, etc.",
1940+
"scope": [
1941+
"keyword.expressions-and-types.swift",
1942+
"keyword.other.this",
1943+
"variable.language",
1944+
"variable.language punctuation.definition.variable.php",
1945+
"variable.other.readwrite.instance.ruby",
1946+
"variable.parameter.function.language.special"
1947+
],
1948+
"settings": {
1949+
"foreground": "#ffb86c"
1950+
}
1951+
},
1952+
{
1953+
"name": "string concatenation",
1954+
"scope": [
1955+
"keyword.operator.string.php"
1956+
],
1957+
"settings": {
1958+
"foreground": "#7159c1"
18441959
}
18451960
}
18461961
],
@@ -2104,7 +2219,7 @@
21042219
"settings.focusedRowBackground": "#ffffff07",
21052220
"walkThrough.embeddedEditorBackground": "#00000050",
21062221
"breadcrumb.activeSelectionForeground": "#ffffff",
2107-
"editorGutter.commentRangeForeground": "#ffffff80",
2222+
"editorGutter.commentRangeForeground": "#a3a3a3",
21082223
"debugExceptionWidget.background": "#030205",
21092224
"debugExceptionWidget.border": "#00000000"
21102225
}

0 commit comments

Comments
 (0)