Skip to content

Standardize Dark/Light Mode Theme Architecture #442

Description

@Luluameh
  • 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

  1. Standardize colors in global CSS (src/app/globals.css) using CSS variables for key colors (--background, --foreground, --primary, etc.).
  2. 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).
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions