Skip to content

Commit 4a4eeb7

Browse files
mattmcnabbdaviwil
authored andcommitted
Add ISE theme
1 parent c590d8d commit 4a4eeb7

File tree

2 files changed

+203
-1
lines changed

2 files changed

+203
-1
lines changed

package.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,14 @@
461461
"description": "Switches focus to the console when a script selection is run or a script file is debugged. This is an accessibility feature. To disable it, set to false."
462462
}
463463
}
464-
}
464+
},
465+
"themes": [
466+
{
467+
"label": "PowerShell ISE",
468+
"uiTheme": "vs",
469+
"path": "./themes/theme-psise/theme.json"
470+
}
471+
]
465472
},
466473
"private": true
467474
}

themes/theme-psise/theme.json

+195
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,195 @@
1+
{
2+
"name": "PowerShell ISE",
3+
"tokenColors": [
4+
{
5+
"settings": {
6+
"background": "#FFFFFF",
7+
"foreground": "#000000"
8+
}
9+
},
10+
{
11+
"name": "Comments",
12+
"scope": [
13+
"comment",
14+
"punctuation.definition.comment"
15+
],
16+
"settings": {
17+
"fontStyle": "italic",
18+
"foreground": "#006400"
19+
}
20+
},
21+
{
22+
"name": "Comments: Preprocessor",
23+
"scope": "comment.block.preprocessor",
24+
"settings": {
25+
"fontStyle": "",
26+
"foreground": "#006400"
27+
}
28+
},
29+
{
30+
"name": "Comments: Documentation",
31+
"scope": [
32+
"comment.documentation",
33+
"comment.block.documentation"
34+
],
35+
"settings": {
36+
"foreground": "#006400"
37+
}
38+
},
39+
{
40+
"name": "Invalid - Deprecated",
41+
"scope": "invalid.deprecated",
42+
"settings": {
43+
"background": "#96000014"
44+
}
45+
},
46+
{
47+
"name": "Invalid - Illegal",
48+
"scope": "invalid.illegal",
49+
"settings": {
50+
"background": "#96000014",
51+
"foreground": "#660000"
52+
}
53+
},
54+
{
55+
"name": "Operators",
56+
"scope": "keyword.operator",
57+
"settings": {
58+
"foreground": "#A9A9A9"
59+
}
60+
},
61+
{
62+
"name": "Keywords",
63+
"scope": [
64+
"keyword",
65+
"storage"
66+
],
67+
"settings": {
68+
"foreground": "#00008B"
69+
}
70+
},
71+
{
72+
"name": "Types",
73+
"scope": [
74+
"storage.type",
75+
"support.type"
76+
],
77+
"settings": {
78+
"foreground": "#00008B"
79+
}
80+
},
81+
{
82+
"name": "Language Constants",
83+
"scope": [
84+
"constant.language",
85+
"support.constant",
86+
"variable.language"
87+
],
88+
"settings": {
89+
"foreground": "#008080"
90+
}
91+
},
92+
{
93+
"name": "Variables",
94+
"scope": [
95+
"variable",
96+
"support.variable"
97+
],
98+
"settings": {
99+
"foreground": "#FF4500"
100+
}
101+
},
102+
{
103+
"name": "Functions",
104+
"scope": [
105+
"entity.name.function",
106+
"support.function"
107+
],
108+
"settings": {
109+
"foreground": "#0000FF"
110+
}
111+
},
112+
{
113+
"name": "Classes",
114+
"scope": [
115+
"entity.name.type",
116+
"entity.other.inherited-class",
117+
"support.class"
118+
],
119+
"settings": {
120+
"foreground": "#7A3E9D"
121+
}
122+
},
123+
{
124+
"name": "Exceptions",
125+
"scope": "entity.name.exception",
126+
"settings": {
127+
"foreground": "#660000"
128+
}
129+
},
130+
{
131+
"name": "Sections",
132+
"scope": "entity.name.section",
133+
"settings": {
134+
}
135+
},
136+
{
137+
"name": "Numbers, Characters",
138+
"scope": [
139+
"constant.numeric",
140+
"constant.character",
141+
"constant"
142+
],
143+
"settings": {
144+
"foreground": "#800080"
145+
}
146+
},
147+
{
148+
"name": "Strings",
149+
"scope": "string",
150+
"settings": {
151+
"foreground": "#8B0000"
152+
}
153+
},
154+
{
155+
"name": "Strings: Escape Sequences",
156+
"scope": "constant.character.escape",
157+
"settings": {
158+
"foreground": "#8B0000"
159+
}
160+
},
161+
{
162+
"name": "Strings: Regular Expressions",
163+
"scope": "string.regexp",
164+
"settings": {
165+
"foreground": "#8B0000"
166+
}
167+
},
168+
{
169+
"name": "Strings: Symbols",
170+
"scope": "constant.other.symbol",
171+
"settings": {
172+
"foreground": "#8B0000"
173+
}
174+
},
175+
{
176+
"name": "Punctuation",
177+
"scope": "punctuation",
178+
"settings": {
179+
"foreground": "#000000"
180+
}
181+
}
182+
],
183+
"colors": {
184+
"activityBar.background": "#E1ECF9",
185+
"activityBar.foreground": "#A9A9A9",
186+
"activityBarBadge.background": "#A9A9A9",
187+
"editor.lineHighlightBackground": "#94c6f7",
188+
"editor.selectionBackground": "#94c6f7",
189+
"statusBar.background": "#999999",
190+
"statusBar.debuggingBackground": "#FF4500",
191+
"statusBar.noFolderBackground": "#999999",
192+
"terminal.background": "#012456",
193+
"terminal.foreground": "#F5F5F5"
194+
}
195+
}

0 commit comments

Comments
 (0)