From 2551aa53ef91b5e1882d747cc75008b18f7f581c Mon Sep 17 00:00:00 2001 From: Bohan Jiang <52446949+Bohan-J@users.noreply.github.com> Date: Tue, 14 Apr 2026 18:34:35 +0800 Subject: [PATCH] fix(docs): use light theme for Star History chart in dark mode (#992) * docs: add Trendshift GitHub Trending badge to READMEs Add dynamic GitHub Trending badge from Trendshift.io (repo ID 24695) to both English and Chinese READMEs, placed below existing CI/stars badges. * docs: replace Trendshift badge with Star History chart Remove the Trendshift trending badge and add a Star History chart section at the end of both English and Chinese READMEs. The chart supports dark/light mode and links to the interactive star-history page. * fix(docs): use light theme for Star History chart in both color schemes Remove &theme=dark from the dark mode source so the chart always renders with a light background regardless of GitHub's color scheme. --- README.md | 2 +- README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ed902b44..bab5000da 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for the full development workflow, worktr - + Star History Chart diff --git a/README.zh-CN.md b/README.zh-CN.md index 0c503f64d..e82623a54 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -177,7 +177,7 @@ make start - + Star History Chart