瀏覽代碼

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 2 年之前
父節點
當前提交
ae397da6b4
共有 3 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      README.md
  2. 二進制
      misc/rbpf_256.png
  3. 二進制
      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
 

二進制
misc/rbpf_256.png


二進制
misc/rbpf_256_border.png