AI resume: replace the hard-coded blue/emerald/purple gradients in the contribution analysis

未关闭
#3,970 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@bhav-17 已经在做这个了。

开始于 2026年12月2日。

评估

这个 Issue 还没有评估数据。

描述

level 2 level:intermediate status:assigned type:design
Summary

src/components/career-intelligence/ContributionAnalysisPanel.tsx colours its categories with fixed Tailwind colours and gradients (bg-blue-500, from-blue-600, bg-emerald-500, from-purple-600... around lines 22-42). They ignore the theme, look out of place in Daylight and Terminal, and are the "AI look" the design system avoids. ResumePreview.tsx has two rounded-xl blocks too.

Expected outcome

Square corners (px-frame panels or 2px borders), no rounded-xl/shadow-*/gradients, colours from theme tokens (var(--card), var(--accent), bg-accent/20...), pixel-font headings like the other dashboard cards. Keep the layout and behaviour the same. For the per-category colours, use the existing chart/tier tokens or accent/accent.secondary named colours so each theme gets readable contrast.

Acceptance criteria
  • No bg-gradient-*, from-* or fixed blue/emerald/purple-NNN classes left in ContributionAnalysisPanel
  • Text keeps 4.5:1 contrast in all four themes
  • Before/after screenshots at 1280px and 390px, in Arcade and Daylight
主要语言
TypeScript
星标
246
派生
436
平均合并
9 小时 33 分钟
30 天内合并 PR
213

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Priyanshu-byte-coder/devtrack 的其他 Issue

查看 Priyanshu-byte-coder/devtrack 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。