fix: 修正 logo 中 N 和 G 字母造型
N 添加对角线笔画(█▄ █),G 添加内横杠(█ ▀█), 避免与 O 字母造型雷同。同步更新 ui.ts 中的硬编码 wordmark。
This commit is contained in:
26
packages/storybook/.storybook/mocks/app/context/command.ts
Normal file
26
packages/storybook/.storybook/mocks/app/context/command.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
const keybinds: Record<string, string> = {
|
||||
"file.attach": "mod+u",
|
||||
"prompt.mode.shell": "mod+shift+x",
|
||||
"prompt.mode.normal": "mod+shift+e",
|
||||
"permissions.autoaccept": "mod+shift+a",
|
||||
"agent.cycle": "mod+.",
|
||||
"model.choose": "mod+m",
|
||||
"model.variant.cycle": "mod+shift+m",
|
||||
}
|
||||
|
||||
export function formatKeybind(config: string) {
|
||||
return config === "none" ? "" : config
|
||||
}
|
||||
|
||||
export function useCommand() {
|
||||
return {
|
||||
options: [],
|
||||
register() {
|
||||
return () => undefined
|
||||
},
|
||||
trigger() {},
|
||||
keybind(id: string) {
|
||||
return keybinds[id]
|
||||
},
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user