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>
This commit is contained in:
parent
73d8a8d8ef
commit
5838c4d9b9
@ -2,7 +2,7 @@
|
||||
|
||||
<a href="https://www.zephyrproject.org">
|
||||
<p align="center">
|
||||
<img src="doc/_static/images/logo-readme.png">
|
||||
<img src="doc/_static/images/logo-readme.svg">
|
||||
</p>
|
||||
</a>
|
||||
|
||||
|
||||
BIN
doc/_static/images/logo-readme.png
vendored
BIN
doc/_static/images/logo-readme.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
BIN
doc/_static/images/logo-readme.svg
generated
vendored
Normal file
BIN
doc/_static/images/logo-readme.svg
generated
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Loading…
Reference in New Issue
Block a user