Top repos, commits chart filter and Year in Code banner: theme colours

Aperta
#4,007 7 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Tanishh-13 ci sta già lavorando.

Dal 3/12/2026.

  • #4012 di @sumitkhond111-del — aperta
  • #4019 di @AhmadBilalDSA — chiusa senza merge
  • #4056 di @Tanishh-13 — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
next.js, react, tailwindcss, typescript
Ambito
design, frontend

Direzione di ricerca

Read src/app/globals.css and tailwind.config.ts to identify the theme tokens and named colours, then inspect src/components/TopRepos.tsx, src/components/ContributionGraph.tsx, and src/components/dashboard/WrappedSpotlight.tsx. Replace the fixed palette classes with theme colours, following the note about opacity classes. Done means no fixed palette classes remain and before/after screenshots cover 1280px and 390px in Arcade and Terminal.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue level 1 level:beginner status:assigned type:design
Summary

Split from #3676. Fixed palette classes are left in:

  • src/components/TopRepos.tsx (~10)
  • src/components/ContributionGraph.tsx (~4, e.g. the "All repos" filter is slate in every theme)
  • src/components/dashboard/WrappedSpotlight.tsx (~7, the purple Year in Code banner)
Expected outcome

Every surface, text and border colour comes from the theme tokens in src/app/globals.css (var(--card), var(--muted-foreground), var(--accent), var(--border), var(--chart-N)...), with the named Tailwind colours from tailwind.config.ts (bg-accent/20, text-success...) where you need opacity. Note bg-[var(--x)]/NN produces no CSS in our Tailwind version, so use the named colours for opacity. Find them with grep -nE '(bg|text|border|from|to|ring)-(slate|gray|zinc|neutral|blue|indigo|purple|violet|green|emerald|red|amber|yellow)-[0-9]{2,3}' <file>.

Acceptance criteria
  • No fixed palette classes left in the three files
  • Before/after screenshots at 1280px and 390px, in Arcade and Terminal (the theme where fixed colours clash most)
Lingua principale
TypeScript
Stelle
246
Fork
436
Merge medio
9h 33m
PR unite (30g)
213

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Priyanshu-byte-coder/devtrack

Tutte le issue di Priyanshu-byte-coder/devtrack

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.