]> git.ipfire.org Git - thirdparty/starlette.git/commitdiff
Adapt starlette's logo to the current theme (#2799)
authorAbduaziz <abduaziz.ziyodov@mail.ru>
Sun, 15 Dec 2024 13:43:46 +0000 (18:43 +0500)
committerGitHub <noreply@github.com>
Sun, 15 Dec 2024 13:43:46 +0000 (14:43 +0100)
README.md

index d436b3544691d2645ac0324c11eb85c02a763ed4..eed580af4a3d086034e156139def774dced74860 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,6 +1,11 @@
 <p align="center">
-  <a href="https://www.starlette.io/"><img width="420px" src="https://raw.githubusercontent.com/encode/starlette/master/docs/img/starlette.svg" alt='starlette'></a>
+  <picture>
+    <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/encode/starlette/master/docs/img/starlette_dark.svg" width="420px">
+    <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/encode/starlette/master/docs/img/starlette.svg" width="420px">
+    <img alt="starlette-logo" src="https://raw.githubusercontent.com/encode/starlette/master/docs/img/starlette_dark.svg">
+  </picture>
 </p>
+
 <p align="center">
     <em>✨ The little ASGI framework that shines. ✨</em>
 </p>