commandPalette.ts

 1import Theme from "../themes/theme";
 2import { text, backgroundColor, border } from "./components";
 3
 4export default function commandPalette(theme: Theme) {
 5  return {
 6    keystrokeSpacing: 8,
 7    key: {
 8      text: text(theme, "mono", "secondary", { size: "xs" }),
 9      cornerRadius: 3,
10      background: backgroundColor(theme, "info", "base"),
11      border: border(theme, "info"),
12      padding: {
13        left: 3,
14        right: 3,
15      },
16      margin: {
17        left: 3
18      },
19    }
20  }
21}