forked from 0xWheatyz/SPARC
Fix remaining dark mode issue in Analysis page prose block #1628
Reference in New Issue
Block a user
Delete Branch "feature/1605-dark-mode"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
prose-invertbeing applied unconditionally on the Analysis page, which caused inverted (light) text styling in light mode within the AI analysis results sectiondark:prose-invertso the Tailwind prose color inversion only activates when dark mode is enabledContext
The broader dark mode feature requested in #1605 was already fully implemented:
tailwind.config.jshasdarkMode: 'class'ThemeContext.tsxprovides toggle, localStorage persistence, andprefers-color-schemedetectionLayout.tsxhas Sun/Moon toggle button in the main navigationtext-text-primary,bg-bg-card, etc.) that automatically adaptuseChartTheme.tsprovides theme-aware recharts colorsdark:to-indigo-950gradient variantsThis PR fixes the only remaining unstyled element.
Test plan
Closes #1605