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
},
"padding": {
"top": 3,
"bottom": 3,
"top": 2,
"bottom": 2,
"left": 8,
"right": 8
},

View File

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

View File

@ -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,
},