Skip to content

Commit 009a926

Browse files
committed
Make the dark mode checkbox look less enabled when automatic mode is in light mode.
1 parent c134b03 commit 009a926

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

extension/css/bootstrap-overrides.css

+7
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@
1010
--bs-btn-hover-bg: #a8aaac;
1111
--bs-btn-hover-border-color: #a2a2a2;
1212
}
13+
14+
/* make the dark mode checkbox look less enabled when automatic mode is in light mode */
15+
[data-bs-theme=light] .form-check-input[type="checkbox"]:indeterminate {
16+
background-color: #fff;
17+
border-color: #86b7fe;
18+
--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");
19+
}

0 commit comments

Comments
 (0)