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:
@@ -1,5 +1,8 @@
|
||||
<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>
|
||||
|
||||
<h1 align="center">Ponytail</h1>
|
||||
|
||||
Reference in New Issue
Block a user