Skip to content

Commit 33dd5f1

Browse files
authored
README: use <picture> srcset for color-scheme (trailofbits#26)
1 parent 9ac41f2 commit 33dd5f1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: profile/README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
<img align="left" src="https://user-images.githubusercontent.com/3059210/174351167-046b45d8-7f3d-4a68-b745-d798b9d9f1a8.png#gh-light-mode-only" width="400">
2-
<img align="left" src="https://user-images.githubusercontent.com/3059210/174351169-843e1411-f904-4739-8b01-5c9a4dd5ae52.png#gh-dark-mode-only" width="400">
1+
<picture >
2+
<source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/3059210/174351169-843e1411-f904-4739-8b01-5c9a4dd5ae52.png">
3+
<source media="(prefers-color-scheme: light)" srcset="https://user-images.githubusercontent.com/3059210/174351167-046b45d8-7f3d-4a68-b745-d798b9d9f1a8.png">
4+
<img align="left" alt="The Trail of Bits logo" src="https://user-images.githubusercontent.com/3059210/174351167-046b45d8-7f3d-4a68-b745-d798b9d9f1a8.png" width="400">
5+
</picture>
36

47
Since 2012, Trail of Bits has helped secure some of the world's most targeted
58
organizations and devices.

0 commit comments

Comments
 (0)