File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ const colors = {
250
250
unfocusedInactiveForeground : tokens . grays [ 400 ] ,
251
251
} ,
252
252
terminal : {
253
- background : tokens . grays [ 900 ] ,
253
+ background : tokens . grays [ 700 ] ,
254
254
foreground : tokens . white ,
255
255
ansiBrightBlack : tokens . blues [ 700 ] ,
256
256
ansiBrightRed : tokens . reds [ 500 ] ,
Original file line number Diff line number Diff line change @@ -40,8 +40,11 @@ const polyfillTheme = vsCodeTheme => {
40
40
41
41
const type = vsCodeTheme . type || guessType ( vsCodeTheme ) ;
42
42
43
+ // Step 0: Clone theme to make sure we don't modify the source
44
+ const clonedVsCodeTheme = deepmerge ( { colors : { } } , vsCodeTheme . colors || { } ) ;
45
+
43
46
// Step 1: Initialise with vscode theme
44
- const vsCodeColors = dot . object ( vsCodeTheme . colors || { } ) ;
47
+ const vsCodeColors = dot . object ( clonedVsCodeTheme . colors ) ;
45
48
uiColors = deepmerge ( uiColors , vsCodeColors ) ;
46
49
47
50
// Step 2: Fill missing values from existing values or codesandbox dark/light
@@ -162,6 +165,7 @@ const polyfillTheme = vsCodeTheme => {
162
165
selectedForeground : uiColors . sideBar . foreground ,
163
166
inactiveForeground : mutedForeground ,
164
167
hoverBackground : uiColors . sideBar . border ,
168
+ border : uiColors . sideBar . border ,
165
169
} ,
166
170
avatar : { border : uiColors . sideBar . border } ,
167
171
sideBar : { hoverBackground : uiColors . sideBar . border } ,
You can’t perform that action at this time.
0 commit comments