fix: background color when disabled.

This commit is contained in:
Darshan
2025-04-18 11:21:19 +05:30
parent 4645c13a51
commit 4cfbe625c3
+2 -2
View File
@@ -218,14 +218,14 @@
input[type='radio'],
input[type='checkbox']:not([class='switch']),
input[type='switchbox'] {
.theme-dark &:not(:checked) {
.theme-dark &:not(:checked):not(:disabled) {
background-color: transparent; /* take whatever color is behind */
border: 1px solid var(--color-mid-neutral-70, #56565c);
}
}
input[type='checkbox'][class='switch'] {
.theme-dark &:not(:checked) {
.theme-dark &:not(:checked):not(:disabled) {
background-color: var(--color-mid-neutral-70, #56565c);
}
}