Skip to content

Commit

Permalink
Docs: flip logic of sun and moon theme icons
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Nov 14, 2023
1 parent 3c49624 commit a9a9dfc
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
Expand Up @@ -60,6 +60,8 @@
src: url('tenor-sans-v12-latin-regular.woff2') format('woff2');
}



/* Theme */

/* Dark theme (default) */
Expand Down Expand Up @@ -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);
Expand All @@ -224,7 +226,7 @@ header .topmost {
}

body:not([data-theme="light"]) .topmost .toggle-theme-btn::before {
content: "\F185"; /* sun */
content: "\F186"; /* moon */
}

header pre {
Expand Down

0 comments on commit a9a9dfc

Please sign in to comment.