Procházet zdrojové kódy

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 před 2 roky
rodič
revize
ae397da6b4
3 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      README.md
  2. binární
      misc/rbpf_256.png
  3. binární
      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ární
misc/rbpf_256.png


binární
misc/rbpf_256_border.png