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

Offen
#460 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@Abhishek2005-ard arbeitet bereits daran.

Seit 16.11.2026.

  • #463 von @Abhishek2005-ard — offen

Bewertung

Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Veraltet
Tech-Stack
javascript, react

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
JavaScript
Sterne
53
Forks
182
Ø Merge
18 Min.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus AOSSIE-Org/OrgExplorer

Alle Issues in AOSSIE-Org/OrgExplorer

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.