Skip to content

Commit

Permalink
Make the dark mode checkbox look less enabled when automatic mode is …
Browse files Browse the repository at this point in the history
…in light mode.
  • Loading branch information
stefansundin committed Jan 8, 2024
1 parent c134b03 commit 009a926
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions extension/css/bootstrap-overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@
--bs-btn-hover-bg: #a8aaac;
--bs-btn-hover-border-color: #a2a2a2;
}

/* make the dark mode checkbox look less enabled when automatic mode is in light mode */
[data-bs-theme=light] .form-check-input[type="checkbox"]:indeterminate {
background-color: #fff;
border-color: #86b7fe;
--bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%2386b7fe' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

0 comments on commit 009a926

Please sign in to comment.