[BUG]: Hardcoded text color in EmptyStateCard breaks light theme readability
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- javascript, react
- Ambito
- accessibility, design, frontend
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- JavaScript
- Stelle
- 53
- Fork
- 182
- Merge medio
- 18m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di AOSSIE-Org/OrgExplorer
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible nameForse già presa @prasanm1423 l’ha presa 3 giorni fa. Apertabug enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AOSSIE-Org/OrgExplorer#466 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[FEATURE]: Set dynamic document.title based on active page routeForse già presa @23241a6749 l’ha presa 1 giorno fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
AOSSIE-Org/OrgExplorer#462 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedForse già presa @vivekrajputofficial29-afk l’ha presa 1 giorno fa. Apertabug enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 89/100
AOSSIE-Org/OrgExplorer#461 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: governance page shows "No dead issues" before the audit has runForse di nuovo libera @SYED-IRTEZA-HUSSAIN-RIZVI l’ha presa 8 giorni fa e non c’è nessuna pull request aperta. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
AOSSIE-Org/OrgExplorer#453 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: User-controlled org/repo names are interpolated into API URLs unencodedForse già presa @AbhishekKumar-cse l’ha presa 10 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
AOSSIE-Org/OrgExplorer#449 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di AOSSIE-Org/OrgExplorer
Issue simili
-
marketing
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
[bug]: Maximizing the Windows dashboard covers the taskbarForse già presa @xiufengsun l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
xiufengsun/TokenTracker#1152 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
parity: scripting.net's net-http row fails on macOS with errno 61 where the BDS golden has 111ApertaBug Tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
JSPrismarine/JSPrismarine#3384 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
desec-io/desec-stack#1312 ·
I maintainer di solito rispondono entro 14 giorni
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
w3c/csswg-drafts#14848 ·
I maintainer di solito rispondono entro 1 giorno