Browse Source

fix: light mode visibility for filepath in /undo diff files (#5352)

Koichi Nakayamada 4 tháng trước cách đây
mục cha
commit
499ad4f84b

+ 1 - 1
packages/opencode/src/cli/cmd/tui/routes/session/index.tsx

@@ -894,7 +894,7 @@ export function Session() {
                                 <box marginTop={1}>
                                   <For each={revert()!.diffFiles}>
                                     {(file) => (
-                                      <text>
+                                      <text fg={theme.text}>
                                         {file.filename}
                                         <Show when={file.additions > 0}>
                                           <span style={{ fg: theme.diffAdded }}> +{file.additions}</span>