mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Align menubar hover background with rest of titlebar items (#149956)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { localize } from 'vs/nls';
|
||||
import { registerColor, editorBackground, contrastBorder, transparent, editorWidgetBackground, textLinkForeground, lighten, darken, focusBorder, activeContrastBorder, editorWidgetForeground, editorErrorForeground, editorWarningForeground, editorInfoForeground, treeIndentGuidesStroke, errorForeground, listActiveSelectionBackground, listActiveSelectionForeground, editorForeground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { registerColor, editorBackground, contrastBorder, transparent, editorWidgetBackground, textLinkForeground, lighten, darken, focusBorder, activeContrastBorder, editorWidgetForeground, editorErrorForeground, editorWarningForeground, editorInfoForeground, treeIndentGuidesStroke, errorForeground, listActiveSelectionBackground, listActiveSelectionForeground, editorForeground, toolbarHoverBackground } from 'vs/platform/theme/common/colorRegistry';
|
||||
import { IColorTheme } from 'vs/platform/theme/common/themeService';
|
||||
import { Color } from 'vs/base/common/color';
|
||||
import { ColorScheme } from 'vs/platform/theme/common/theme';
|
||||
@@ -763,8 +763,8 @@ export const MENUBAR_SELECTION_FOREGROUND = registerColor('menubar.selectionFore
|
||||
}, localize('menubarSelectionForeground', "Foreground color of the selected menu item in the menubar."));
|
||||
|
||||
export const MENUBAR_SELECTION_BACKGROUND = registerColor('menubar.selectionBackground', {
|
||||
dark: transparent(Color.white, 0.1),
|
||||
light: transparent(Color.black, 0.1),
|
||||
dark: toolbarHoverBackground,
|
||||
light: toolbarHoverBackground,
|
||||
hcDark: null,
|
||||
hcLight: null,
|
||||
}, localize('menubarSelectionBackground', "Background color of the selected menu item in the menubar."));
|
||||
|
||||
Reference in New Issue
Block a user