mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Reduce key icon size to avoid extra padding on command palette item
- Also remove unneeded imports
This commit is contained in:
parent
408f8d4297
commit
484204c2a0
@ -741,8 +741,8 @@
|
||||
"width": 1
|
||||
},
|
||||
"padding": {
|
||||
"top": 3,
|
||||
"bottom": 3,
|
||||
"top": 2,
|
||||
"bottom": 2,
|
||||
"left": 8,
|
||||
"right": 8
|
||||
},
|
||||
|
@ -741,8 +741,8 @@
|
||||
"width": 1
|
||||
},
|
||||
"padding": {
|
||||
"top": 3,
|
||||
"bottom": 3,
|
||||
"top": 2,
|
||||
"bottom": 2,
|
||||
"left": 8,
|
||||
"right": 8
|
||||
},
|
||||
|
@ -1,6 +1,5 @@
|
||||
import Theme from "../themes/theme";
|
||||
import { colors } from "../tokens";
|
||||
import { text, backgroundColor, border, borderColor } from "./components";
|
||||
import { text, backgroundColor, border } from "./components";
|
||||
|
||||
export default function commandPalette(theme: Theme) {
|
||||
return {
|
||||
@ -11,8 +10,8 @@ export default function commandPalette(theme: Theme) {
|
||||
background: backgroundColor(theme, "on300"),
|
||||
border: border(theme, "secondary"),
|
||||
padding: {
|
||||
top: 3,
|
||||
bottom: 3,
|
||||
top: 2,
|
||||
bottom: 2,
|
||||
left: 8,
|
||||
right: 8,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user