Merge pull request #1806 from appwrite/fix-disabled-color

Fix: Background color when disabled
This commit is contained in:
Darshan authored and GitHub committed 2025-04-18 11:32:40 +05:30
commit 09f9d1f136
1 file changed
+2 -2
+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);
}
}