Skip to content

Commit 0bdd42a

Browse files
committed
docs: add light/dark scheme support for star history chart
1 parent df13975 commit 0bdd42a

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
@@ -151,4 +151,10 @@ codebase.
151151
152152
And thanks to all financial supporters and folks that give us a shiny star! ⭐
153153
154-
[![Star History Chart](https://api.star-history.com/svg?repos=copier-org/copier&type=Date)](https://star-history.com/#copier-org/copier&Date)
154+
<a href="https://star-history.com/#copier-org/copier&Date">
155+
<picture>
156+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=copier-org/copier&type=Date&theme=dark" />
157+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=copier-org/copier&type=Date" />
158+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=copier-org/copier&type=Date" />
159+
</picture>
160+
</a>

0 commit comments

Comments
 (0)