GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(tui): Use selectedForeground for question prompt tab text visibil… · bpd1069/opencode@68e504b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/opencode/src/cli/cmd/tui/routes/session
    • question.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/opencode/src/cli/cmd/tui/routes/session/question.tsx‎

Copy file name to clipboardExpand all lines: packages/opencode/src/cli/cmd/tui/routes/session/question.tsx
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createMemo, For, Show } from "solid-js"
33
import { useKeyboard } from "@opentui/solid"
44
import type { TextareaRenderable } from "@opentui/core"
55
import { useKeybind } from "../../context/keybind"
6-
import { tint, useTheme } from "../../context/theme"
6+
import { selectedForeground, tint, useTheme } from "../../context/theme"
77
import type { QuestionAnswer, QuestionRequest } from "@opencode-ai/sdk/v2"
88
import { useSDK } from "../../context/sdk"
99
import { SplitBorder } from "../../component/border"
@@ -272,7 +272,7 @@ export function QuestionPrompt(props: { request: QuestionRequest }) {
272272
backgroundColor={isActive() ? theme.accent : theme.backgroundElement}
273273
onMouseUp={() => selectTab(index())}
274274
>
275-
<text fg={isActive() ? theme.selectedListItemText : isAnswered() ? theme.text : theme.textMuted}>
275+
<text fg={isActive() ? selectedForeground(theme, theme.accent) : isAnswered() ? theme.text : theme.textMuted}>
276276
{q.header}
277277
</text>
278278
</box>
@@ -285,7 +285,7 @@ export function QuestionPrompt(props: { request: QuestionRequest }) {
285285
backgroundColor={confirm() ? theme.accent : theme.backgroundElement}
286286
onMouseUp={() => selectTab(questions().length)}
287287
>
288-
<text fg={confirm() ? theme.selectedListItemText : theme.textMuted}>Confirm</text>
288+
<text fg={confirm() ? selectedForeground(theme, theme.accent) : theme.textMuted}>Confirm</text>
289289
</box>
290290
</box>
291291
</Show>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.