Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: flip logic of sun and moon theme icons
Browse files Browse the repository at this point in the history
aantron committed Nov 14, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 3c49624 commit ce104e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/web/site/docs.css
Original file line number Diff line number Diff line change
@@ -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"; /* moon */
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"; /* sun */
}

header pre {

0 comments on commit ce104e4

Please sign in to comment.