Skip to content

Commit d02f552

Browse files
committed
feat: update builtin color theme
1 parent 0c21a06 commit d02f552

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

src/extensions/theme-monokai/themes/monokai-color-theme.json

+8-9
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
"colors": {
44
"dropdown.background": "#414339",
55
"list.activeSelectionBackground": "#75715E",
6-
"list.focusBackground": "#414339",
6+
"quickInput.list.focusBackground": "#414339",
77
"dropdown.listBackground": "#1e1f1c",
8-
"settings.textInputBackground": "#32342d",
9-
"settings.numberInputBackground": "#32342d",
108
"list.inactiveSelectionBackground": "#414339",
119
"list.hoverBackground": "#3e3d32",
1210
"list.dropBackground": "#414339",
@@ -31,7 +29,8 @@
3129
"tab.inactiveBackground": "#34352f",
3230
"tab.border": "#1e1f1c",
3331
"tab.inactiveForeground": "#ccccc7",
34-
"widget.shadow": "#000000",
32+
"tab.lastPinnedBorder": "#414339",
33+
"widget.shadow": "#00000098",
3534
"progressBar.background": "#75715E",
3635
"badge.background": "#75715E",
3736
"badge.foreground": "#f8f8f2",
@@ -40,16 +39,16 @@
4039
"panelTitle.activeBorder": "#75715E",
4140
"panelTitle.inactiveForeground": "#75715E",
4241
"panel.border": "#414339",
42+
"settings.focusedRowBackground": "#4143395A",
4343
"titleBar.activeBackground": "#1e1f1c",
4444
"statusBar.background": "#414339",
4545
"statusBar.noFolderBackground": "#414339",
4646
"statusBar.debuggingBackground": "#75715E",
4747
"statusBarItem.remoteBackground": "#AC6218",
4848
"activityBar.background": "#272822",
4949
"activityBar.foreground": "#f8f8f2",
50-
"activityBar.dropBackground": "#414339",
51-
"sidebar.background": "#1e1f1c",
52-
"sidebarSectionHeader.background": "#272822",
50+
"sideBar.background": "#1e1f1c",
51+
"sideBarSectionHeader.background": "#272822",
5352
"menu.background": "#1e1f1c",
5453
"menu.foreground": "#cccccc",
5554
"pickerGroup.foreground": "#75715E",
@@ -274,14 +273,14 @@
274273
"scope": "invalid",
275274
"settings": {
276275
"fontStyle": "",
277-
"foreground": "#F8F8F0"
276+
"foreground": "#F44747"
278277
}
279278
},
280279
{
281280
"name": "Invalid deprecated",
282281
"scope": "invalid.deprecated",
283282
"settings": {
284-
"foreground": "#F8F8F0"
283+
"foreground": "#F44747"
285284
}
286285
},
287286
{

src/extensions/vscode-palenight-theme/index.ts

+9
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,21 @@ import { IExtension } from 'mo/model/extension';
44
const paleNightColorThemeExtension: IExtension = require('./package.json');
55

66
// Default
7+
const themeColors: IColorTheme = require('./themes/palenight.json');
78
const themeItalicColors: IColorTheme = require('./themes/palenight-italic.json');
9+
const themeOperatorColors: IColorTheme = require('./themes/palenight-operator.json');
10+
const themeMildContrastColors: IColorTheme = require('./themes/palenight-mild-contrast.json');
811

912
const themes = paleNightColorThemeExtension.contributes?.themes || [];
1013

14+
const themeZero = themes[0];
1115
const themeOne = themes[1];
16+
const themeTwo = themes[2];
17+
const themeThree = themes[3];
1218

19+
themes[0] = Object.assign({}, themeZero, themeColors);
1320
themes[1] = Object.assign({}, themeOne, themeItalicColors);
21+
themes[2] = Object.assign({}, themeTwo, themeOperatorColors);
22+
themes[3] = Object.assign({}, themeThree, themeMildContrastColors);
1423

1524
export { paleNightColorThemeExtension };

0 commit comments

Comments
 (0)