mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Merge pull request #1123 from zed-industries/add-context-menu-borders
Add border to context menu
This commit is contained in:
commit
7efd68966c
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
import Theme from "../themes/common/theme";
|
||||
import { backgroundColor, borderColor, shadow, text } from "./components";
|
||||
import { backgroundColor, border, borderColor, shadow, text } from "./components";
|
||||
|
||||
export default function contextMenu(theme: Theme) {
|
||||
return {
|
||||
|
@ -7,6 +7,7 @@ export default function contextMenu(theme: Theme) {
|
|||
cornerRadius: 6,
|
||||
padding: 6,
|
||||
shadow: shadow(theme),
|
||||
border: border(theme, "primary"),
|
||||
item: {
|
||||
padding: { left: 4, right: 4, top: 2, bottom: 2 },
|
||||
cornerRadius: 6,
|
||||
|
|
Loading…
Reference in a new issue