Skip to content

Commit

Permalink
README.md: fix light/dark mode logo
Browse files Browse the repository at this point in the history
I suppose GitHub changed what they accepted for this at some point, but this works now.

Signed-off-by: Tudor Brindus <tbrindus@janestreet.com>
  • Loading branch information
Xyene authored Oct 27, 2023
1 parent d390f25 commit 0dece72
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<h1 align="center">
<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">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo-dark.svg?sanitize=true">
<img src="docs/assets/logo-light.svg?sanitize=true" width="150px">
</picture>
<br>
magic-trace
</h1>
Expand Down

0 comments on commit 0dece72

Please sign in to comment.