From c3cc9be593b03af8a8a1858ced435cb603ead228 Mon Sep 17 00:00:00 2001 From: weishu Date: Fri, 2 Jan 2026 17:13:23 +0800 Subject: [PATCH] fix: correct diff/file toggle button styling in dark mode The selected button was using bg-[var(--app-link)] with white text, which resulted in invisible text in dark mode (white background + white text). Changed to use bg-[var(--app-button)] and text-[var(--app-button-text)] with opacity-80 for proper contrast in both light and dark themes. --- web/src/routes/sessions/file.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/routes/sessions/file.tsx b/web/src/routes/sessions/file.tsx index 300f005d..179a29b1 100644 --- a/web/src/routes/sessions/file.tsx +++ b/web/src/routes/sessions/file.tsx @@ -219,14 +219,14 @@ export default function FilePage() {