Skip to content

Commit 3dcc608

Browse files
authored
Merge pull request #96 from ZeoNish/New-Themes
add new themes
2 parents 51eb01f + 15a17fe commit 3dcc608

File tree

5 files changed

+623
-2
lines changed

5 files changed

+623
-2
lines changed

src/TextMateSharp.Grammars/RegistryOptions.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,14 @@ string GetThemeFile(ThemeName name)
333333
return "hc_black.json";
334334
case ThemeName.Dracula:
335335
return "dracula-color-theme.json";
336+
case ThemeName.AtomOneLight:
337+
return "atom-one-light-color-theme.json";
336338
case ThemeName.AtomOneDark:
337339
return "atom-one-dark-color-theme.json";
340+
case ThemeName.VisualStudioLight:
341+
return "visual-studio-light-theme.json";
342+
case ThemeName.VisualStudioDark:
343+
return "visual-studio-dark-theme.json";
338344
}
339345

340346
return null;
@@ -351,4 +357,4 @@ static bool HasGrammar(string id, List<Grammar> grammars)
351357
return false;
352358
}
353359
}
354-
}
360+
}
Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,204 @@
1+
{
2+
"name": "One Light",
3+
"type": "light",
4+
"colors": {
5+
"editor.background": "#fafafa",
6+
"editor.foreground": "#383a42",
7+
"editor.lineHighlightBackground": "#f0f0f0",
8+
"editorCursor.foreground": "#526fff",
9+
"editorWhitespace.foreground": "#d4d4d4",
10+
"editorIndentGuide.background": "#e0e0e0",
11+
"editorIndentGuide.activeBackground": "#c0c0c0",
12+
"editor.selectionBackground": "#d4d4d4",
13+
"editor.selectionHighlightBackground": "#e0e0e0",
14+
"editor.wordHighlightBackground": "#e0e0e0",
15+
"editor.wordHighlightStrongBackground": "#d0d0d0",
16+
"editor.findMatchBackground": "#b4d8fd",
17+
"editor.findMatchHighlightBackground": "#b4d8fd80",
18+
"editor.lineNumber.foreground": "#a0a0a0",
19+
"editor.lineNumber.activeForeground": "#383a42",
20+
"editorBracketMatch.background": "#e0e0e0",
21+
"editorBracketMatch.border": "#a0a0a0",
22+
23+
"dropdown.background": "#ffffff",
24+
"dropdown.border": "#e0e0e0",
25+
"dropdown.foreground": "#383a42",
26+
27+
"list.activeSelectionBackground": "#e0e0e0",
28+
"list.activeSelectionForeground": "#383a42",
29+
"list.focusBackground": "#e0e0e0",
30+
"list.hoverBackground": "#f0f0f0",
31+
"list.inactiveSelectionBackground": "#e8e8e8",
32+
"list.highlightForeground": "#4078f2",
33+
34+
"sideBar.background": "#f5f5f5",
35+
"sideBar.foreground": "#383a42",
36+
"sideBarSectionHeader.background": "#e8e8e8",
37+
"sideBarSectionHeader.foreground": "#383a42",
38+
39+
"statusBar.background": "#e8e8e8",
40+
"statusBar.foreground": "#383a42",
41+
"statusBar.debuggingBackground": "#e8e8e8",
42+
"statusBar.noFolderBackground": "#e8e8e8",
43+
"statusBarItem.remoteBackground": "#d0d0d0",
44+
45+
"activityBar.background": "#f5f5f5",
46+
"activityBar.foreground": "#383a42",
47+
"activityBarBadge.background": "#4078f2",
48+
"activityBarBadge.foreground": "#ffffff",
49+
50+
"titleBar.activeBackground": "#f5f5f5",
51+
"titleBar.activeForeground": "#383a42",
52+
"titleBar.inactiveBackground": "#f5f5f5",
53+
"titleBar.inactiveForeground": "#a0a0a0",
54+
55+
"tab.activeBackground": "#fafafa",
56+
"tab.activeForeground": "#383a42",
57+
"tab.inactiveBackground": "#f0f0f0",
58+
"tab.inactiveForeground": "#a0a0a0",
59+
"tab.border": "#f0f0f0",
60+
"tab.lastPinnedBorder": "#d0d0d0",
61+
62+
"peekView.border": "#4078f2",
63+
"peekViewResult.background": "#f5f5f5",
64+
"peekViewEditor.background": "#fafafa",
65+
"peekViewTitle.background": "#f0f0f0",
66+
67+
"terminal.ansiBlack": "#383a42",
68+
"terminal.ansiRed": "#e45649",
69+
"terminal.ansiGreen": "#50a14f",
70+
"terminal.ansiYellow": "#c18401",
71+
"terminal.ansiBlue": "#4078f2",
72+
"terminal.ansiMagenta": "#a626a4",
73+
"terminal.ansiCyan": "#0184bc",
74+
"terminal.ansiWhite": "#fafafa",
75+
"terminal.ansiBrightBlack": "#a0a0a0",
76+
"terminal.ansiBrightRed": "#e45649",
77+
"terminal.ansiBrightGreen": "#50a14f",
78+
"terminal.ansiBrightYellow": "#c18401",
79+
"terminal.ansiBrightBlue": "#4078f2",
80+
"terminal.ansiBrightMagenta": "#a626a4",
81+
"terminal.ansiBrightCyan": "#0184bc",
82+
"terminal.ansiBrightWhite": "#ffffff"
83+
},
84+
"tokenColors": [
85+
{
86+
"scope": ["comment", "punctuation.definition.comment"],
87+
"settings": {
88+
"foreground": "#a0a1a7",
89+
"fontStyle": "italic"
90+
}
91+
},
92+
{
93+
"scope": ["string", "punctuation.definition.string"],
94+
"settings": {
95+
"foreground": "#50a14f"
96+
}
97+
},
98+
{
99+
"scope": ["constant.numeric", "constant.language"],
100+
"settings": {
101+
"foreground": "#986801"
102+
}
103+
},
104+
{
105+
"scope": ["keyword", "storage.type", "storage.modifier"],
106+
"settings": {
107+
"foreground": "#a626a4"
108+
}
109+
},
110+
{
111+
"scope": ["entity.name.function", "support.function"],
112+
"settings": {
113+
"foreground": "#4078f2"
114+
}
115+
},
116+
{
117+
"scope": ["entity.name.class", "entity.name.type"],
118+
"settings": {
119+
"foreground": "#c18401"
120+
}
121+
},
122+
{
123+
"scope": ["variable", "variable.parameter"],
124+
"settings": {
125+
"foreground": "#e45649"
126+
}
127+
},
128+
{
129+
"scope": ["entity.name.tag", "punctuation.definition.tag"],
130+
"settings": {
131+
"foreground": "#e45649"
132+
}
133+
},
134+
{
135+
"scope": ["entity.other.attribute-name"],
136+
"settings": {
137+
"foreground": "#986801"
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": "#c18401",
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": "#4078f2"
176+
}
177+
},
178+
{
179+
"scope": ["token.info-token"],
180+
"settings": {
181+
"foreground": "#4078f2"
182+
}
183+
},
184+
{
185+
"scope": ["token.warn-token"],
186+
"settings": {
187+
"foreground": "#c18401"
188+
}
189+
},
190+
{
191+
"scope": ["token.error-token"],
192+
"settings": {
193+
"foreground": "#e45649"
194+
}
195+
},
196+
{
197+
"scope": ["token.debug-token"],
198+
"settings": {
199+
"foreground": "#a626a4"
200+
}
201+
}
202+
],
203+
"semanticHighlighting": true
204+
}

0 commit comments

Comments
 (0)