Skip to content

Commit

Permalink
Updates custom menu borders and item styles (#164165)
Browse files Browse the repository at this point in the history
Updates menu item margin and radius and adds border to default themes
  • Loading branch information
daviddossett committed Oct 31, 2022
1 parent af3bd53 commit 2e7c066
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion extensions/theme-defaults/themes/dark_vs.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"activityBarBadge.background": "#007ACC",
"sideBarTitle.foreground": "#BBBBBB",
"input.placeholderForeground": "#A6A6A6",
"menu.background": "#303031",
"menu.background": "#252526",
"menu.foreground": "#CCCCCC",
"menu.separatorBackground": "#454545",
"menu.border": "#454545",
"statusBarItem.remoteForeground": "#FFF",
"statusBarItem.remoteBackground": "#16825D",
"ports.iconRunningProcessForeground": "#369432",
Expand Down
1 change: 1 addition & 0 deletions extensions/theme-defaults/themes/light_vs.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"activityBarBadge.background": "#007ACC",
"sideBarTitle.foreground": "#6F6F6F",
"list.hoverBackground": "#E8E8E8",
"menu.border": "#D4D4D4",
"input.placeholderForeground": "#767676",
"searchEditor.textInputBorder": "#CECECE",
"settings.textInputBorder": "#CECECE",
Expand Down
4 changes: 3 additions & 1 deletion src/vs/base/browser/ui/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,8 @@ ${formatRule(Codicon.menuSubmenu)}
height: 2em;
align-items: center;
position: relative;
margin: 0 4px;
border-radius: 4px;
}
.monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .keybinding,
Expand Down Expand Up @@ -1251,7 +1253,7 @@ ${formatRule(Codicon.menuSubmenu)}
/* Vertical Action Bar Styles */
.monaco-menu .monaco-action-bar.vertical {
padding: .6em 0;
padding: 4px 0;
}
.monaco-menu .monaco-action-bar.vertical .action-menu-item {
Expand Down

0 comments on commit 2e7c066

Please sign in to comment.