Skip to content

Commit 2e7c066

Browse files
authored
Updates custom menu borders and item styles (microsoft#164165)
Updates menu item margin and radius and adds border to default themes
1 parent af3bd53 commit 2e7c066

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

extensions/theme-defaults/themes/dark_vs.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@
1212
"activityBarBadge.background": "#007ACC",
1313
"sideBarTitle.foreground": "#BBBBBB",
1414
"input.placeholderForeground": "#A6A6A6",
15-
"menu.background": "#303031",
15+
"menu.background": "#252526",
1616
"menu.foreground": "#CCCCCC",
17+
"menu.separatorBackground": "#454545",
18+
"menu.border": "#454545",
1719
"statusBarItem.remoteForeground": "#FFF",
1820
"statusBarItem.remoteBackground": "#16825D",
1921
"ports.iconRunningProcessForeground": "#369432",

extensions/theme-defaults/themes/light_vs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"activityBarBadge.background": "#007ACC",
1414
"sideBarTitle.foreground": "#6F6F6F",
1515
"list.hoverBackground": "#E8E8E8",
16+
"menu.border": "#D4D4D4",
1617
"input.placeholderForeground": "#767676",
1718
"searchEditor.textInputBorder": "#CECECE",
1819
"settings.textInputBorder": "#CECECE",

src/vs/base/browser/ui/menu/menu.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,6 +1128,8 @@ ${formatRule(Codicon.menuSubmenu)}
11281128
height: 2em;
11291129
align-items: center;
11301130
position: relative;
1131+
margin: 0 4px;
1132+
border-radius: 4px;
11311133
}
11321134
11331135
.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding,
@@ -1251,7 +1253,7 @@ ${formatRule(Codicon.menuSubmenu)}
12511253
/* Vertical Action Bar Styles */
12521254
12531255
.monaco-menu .monaco-action-bar.vertical {
1254-
padding: .6em 0;
1256+
padding: 4px 0;
12551257
}
12561258
12571259
.monaco-menu .monaco-action-bar.vertical .action-menu-item {

0 commit comments

Comments
 (0)