[BUG]: Hardcoded text color in EmptyStateCard breaks light theme readability
Maintainer antworten meist innerhalb von 1 Tag
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
- Bereich
- accessibility, design, frontend
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 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
- Open OrgExplorer and switch to Light Theme via the navbar toggle.
- Navigate to
/repositoriesor search for an invalid term to triggerEmptyStateCard. - Observe the subtitle/description text color ("No repositories match your search...").
- It renders in
#D4C58Arather 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
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus AOSSIE-Org/OrgExplorer
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible nameEvtl. vergeben @prasanm1423 hat das vor 3 Tagen übernommen. Offenbug enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
AOSSIE-Org/OrgExplorer#466 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[FEATURE]: Set dynamic document.title based on active page routeEvtl. vergeben @23241a6749 hat das vor 1 Tag übernommen. Offenenhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
AOSSIE-Org/OrgExplorer#462 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedEvtl. vergeben @vivekrajputofficial29-afk hat das vor 1 Tag übernommen. Offenbug enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 89/100
AOSSIE-Org/OrgExplorer#461 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: governance page shows "No dead issues" before the audit has runEvtl. wieder frei @SYED-IRTEZA-HUSSAIN-RIZVI hat das vor 8 Tagen übernommen, und es ist kein Pull Request offen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
AOSSIE-Org/OrgExplorer#453 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: User-controlled org/repo names are interpolated into API URLs unencodedEvtl. vergeben @AbhishekKumar-cse hat das vor 10 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
AOSSIE-Org/OrgExplorer#449 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in AOSSIE-Org/OrgExplorer
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
kentcdodds/kcd-skills#32 ·
-
good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement frontend good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 2 Tagen
-
[推荐] SubtitleMedicOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100