فهرست منبع

fix(tui): use contrast-aware foreground for paste summary badge (#27969)

Co-authored-by: Simon Klee <hello@simonklee.dk>
Kagura 3 ماه پیش
والد
کامیت
e94aecaa08
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/opencode/src/cli/cmd/tui/context/theme.tsx

+ 1 - 1
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,
       },