Goals: theme colours instead of fixed Tailwind palette

Open
#4,005 2 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@kshgrshrn is already working on this.

Since Dec 3, 2026.

  • #4017 by @sumitkhond111-del — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
next.js, react, tailwindcss, typescript
Domain
design, frontend

Research direction

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.

Written by the indexing model from the issue text.

Description

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)
Dominant language
TypeScript
Stars
246
Forks
436
Avg merge
9h 33m
Merged PRs (30d)
213

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Priyanshu-byte-coder/devtrack

All issues in Priyanshu-byte-coder/devtrack

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.