- Labels:
enhancement, styling, theme
Description
While tailwind and next-themes are present, some CSS classes use hardcoded colors that do not adapt when switching themes. We need to audit and standardise theme styles across all major pages.
Technical Scope & Steps
- Standardize colors in global CSS (
src/app/globals.css) using CSS variables for key colors (--background, --foreground, --primary, etc.).
- Audit sidebar, cards, and modal components to replace hardcoded colors (like
bg-zinc-900) with variable classes or clean utility classes (bg-background text-foreground).
- Standardize hover states for all buttons to match light and dark modes.
Acceptance Criteria
- Toggling theme switches the entire application context immediately.
- Text contrast remains fully readable under both light and dark themes.
enhancement,styling,themeDescription
While tailwind and
next-themesare present, some CSS classes use hardcoded colors that do not adapt when switching themes. We need to audit and standardise theme styles across all major pages.Technical Scope & Steps
src/app/globals.css) using CSS variables for key colors (--background,--foreground,--primary, etc.).bg-zinc-900) with variable classes or clean utility classes (bg-background text-foreground).Acceptance Criteria