Skip to content

Commit 5838c4d

Browse files
gmarullcarlescufi
authored andcommitted
readme: make README logo dark-mode aware
Use an SVG based logo with embedded style that toggles title color using media queries. The SVG logo is not exactly the same as the previous one as I only had this version in SVG (taken from docs actually). Note that we cannot use the method described in https://github.blog/changelog/ 2021-11-24-specify-theme-context-for-images-in-markdown/ because the README is written in rst, not Markdown. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
1 parent 73d8a8d commit 5838c4d

File tree

3 files changed

+235
-1
lines changed

3 files changed

+235
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<a href="https://www.zephyrproject.org">
44
<p align="center">
5-
<img src="doc/_static/images/logo-readme.png">
5+
<img src="doc/_static/images/logo-readme.svg">
66
</p>
77
</a>
88

doc/_static/images/logo-readme.png

-20.3 KB
Binary file not shown.

doc/_static/images/logo-readme.svg

+234
Loading

0 commit comments

Comments
 (0)