From e94aecaa08e900b8c9c1fff36613ddba409b539f Mon Sep 17 00:00:00 2001 From: Kagura Date: Mon, 18 May 2026 16:38:40 +0800 Subject: [PATCH] fix(tui): use contrast-aware foreground for paste summary badge (#27969) Co-authored-by: Simon Klee --- packages/opencode/src/cli/cmd/tui/context/theme.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opencode/src/cli/cmd/tui/context/theme.tsx b/packages/opencode/src/cli/cmd/tui/context/theme.tsx index 24d122162a..3829f4488c 100644 --- a/packages/opencode/src/cli/cmd/tui/context/theme.tsx +++ b/packages/opencode/src/cli/cmd/tui/context/theme.tsx @@ -773,7 +773,7 @@ function getSyntaxRules(theme: Theme) { { scope: ["extmark.paste"], style: { - foreground: theme.background, + foreground: selectedForeground(theme, theme.warning), background: theme.warning, bold: true, },