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

オープン
#4,007 コメント 7 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Tanishh-13 がすでに取り組んでいます。

2026年12月3日 から。

  • #4012 @sumitkhond111-del による — オープン
  • #4019 @AhmadBilalDSA による — マージされずにクローズ
  • #4056 @Tanishh-13 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
next.js, react, tailwindcss, typescript
領域
design, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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)
主要言語
TypeScript
スター
246
フォーク
436
平均マージ
9時間 33分
マージ済み PR(30日)
213

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Priyanshu-byte-coder/devtrack のほかの issue

Priyanshu-byte-coder/devtrack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。