Consistency score, coding insights and AI mentor: theme colours

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

Maintainers usually reply within 1 day

@sujalgiriiitp-source is already working on this.

Since Dec 3, 2026.

  • #4015 by @sumitkhond111-del — open
  • #4018 by @AhmadBilalDSA — closed without merging
  • #4031 by @kshgrshrn — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Stale
Tech stack
nextjs, react, tailwindcss, typescript
Domain
design, frontend

Research direction

Read the three named components and compare their color classes with the theme tokens in src/app/globals.css and the named colors in tailwind.config.ts. The issue suggests a grep command to locate fixed palette classes. Done means replacing them in all three files and providing before and after screenshots at 1280px and 390px in Arcade and Terminal; linked pull requests #4015 and #4018 show work is already underway.

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/ConsistencyScoreWidget.tsx (~15)
  • src/components/CodingActivityInsightsCard.tsx (~9)
  • src/components/AIMentorWidget.tsx (~4)
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.