Skip to content

Refresh the Star History palette - #729

Merged
luokerenx4 merged 1 commit into
devfrom
codex/refresh-star-history-palette
Jul 28, 2026
Merged

Refresh the Star History palette#729
luokerenx4 merged 1 commit into
devfrom
codex/refresh-star-history-palette

Conversation

@luokerenx4

Copy link
Copy Markdown
Contributor

Summary

  • replace the heavy black-and-gold default chart with a light mint palette that sits naturally in GitHub's light README theme
  • generate a matching dark-mode SVG from the same snapshot and select it with a README <picture> source
  • remove the 30-day KPI from the chart header, keeping the total star count and snapshot date while the curve communicates slope
  • extend generator tests to cover both theme outputs

Why

The self-hosted chart was reliable but visually read like a promotional dashboard inside GitHub. The recent-growth metric also competed with the chart's actual purpose: showing the shape of the historical curve.

User impact

README visitors see a lighter, calmer chart that adapts to their GitHub color scheme. The historical data and privacy boundary are unchanged.

Verification

  • pnpm star-history:generate (6,284 active stargazers; both SVG themes generated from one fetch)
  • pnpm exec vitest run scripts/generate-star-history.spec.ts (5 passed)
  • npx tsc --noEmit
  • pnpm test (353 passed, 1 skipped; 3,368 tests passed, 9 skipped)
  • xmllint --noout docs/images/star-history.svg docs/images/star-history-dark.svg
  • git diff --check
  • rendered both SVGs at 1200×560 with rsvg-convert and visually inspected them
  • confirmed GitHub's Markdown renderer preserves the <picture> and dark-mode <source> elements
  • scanned both SVGs for usernames, raw stargazer fields, and credential material

Boundary touch

  • none (README visuals and generator only)

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openalice-demo Building Building Preview, Comment Jul 28, 2026 7:13am

Request Review

@luokerenx4
luokerenx4 merged commit 6c49313 into dev Jul 28, 2026
8 of 9 checks passed
@luokerenx4
luokerenx4 deleted the codex/refresh-star-history-palette branch July 28, 2026 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant