Skip to content

Commit de3dc85

Browse files
authored
update star history in README.md to support dark theme
1 parent c7c0d6d commit de3dc85

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@ You should be able to work with your locally running default using the `local_di
3030

3131
## Star History
3232

33-
[![Star History Chart](https://api.star-history.com/svg?repos=eclipse-ditto/ditto&type=Date)](https://star-history.com/#eclipse-ditto/ditto&Date)
33+
<a href="https://star-history.com/#eclipse-ditto/ditto&Date">
34+
<picture>
35+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=eclipse-ditto/ditto&type=Date&theme=dark" />
36+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=eclipse-ditto/ditto&type=Date" />
37+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=eclipse-ditto/ditto&type=Date" />
38+
</picture>
39+
</a>
40+
3441

3542
## Getting started
3643

0 commit comments

Comments
 (0)