From 3fea29d7c54675d92c2e954e19df36142d709364 Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Thu, 17 Nov 2022 18:08:37 +0100 Subject: [PATCH] readme: Add support for light/dark modes in the logo Use the mechanism described here: https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to to provide different logos for light and dark mode, so that the "Zephyr" text is clearly visible in both. Signed-off-by: Carles Cufi --- README.rst | 6 +- doc/_static/images/logo-readme-dark.svg | 167 ++++++++++++++++++ ...{logo-readme.svg => logo-readme-light.svg} | 0 3 files changed, 172 insertions(+), 1 deletion(-) create mode 100644 doc/_static/images/logo-readme-dark.svg rename doc/_static/images/{logo-readme.svg => logo-readme-light.svg} (100%) diff --git a/README.rst b/README.rst index e8578666ca4..9770417087d 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,11 @@

- + + + + +

diff --git a/doc/_static/images/logo-readme-dark.svg b/doc/_static/images/logo-readme-dark.svg new file mode 100644 index 00000000000..4fb4ac1af0a --- /dev/null +++ b/doc/_static/images/logo-readme-dark.svg @@ -0,0 +1,167 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/_static/images/logo-readme.svg b/doc/_static/images/logo-readme-light.svg similarity index 100% rename from doc/_static/images/logo-readme.svg rename to doc/_static/images/logo-readme-light.svg