Skip to content

Commit 0dece72

Browse files
authored
README.md: fix light/dark mode logo
I suppose GitHub changed what they accepted for this at some point, but this works now. Signed-off-by: Tudor Brindus <[email protected]>
1 parent d390f25 commit 0dece72

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<h1 align="center">
2-
<img src="docs/assets/logo-dark.svg?sanitize=true#gh-dark-mode-only" width="150px"><img src="docs/assets/logo-light.svg?sanitize=true#gh-light-mode-only" width="150px">
2+
<picture>
3+
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo-dark.svg?sanitize=true">
4+
<img src="docs/assets/logo-light.svg?sanitize=true" width="150px">
5+
</picture>
36
<br>
47
magic-trace
58
</h1>

0 commit comments

Comments
 (0)