Uses inputActiveOptionBackground as default for actionBar.toggledBackground

This commit is contained in:
Henning Dieterichs 2023-08-14 17:51:57 +02:00 committed by Henning Dieterichs
parent 04dd69f669
commit d72cb889ed
5 changed files with 11 additions and 5 deletions

View file

@ -26,6 +26,7 @@
"list.activeSelectionIconForeground": "#FFF",
"terminal.inactiveSelectionBackground": "#3A3D41",
"widget.border": "#303031",
"actionBar.toggledBackground": "#383a49"
},
"tokenColors": [
{

View file

@ -11,7 +11,8 @@
"editor.selectionBackground": "#FFFFFF",
"statusBarItem.remoteBackground": "#00000000",
"ports.iconRunningProcessForeground": "#FFFFFF",
"editorWhitespace.foreground": "#7c7c7c"
"editorWhitespace.foreground": "#7c7c7c",
"actionBar.toggledBackground": "#383a49"
},
"tokenColors": [
{

View file

@ -562,5 +562,8 @@
"foreground": "#800080"
}
}
]
],
"colors": {
"actionBar.toggledBackground": "#dddddd"
}
}

View file

@ -30,7 +30,8 @@
"list.activeSelectionIconForeground": "#FFF",
"list.focusAndSelectionOutline": "#90C2F9",
"terminal.inactiveSelectionBackground": "#E5EBF1",
"widget.border": "#d4d4d4"
"widget.border": "#d4d4d4",
"actionBar.toggledBackground": "#dddddd"
},
"tokenColors": [
{

View file

@ -17,11 +17,11 @@ import { IContextViewService } from 'vs/platform/contextview/browser/contextView
import { InstantiationType, registerSingleton } from 'vs/platform/instantiation/common/extensions';
import { createDecorator, IInstantiationService, ServicesAccessor } from 'vs/platform/instantiation/common/instantiation';
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
import { registerColor } from 'vs/platform/theme/common/colorRegistry';
import { inputActiveOptionBackground, registerColor } from 'vs/platform/theme/common/colorRegistry';
registerColor(
'actionBar.toggledBackground',
{ dark: '#383a49', light: '#dddddd', hcDark: '#383a49', hcLight: '#dddddd', },
{ dark: inputActiveOptionBackground, light: inputActiveOptionBackground, hcDark: inputActiveOptionBackground, hcLight: inputActiveOptionBackground, },
localize('actionBar.toggledBackground', 'Background color for toggled action items in action bar.')
);