|
1 | 1 | { |
2 | 2 | "$schema": "vscode://schemas/color-theme", |
3 | 3 | "type": "dark", |
4 | | - // "include": "./dark_vs.json", |
| 4 | + // "include": "./dark_vs.json", |
5 | 5 | "tokenColors": [ |
6 | 6 | // "FlatShape__InternalCommand": "#61d6d6", //"Cyan.bold" |
7 | 7 | { |
8 | | - "scope": [ "keyword.control.nushell", ], |
| 8 | + "scope": ["keyword.control.nushell"], |
9 | 9 | "settings": { |
10 | 10 | "foreground": "#61d6d6" |
11 | 11 | } |
|
14 | 14 | // I used this for things like |
15 | 15 | // alias <this_word> = blah |
16 | 16 | { |
17 | | - "scope": [ "source.nushell", ], |
| 17 | + "scope": ["source.nushell"], |
18 | 18 | "settings": { |
19 | | - "foreground": "#06989a", //#61d6d6 |
| 19 | + "foreground": "#06989a" //#61d6d6 |
20 | 20 | // "fontStyle": "bold" |
21 | 21 | } |
22 | 22 | }, |
23 | 23 |
|
24 | 24 | { |
25 | | - "scope":"keyword.control.other.nushell", |
| 25 | + "scope": "keyword.control.other.nushell", |
26 | 26 | "settings": { |
27 | 27 | "foreground": "#FF0000", |
28 | 28 | "fontStyle": "bold" |
|
31 | 31 |
|
32 | 32 | // these are the sub commands |
33 | 33 | { |
34 | | - "scope": [ "keyword.other", ], |
| 34 | + "scope": ["keyword.other"], |
35 | 35 | "settings": { |
36 | 36 | "foreground": "#00b7ff" |
37 | 37 | } |
38 | 38 | }, |
39 | 39 |
|
40 | 40 | // "FlatShape__String": "#12820e", //"Green" |
41 | 41 | { |
42 | | - // "scope": ["string", "meta.embedded.assembly"], |
43 | | - "scope": ["string.quoted"], |
| 42 | + // "scope": ["string", "meta.embedded.assembly"], |
| 43 | + "scope": ["string.quoted"], |
44 | 44 | "settings": { |
45 | 45 | "foreground": "#12820e" |
46 | 46 | } |
47 | 47 | }, |
48 | 48 |
|
49 | | - // "FlatShape__Operator": "#AAAA00", //"Yellow" #c19c00 |
50 | | - { |
51 | | - "scope": [ |
52 | | - "punctuation.nushell" |
53 | | - ], |
54 | | - "settings": { |
55 | | - "foreground": "#c19c00", |
56 | | - // "fontStyle": "bold" |
57 | | - } |
58 | | - }, |
| 49 | + // "FlatShape__Operator": "#AAAA00", //"Yellow" #c19c00 |
| 50 | + { |
| 51 | + "scope": ["punctuation.nushell"], |
| 52 | + "settings": { |
| 53 | + "foreground": "#c19c00" |
| 54 | + // "fontStyle": "bold" |
| 55 | + } |
| 56 | + }, |
59 | 57 |
|
60 | | - // "FlatShape__Comment": "#55FF55", //"Green.bold", #16c60c |
61 | | - { |
62 | | - "scope": [ |
63 | | - "comment" |
64 | | - ], |
65 | | - "settings": { |
66 | | - "foreground": "#16c60c", |
67 | | - // "fontStyle": "bold" |
68 | | - } |
69 | | - }, |
| 58 | + // "FlatShape__Comment": "#55FF55", //"Green.bold", #16c60c |
| 59 | + { |
| 60 | + "scope": ["comment"], |
| 61 | + "settings": { |
| 62 | + "foreground": "#16c60c" |
| 63 | + // "fontStyle": "bold" |
| 64 | + } |
| 65 | + }, |
70 | 66 |
|
71 | | - // for range 0..10 |
72 | | - { |
73 | | - "scope": [ |
74 | | - "constant", |
75 | | - "constant.numeric" |
76 | | - ], |
77 | | - "settings": { |
78 | | - "foreground": "#b4009e", |
79 | | - // "fontStyle": "bold" |
80 | | - } |
81 | | - }, |
| 67 | + // for range 0..10 |
| 68 | + { |
| 69 | + "scope": ["constant", "constant.numeric"], |
| 70 | + "settings": { |
| 71 | + "foreground": "#b4009e" |
| 72 | + // "fontStyle": "bold" |
| 73 | + } |
| 74 | + }, |
82 | 75 |
|
83 | | - // "FlatShape__Flag": "#3878ff", //"Blue.bold" |
84 | | - // "FlatShape__ShorthandFlag": "#3878ff", //"Blue.bold" |
85 | | - // for --flag |
| 76 | + // "FlatShape__Flag": "#3878ff", //"Blue.bold" |
| 77 | + // "FlatShape__ShorthandFlag": "#3878ff", //"Blue.bold" |
| 78 | + // for --flag |
86 | 79 | { |
87 | | - "scope": ["variable.parameter.function"], |
88 | | - "settings": { |
89 | | - "foreground": "#3878ff" |
90 | | - // "fontStyle": "bold" |
91 | | - } |
92 | | - }, |
| 80 | + "scope": ["variable.parameter.function"], |
| 81 | + "settings": { |
| 82 | + "foreground": "#3878ff" |
| 83 | + // "fontStyle": "bold" |
| 84 | + } |
| 85 | + }, |
93 | 86 |
|
94 | 87 | // "FlatShape__Variable_or_FlatShape__Identifier": "#821791", //"Purple" |
95 | 88 | { |
96 | | - "scope": [ |
97 | | - "variable.name" |
98 | | - ], |
| 89 | + "scope": ["variable.name", "variable.name.nushell"], |
99 | 90 | "settings": { |
100 | 91 | "foreground": "#aa44dd" |
101 | 92 | } |
102 | 93 | }, |
103 | 94 |
|
104 | 95 | { |
105 | | - "scope": [ |
106 | | - "variable.other" |
107 | | - ], |
108 | | - "settings": { |
109 | | - "foreground": "#61d6d6" |
110 | | - } |
| 96 | + "scope": ["variable.other"], |
| 97 | + "settings": { |
| 98 | + "foreground": "#61d6d6" |
| 99 | + } |
111 | 100 | }, |
112 | 101 |
|
113 | | - { |
114 | | - "scope": [ |
115 | | - "variable.language" |
116 | | - ], |
117 | | - "settings": { |
118 | | - "foreground": "#aa44dd" |
119 | | - } |
120 | | - }, |
| 102 | + // { |
| 103 | + // "scope": ["variable.language"], |
| 104 | + // "settings": { |
| 105 | + // "foreground": "#aa44dd" |
| 106 | + // } |
| 107 | + // }, |
121 | 108 |
|
122 | | - // "FlatShape__Int": "#b4009e", //"Purple.bold" |
| 109 | + // "FlatShape__Int": "#b4009e", //"Purple.bold" |
123 | 110 | // "FlatShape__Decimal": "#b4009e", //"Purple.bold" |
124 | 111 | { |
125 | 112 | "scope": [ |
|
131 | 118 | "settings": { |
132 | 119 | "foreground": "#b4009e" |
133 | 120 | } |
134 | | - }, |
| 121 | + }, |
135 | 122 |
|
136 | | - // for def |
| 123 | + // for def |
137 | 124 | { |
138 | | - "scope": [ |
139 | | - "entity.name.function" |
140 | | - ], |
141 | | - "settings": { |
142 | | - "foreground": "#61d6d6" |
143 | | - } |
144 | | - }, |
| 125 | + "scope": ["entity.name.function"], |
| 126 | + "settings": { |
| 127 | + "foreground": "#61d6d6" |
| 128 | + } |
| 129 | + }, |
145 | 130 |
|
146 | 131 | { |
147 | | - "scope": [ |
148 | | - "entity.name.type" |
149 | | - ], |
150 | | - "settings": { |
151 | | - "foreground": "#f9f1a5" |
152 | | - } |
153 | | - }, |
154 | | - |
155 | | - // for var:storage_type |
156 | | - { |
157 | | - "scope": [ |
158 | | - "storage.type" |
159 | | - ], |
160 | | - "settings": { |
161 | | - "foreground": "#a538ff" |
162 | | - } |
163 | | - }, |
| 132 | + "scope": ["entity.name.type"], |
| 133 | + "settings": { |
| 134 | + "foreground": "#f9f1a5" |
| 135 | + } |
| 136 | + }, |
164 | 137 |
|
165 | | - { |
166 | | - "scope": [ |
167 | | - "storage.modifier" |
168 | | - ], |
169 | | - "settings": { |
170 | | - "foreground": "#5555FF" |
171 | | - } |
172 | | - }, |
| 138 | + // for var:storage_type |
| 139 | + { |
| 140 | + "scope": ["storage.type"], |
| 141 | + "settings": { |
| 142 | + "foreground": "#a538ff" |
| 143 | + } |
| 144 | + }, |
173 | 145 |
|
| 146 | + { |
| 147 | + "scope": ["storage.modifier"], |
| 148 | + "settings": { |
| 149 | + "foreground": "#5555FF" |
| 150 | + } |
| 151 | + } |
174 | 152 |
|
175 | 153 | // { |
176 | 154 | // "scope": [ |
|
0 commit comments