[BUG]: Hardcoded text color in EmptyStateCard breaks light theme readability

Open
#460 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Abhishek2005-ard is already working on this.

Since Nov 16, 2026.

  • #463 by @Abhishek2005-ard — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
25/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
javascript, react

Research direction

Read src/components/EmptyStateCard.jsx at the reported color style and check how var(--text2) is defined for the light theme. The issue proposes replacing the hardcoded color with that token; verify the description text on the light theme at /repositories or with an invalid search. The issue is already linked to open pull request #463.

Written by the indexing model from the issue text.

Description

bug enhancement
Bug Description
Bug Description

In src/components/EmptyStateCard.jsx, the description text color is hardcoded to #D4C58A instead of using the theme design token var(--text2). When switching to the light theme, this muted gold/yellow color provides poor contrast and breaks visual consistency against light backgrounds.

Steps to Reproduce
  1. Open OrgExplorer and switch to Light Theme via the navbar toggle.
  2. Navigate to /repositories or search for an invalid term to trigger EmptyStateCard.
  3. Observe the subtitle/description text color ("No repositories match your search...").
  4. It renders in #D4C58A rather than adapting to the light theme's secondary text color.
Location
  • File: src/components/EmptyStateCard.jsx
  • Line: 64 (color: "#D4C58A")
Proposed Solution

Replace the hardcoded inline style:

- color: "#D4C58A",
+ color: "var(--text2)",
Impact

Low - Minor inconvenience / UI contrast bug

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Steps to Reproduce

No response

Logs and Screenshots

No response

Environment Details

No response

Impact

Critical - Application is unusable

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
Dominant language
JavaScript
Stars
53
Forks
187
Avg merge
18m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AOSSIE-Org/OrgExplorer

All issues in AOSSIE-Org/OrgExplorer

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.