Skip to content

Commit 5c8b132

Browse files
Add responsive images for light and dark modes
Updated image display for light and dark modes in README.
1 parent 58c372b commit 5c8b132

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
1-
<img src="https://github.com/user-attachments/assets/b175bf39-23cb-475d-a6e1-7b5c99a1ed72" alt="pythonbpf" width="450">
1+
<picture>
2+
<source
3+
media="(prefers-color-scheme: light)"
4+
srcset="https://github.com/user-attachments/assets/f3738131-d7cb-4b5c-8699-c7010295a159"
5+
width="450"
6+
alt="Light‐mode image">
7+
<img
8+
src="https://github.com/user-attachments/assets/b175bf39-23cb-475d-a6e1-7b5c99a1ed72"
9+
width="450"
10+
alt="Dark‐mode image">
11+
</picture>
212
<!-- Badges -->
313
<p align="center">
414
<!-- PyPI -->

0 commit comments

Comments
 (0)