Skip to content

Commit 15a17fe

Browse files
committed
add VisualStudioLight Theme
1 parent 89e23c2 commit 15a17fe

File tree

3 files changed

+207
-0
lines changed

3 files changed

+207
-0
lines changed

src/TextMateSharp.Grammars/RegistryOptions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,8 @@ string GetThemeFile(ThemeName name)
337337
return "atom-one-light-color-theme.json";
338338
case ThemeName.AtomOneDark:
339339
return "atom-one-dark-color-theme.json";
340+
case ThemeName.VisualStudioLight:
341+
return "visual-studio-light-theme.json";
340342
case ThemeName.VisualStudioDark:
341343
return "visual-studio-dark-theme.json";
342344
}
Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
{
2+
"name": "Visual Studio Light",
3+
"type": "light",
4+
"colors": {
5+
"editor.background": "#FFFFFF",
6+
"editor.foreground": "#000000",
7+
"editor.lineHighlightBackground": "#F5F5F5",
8+
"editorCursor.foreground": "#000000",
9+
"editorWhitespace.foreground": "#C8C8C8",
10+
"editorIndentGuide.background": "#EBEBEB",
11+
"editorIndentGuide.activeBackground": "#D6D6D6",
12+
"editor.selectionBackground": "#ADD6FF",
13+
"editor.selectionHighlightBackground": "#ADD6FF80",
14+
"editor.wordHighlightBackground": "#ADD6FF40",
15+
"editor.wordHighlightStrongBackground": "#ADD6FF60",
16+
"editor.findMatchBackground": "#A9D1FF",
17+
"editor.findMatchHighlightBackground": "#A9D1FF80",
18+
"editor.lineNumber.foreground": "#2B91AF",
19+
"editor.lineNumber.activeForeground": "#000000",
20+
"editorBracketMatch.background": "#D6D6D6",
21+
"editorBracketMatch.border": "#767676",
22+
23+
"dropdown.background": "#FFFFFF",
24+
"dropdown.border": "#E5E5E5",
25+
"dropdown.foreground": "#000000",
26+
27+
"list.activeSelectionBackground": "#3399FF",
28+
"list.activeSelectionForeground": "#FFFFFF",
29+
"list.focusBackground": "#D6D6D6",
30+
"list.hoverBackground": "#F0F0F0",
31+
"list.inactiveSelectionBackground": "#E5E5E5",
32+
"list.highlightForeground": "#0066CC",
33+
34+
"sideBar.background": "#F5F5F5",
35+
"sideBar.foreground": "#000000",
36+
"sideBarSectionHeader.background": "#E5E5E5",
37+
"sideBarSectionHeader.foreground": "#000000",
38+
39+
"statusBar.background": "#007ACC",
40+
"statusBar.foreground": "#FFFFFF",
41+
"statusBar.debuggingBackground": "#007ACC",
42+
"statusBar.noFolderBackground": "#007ACC",
43+
"statusBarItem.remoteBackground": "#005F8C",
44+
45+
"activityBar.background": "#F5F5F5",
46+
"activityBar.foreground": "#000000",
47+
"activityBarBadge.background": "#007ACC",
48+
"activityBarBadge.foreground": "#FFFFFF",
49+
50+
"titleBar.activeBackground": "#F5F5F5",
51+
"titleBar.activeForeground": "#000000",
52+
"titleBar.inactiveBackground": "#F5F5F5",
53+
"titleBar.inactiveForeground": "#767676",
54+
55+
"tab.activeBackground": "#FFFFFF",
56+
"tab.activeForeground": "#000000",
57+
"tab.inactiveBackground": "#F5F5F5",
58+
"tab.inactiveForeground": "#767676",
59+
"tab.border": "#E5E5E5",
60+
"tab.lastPinnedBorder": "#D6D6D6",
61+
62+
"peekView.border": "#007ACC",
63+
"peekViewResult.background": "#F5F5F5",
64+
"peekViewEditor.background": "#FFFFFF",
65+
"peekViewTitle.background": "#F5F5F5",
66+
67+
"terminal.ansiBlack": "#000000",
68+
"terminal.ansiRed": "#A31515",
69+
"terminal.ansiGreen": "#008000",
70+
"terminal.ansiYellow": "#795E26",
71+
"terminal.ansiBlue": "#0451A5",
72+
"terminal.ansiMagenta": "#800080",
73+
"terminal.ansiCyan": "#098658",
74+
"terminal.ansiWhite": "#D4D4D4",
75+
"terminal.ansiBrightBlack": "#666666",
76+
"terminal.ansiBrightRed": "#A31515",
77+
"terminal.ansiBrightGreen": "#008000",
78+
"terminal.ansiBrightYellow": "#795E26",
79+
"terminal.ansiBrightBlue": "#0451A5",
80+
"terminal.ansiBrightMagenta": "#800080",
81+
"terminal.ansiBrightCyan": "#098658",
82+
"terminal.ansiBrightWhite": "#FFFFFF"
83+
},
84+
"tokenColors": [
85+
{
86+
"scope": ["comment", "punctuation.definition.comment"],
87+
"settings": {
88+
"foreground": "#008000",
89+
"fontStyle": "italic"
90+
}
91+
},
92+
{
93+
"scope": ["string", "punctuation.definition.string"],
94+
"settings": {
95+
"foreground": "#A31515"
96+
}
97+
},
98+
{
99+
"scope": ["constant.numeric", "constant.language"],
100+
"settings": {
101+
"foreground": "#098658"
102+
}
103+
},
104+
{
105+
"scope": ["keyword", "storage.type", "storage.modifier"],
106+
"settings": {
107+
"foreground": "#0000FF"
108+
}
109+
},
110+
{
111+
"scope": ["entity.name.function", "support.function"],
112+
"settings": {
113+
"foreground": "#795E26"
114+
}
115+
},
116+
{
117+
"scope": ["entity.name.class", "entity.name.type"],
118+
"settings": {
119+
"foreground": "#267F99"
120+
}
121+
},
122+
{
123+
"scope": ["variable", "variable.parameter"],
124+
"settings": {
125+
"foreground": "#001080"
126+
}
127+
},
128+
{
129+
"scope": ["entity.name.tag", "punctuation.definition.tag"],
130+
"settings": {
131+
"foreground": "#800000"
132+
}
133+
},
134+
{
135+
"scope": ["entity.other.attribute-name"],
136+
"settings": {
137+
"foreground": "#FF0000"
138+
}
139+
},
140+
{
141+
"scope": ["invalid"],
142+
"settings": {
143+
"foreground": "#FF0000",
144+
"fontStyle": "underline"
145+
}
146+
},
147+
{
148+
"scope": ["markup.heading"],
149+
"settings": {
150+
"foreground": "#800000",
151+
"fontStyle": "bold"
152+
}
153+
},
154+
{
155+
"scope": ["markup.bold"],
156+
"settings": {
157+
"fontStyle": "bold"
158+
}
159+
},
160+
{
161+
"scope": ["markup.italic"],
162+
"settings": {
163+
"fontStyle": "italic"
164+
}
165+
},
166+
{
167+
"scope": ["markup.strikethrough"],
168+
"settings": {
169+
"fontStyle": "strikethrough"
170+
}
171+
},
172+
{
173+
"scope": ["markup.underline.link"],
174+
"settings": {
175+
"foreground": "#0451A5"
176+
}
177+
},
178+
{
179+
"scope": ["token.info-token"],
180+
"settings": {
181+
"foreground": "#0451A5"
182+
}
183+
},
184+
{
185+
"scope": ["token.warn-token"],
186+
"settings": {
187+
"foreground": "#795E26"
188+
}
189+
},
190+
{
191+
"scope": ["token.error-token"],
192+
"settings": {
193+
"foreground": "#A31515"
194+
}
195+
},
196+
{
197+
"scope": ["token.debug-token"],
198+
"settings": {
199+
"foreground": "#800080"
200+
}
201+
}
202+
],
203+
"semanticHighlighting": true
204+
}

src/TextMateSharp.Grammars/ThemeName.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public enum ThemeName
2121
Dracula,
2222
AtomOneLight,
2323
AtomOneDark,
24+
VisualStudioLight,
2425
VisualStudioDark,
2526
}
2627
}

0 commit comments

Comments
 (0)