Skip to content

Commit

Permalink
Fix toggle in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Jun 24, 2023
1 parent 061a0c3 commit 83fef65
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
}

@media (prefers-color-scheme: dark) {
:root {
--f7-theme-color: #007bff !important;
}

input[type=checkbox]:not(:checked) + .toggle-icon {
background: #39393e !important;
}

input[type=checkbox]:not(:checked) + .toggle-icon:before {
background: #39393e !important;
}

.sp-header {
background: #383837 !important;
color: #b1b1b0 !important;
Expand Down

0 comments on commit 83fef65

Please sign in to comment.