docs: dark-mode aware star history chart with constrained width

This commit is contained in:
Mohamed Boudra
2026-05-02 14:39:33 +07:00
parent 6225ec3008
commit b6181c2d31
+5 -1
View File
@@ -146,7 +146,11 @@ npm run typecheck
<p align="center">
<a href="https://star-history.com/#getpaseo/paseo&Date">
<img src="https://api.star-history.com/svg?repos=getpaseo/paseo&type=Date" alt="Star history chart for getpaseo/paseo" width="100%">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=getpaseo/paseo&type=Date&theme=dark">
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=getpaseo/paseo&type=Date">
<img src="https://api.star-history.com/svg?repos=getpaseo/paseo&type=Date" alt="Star history chart for getpaseo/paseo" width="600" style="max-width: 100%;">
</picture>
</a>
</p>