Skip to content

Commit 679102f

Browse files
committed
docs: Update README.md to use responsive image for Star History Chart
1 parent 7fc5ba9 commit 679102f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,13 @@ Rin 是一个基于 Cloudflare Pages + Workers + D1 + R2 全家桶的博客,
4444

4545
## Star History
4646

47-
[![Star History Chart](https://api.star-history.com/svg?repos=OXeu/Rin&type=Date)](https://star-history.com/#OXeu/Rin&Date)
47+
<a href="https://star-history.com/#OXeu/Rin&Date">
48+
<picture>
49+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=OXeu/Rin&type=Date&theme=dark" />
50+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=OXeu/Rin&type=Date" />
51+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=OXeu/Rin&type=Date" />
52+
</picture>
53+
</a>
4854

4955
# License
5056
```

0 commit comments

Comments
 (0)