mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 05:33:49 +00:00
Add border to context menu
This commit is contained in:
parent
939020a652
commit
c920a4229d
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
import Theme from "../themes/common/theme";
|
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) {
|
export default function contextMenu(theme: Theme) {
|
||||||
return {
|
return {
|
||||||
|
@ -7,6 +7,7 @@ export default function contextMenu(theme: Theme) {
|
||||||
cornerRadius: 6,
|
cornerRadius: 6,
|
||||||
padding: 6,
|
padding: 6,
|
||||||
shadow: shadow(theme),
|
shadow: shadow(theme),
|
||||||
|
border: border(theme, "primary"),
|
||||||
item: {
|
item: {
|
||||||
padding: { left: 4, right: 4, top: 2, bottom: 2 },
|
padding: { left: 4, right: 4, top: 2, bottom: 2 },
|
||||||
cornerRadius: 6,
|
cornerRadius: 6,
|
||||||
|
|
Loading…
Reference in a new issue