浏览代码

Improve light mode dark mode copy

Dax Raad 2 天之前
父节点
当前提交
1a59133168
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/opencode/src/cli/cmd/tui/app.tsx

+ 1 - 1
packages/opencode/src/cli/cmd/tui/app.tsx

@@ -606,7 +606,7 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
       category: "System",
     },
     {
-      title: "Toggle theme mode",
+      title: mode() === "dark" ? "Switch to light mode" : "Switch to dark mode",
       value: "theme.switch_mode",
       onSelect: (dialog) => {
         setMode(mode() === "dark" ? "light" : "dark")