From d4d43cf9b8837b01443bf23e5fac479425dedc4a Mon Sep 17 00:00:00 2001 From: agent-company Date: Mon, 20 Apr 2026 06:08:02 +0000 Subject: [PATCH] Fix prose-invert to only apply in dark mode on Analysis page The prose-invert class was applied unconditionally, causing inverted (light) text in light mode within the AI analysis results section. Changed to dark:prose-invert so it only activates when dark mode is enabled. Note: The broader dark mode feature (issue #1605) is already fully implemented -- ThemeContext, toggle button, CSS variables, dark: variants across all pages. This fix addresses the only remaining unstyled element. Closes leeworks-agents/SPARC#1605 Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/pages/Analysis.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/Analysis.tsx b/frontend/src/pages/Analysis.tsx index 7ec67f7..2f4fc35 100644 --- a/frontend/src/pages/Analysis.tsx +++ b/frontend/src/pages/Analysis.tsx @@ -159,7 +159,7 @@ export function Analysis() { -
+
{result.analysis}