docs: use the dark logo in the README header on dark themes (#44)

The header showed logo.png (black on transparent), which nearly vanishes in
GitHub's dark theme. Wrap it in a <picture> so dark-theme viewers get the
contoured logo-dark.png and light-theme viewers keep the original.
This commit is contained in:
DietrichGebert
2026-06-15 02:59:30 +02:00
committed by GitHub
parent 706bd2795c
commit 4949910587
+4 -1
View File
@@ -1,5 +1,8 @@
<p align="center"> <p align="center">
<img src="assets/logo.png" width="220" alt="Ponytail, the lazy senior dev"> <picture>
<source media="(prefers-color-scheme: dark)" srcset="assets/logo-dark.png">
<img src="assets/logo.png" width="220" alt="Ponytail, the lazy senior dev">
</picture>
</p> </p>
<h1 align="center">Ponytail</h1> <h1 align="center">Ponytail</h1>