Browse Source

fix: improve sidebar working directory colour contrast with modified files (resolves #5184 (#5188)

Ariane Emory 2 months ago
parent
commit
8b51da768c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/opencode/src/cli/cmd/tui/routes/session/sidebar.tsx

+ 2 - 2
packages/opencode/src/cli/cmd/tui/routes/session/sidebar.tsx

@@ -248,7 +248,7 @@ export function Sidebar(props: { sessionID: string }) {
           </box>
         </scrollbox>
 
-        <box flexShrink={0} gap={1}>
+        <box flexShrink={0} gap={1} paddingTop={1}>
           <Show when={!hasProviders()}>
             <box
               backgroundColor={theme.backgroundElement}
@@ -275,7 +275,7 @@ export function Sidebar(props: { sessionID: string }) {
               </box>
             </box>
           </Show>
-          <text fg={theme.textMuted}>{directory()}</text>
+          <text fg={theme.text}>{directory()}</text>
           <text fg={theme.textMuted}>
             <span style={{ fg: theme.success }}>•</span> <b>Open</b>
             <span style={{ fg: theme.text }}>