Goals: theme colours instead of fixed Tailwind palette

Aperta
#4,005 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@kshgrshrn ci sta già lavorando.

Dal 3/12/2026.

  • #4017 di @sumitkhond111-del — aperta

Valutazione

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

Direzione di ricerca

Read src/components/GoalTracker.tsx and the theme tokens in src/app/globals.css and tailwind.config.ts; check the open pull request #4017 and coordinate with its changes. Replace the fixed palette classes with theme tokens or named Tailwind colours that support opacity. Done means no fixed palette classes remain and before/after screenshots are provided at 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. src/components/GoalTracker.tsx still has about 24 fixed palette classes (category chips, status colours, progress bars).

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>. Several PRs are touching this file (#3965, #3952): merge main often.

Acceptance criteria
  • No fixed palette classes left in GoalTracker
  • 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.