From a9a9dfc09f48892a9b20336fb9e5bdb91f967406 Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Tue, 14 Nov 2023 12:19:01 +0300 Subject: [PATCH] Docs: flip logic of sun and moon theme icons --- docs/web/site/docs.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/web/site/docs.css b/docs/web/site/docs.css index 275f3a08..5a704b9d 100644 --- a/docs/web/site/docs.css +++ b/docs/web/site/docs.css @@ -60,6 +60,8 @@ src: url('tenor-sans-v12-latin-regular.woff2') format('woff2'); } + + /* Theme */ /* Dark theme (default) */ @@ -210,7 +212,7 @@ header .topmost { } .topmost .toggle-theme-btn::before { - content: "\F186"; /* moon */ + content: "\F185"; /* sun */ position: absolute; left: calc(0% - 16px + -8px); top: calc(0% + 4px); @@ -224,7 +226,7 @@ header .topmost { } body:not([data-theme="light"]) .topmost .toggle-theme-btn::before { - content: "\F185"; /* sun */ + content: "\F186"; /* moon */ } header pre {