Reduce key icon size to avoid extra padding on command palette item

- Also remove unneeded imports
This commit is contained in:
Nate Butler 2022-04-19 02:48:35 -04:00
parent 408f8d4297
commit 484204c2a0
3 changed files with 7 additions and 8 deletions

View file

@ -741,8 +741,8 @@
"width": 1 "width": 1
}, },
"padding": { "padding": {
"top": 3, "top": 2,
"bottom": 3, "bottom": 2,
"left": 8, "left": 8,
"right": 8 "right": 8
}, },

View file

@ -741,8 +741,8 @@
"width": 1 "width": 1
}, },
"padding": { "padding": {
"top": 3, "top": 2,
"bottom": 3, "bottom": 2,
"left": 8, "left": 8,
"right": 8 "right": 8
}, },

View file

@ -1,6 +1,5 @@
import Theme from "../themes/theme"; import Theme from "../themes/theme";
import { colors } from "../tokens"; import { text, backgroundColor, border } from "./components";
import { text, backgroundColor, border, borderColor } from "./components";
export default function commandPalette(theme: Theme) { export default function commandPalette(theme: Theme) {
return { return {
@ -11,8 +10,8 @@ export default function commandPalette(theme: Theme) {
background: backgroundColor(theme, "on300"), background: backgroundColor(theme, "on300"),
border: border(theme, "secondary"), border: border(theme, "secondary"),
padding: { padding: {
top: 3, top: 2,
bottom: 3, bottom: 2,
left: 8, left: 8,
right: 8, right: 8,
}, },