Skip to content

Commit 4bfa034

Browse files
committed
[update][docs][README] Enhance star history section with responsive image support
1 parent 308358e commit 4bfa034

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,15 @@ This project adheres to the [Semantic Versioning (SemVer)](https://semver.org/)
214214

215215
## 🌟 Star History
216216

217-
[![Star History Chart](https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date)](https://star-history.com/#wgzhao/Addax&Date)
217+
## Star History
218+
219+
<a href="https://www.star-history.com/#wgzhao/Addax&Date">
220+
<picture>
221+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date&theme=dark" />
222+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date" />
223+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date" />
224+
</picture>
225+
</a>
218226

219227
---
220228

README_zh.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,15 @@ Failed record : 0
261261
262262
## Star History
263263
264-
[![Star History Chart](https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date)](https://star-history.com/#wgzhao/Addax&Date)
264+
## Star History
265+
266+
<a href="https://www.star-history.com/#wgzhao/Addax&Date">
267+
<picture>
268+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date&theme=dark" />
269+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date" />
270+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=wgzhao/Addax&type=Date" />
271+
</picture>
272+
</a>
265273
266274
## 代码授权许可
267275

0 commit comments

Comments
 (0)