Skip to content

Add CSS variables for missing theme tokens causing hardcoded colors #545

Description

@Wilfred007

What

Several components use hardcoded color values (rgba, hex) instead of CSS variables. This breaks dark/light theme switching for those components.

Why

Theme toggle doesn't affect all components. Some elements remain the same color regardless of theme.

Scope

In scope: Audit all components for hardcoded colors, replace with CSS variables, complete variable set
Out of scope: Theme editor

Acceptance Criteria

  • Zero hardcoded color values in components
  • All colors use CSS variables
  • Both themes render correctly
  • No visual regressions

Technical Context

  • frontend/src/index.css — CSS variables
  • EmployeePortal.tsx has multiple hardcoded rgba values

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaignfrontendFrontend developmentmediumModerate tasks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions