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

Open
#4,007 7 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Tanishh-13 is already working on this.

Since Dec 3, 2026.

  • #4012 by @sumitkhond111-del — open
  • #4019 by @AhmadBilalDSA — closed without merging
  • #4056 by @Tanishh-13 — open

Assessment

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

Research direction

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.

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. 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)
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.