@@ -10,6 +10,7 @@ import { setupCustomHover } from 'vs/base/browser/ui/iconLabel/iconLabelHover';
10
10
import { renderIcon } from 'vs/base/browser/ui/iconLabel/iconLabels' ;
11
11
import { IAction } from 'vs/base/common/actions' ;
12
12
import { Codicon } from 'vs/base/common/codicons' ;
13
+ import { Color } from 'vs/base/common/color' ;
13
14
import { Emitter , Event } from 'vs/base/common/event' ;
14
15
import { DisposableStore } from 'vs/base/common/lifecycle' ;
15
16
import { localize } from 'vs/nls' ;
@@ -157,22 +158,29 @@ colors.registerColor(
157
158
// background (inactive and active)
158
159
colors . registerColor (
159
160
'commandCenter.background' ,
160
- { dark : null , hcDark : null , light : null , hcLight : null } ,
161
+ {
162
+ dark : Color . white . transparent ( 0.05 ) , hcDark : null , light : Color . black . transparent ( 0.05 ) , hcLight : null
163
+ } ,
161
164
localize ( 'commandCenter-background' , "Background color of the command center" ) ,
162
165
false
163
166
) ;
164
167
colors . registerColor (
165
168
'commandCenter.activeBackground' ,
166
- { dark : MENUBAR_SELECTION_BACKGROUND , hcDark : MENUBAR_SELECTION_BACKGROUND , light : MENUBAR_SELECTION_BACKGROUND , hcLight : MENUBAR_SELECTION_BACKGROUND } ,
169
+ { dark : Color . white . transparent ( 0.08 ) , hcDark : MENUBAR_SELECTION_BACKGROUND , light : Color . black . transparent ( 0.08 ) , hcLight : MENUBAR_SELECTION_BACKGROUND } ,
167
170
localize ( 'commandCenter-activeBackground' , "Active background color of the command center" ) ,
168
171
false
169
172
) ;
170
- // border: defaults to active background
173
+ // border: active and inactive. defaults to active background
171
174
colors . registerColor (
172
- 'commandCenter.border' , { dark : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .25 ) , hcDark : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .25 ) , light : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .25 ) , hcLight : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .25 ) } ,
175
+ 'commandCenter.border' , { dark : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .20 ) , hcDark : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .60 ) , light : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .20 ) , hcLight : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .60 ) } ,
173
176
localize ( 'commandCenter-border' , "Border color of the command center" ) ,
174
177
false
175
178
) ;
179
+ colors . registerColor (
180
+ 'commandCenter.activeBorder' , { dark : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .30 ) , hcDark : TITLE_BAR_ACTIVE_FOREGROUND , light : colors . transparent ( TITLE_BAR_ACTIVE_FOREGROUND , .30 ) , hcLight : TITLE_BAR_ACTIVE_FOREGROUND } ,
181
+ localize ( 'commandCenter-activeBorder' , "Active border color of the command center" ) ,
182
+ false
183
+ ) ;
176
184
// border: defaults to active background
177
185
colors . registerColor (
178
186
'commandCenter.inactiveBorder' , { dark : colors . transparent ( TITLE_BAR_INACTIVE_FOREGROUND , .25 ) , hcDark : colors . transparent ( TITLE_BAR_INACTIVE_FOREGROUND , .25 ) , light : colors . transparent ( TITLE_BAR_INACTIVE_FOREGROUND , .25 ) , hcLight : colors . transparent ( TITLE_BAR_INACTIVE_FOREGROUND , .25 ) } ,
0 commit comments