Quellcode durchsuchen

README: Add two versions for the logo

GitHub is able to pick a different version of a picture depending on
whether the light theme or the dark theme is in use for the page. Let's
adjust the picture accordingly.
Quentin Monnet vor 2 Jahren
Ursprung
Commit
ae397da6b4
3 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      README.md
  2. BIN
      misc/rbpf_256.png
  3. BIN
      misc/rbpf_256_border.png

+ 4 - 1
README.md

@@ -1,6 +1,9 @@
 # rbpf
 
-![](misc/rbpf_256.png)
+<picture>
+  <source media="(prefers-color-scheme: dark)" srcset="misc/rbpf_256_border.png">
+  <img src="misc/rbpf_256.png">
+</picture>
 
 Rust (user-space) virtual machine for eBPF
 

BIN
misc/rbpf_256.png


BIN
misc/rbpf_256_border.png