mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 04:36:24 +00:00
- Increases the Picker min-width from 500 to 540 - Makes some changes to the styling of keyboard shortcuts in the command palette
23 lines
529 B
TypeScript
23 lines
529 B
TypeScript
import Theme from "../themes/theme";
|
|
import { text, backgroundColor, border } from "./components";
|
|
|
|
export default function commandPalette(theme: Theme) {
|
|
return {
|
|
keystrokeSpacing: 8,
|
|
key: {
|
|
text: text(theme, "mono", "secondary", { size: "xs" }),
|
|
cornerRadius: 4,
|
|
background: backgroundColor(theme, "on300"),
|
|
border: border(theme, "secondary"),
|
|
padding: {
|
|
top: 2,
|
|
bottom: 2,
|
|
left: 8,
|
|
right: 8,
|
|
},
|
|
margin: {
|
|
left: 2
|
|
},
|
|
}
|
|
}
|
|
}
|