fix: switch role checkbox being affected differently.

This commit is contained in:
ItzNotABug committed 2024-09-26 18:31:54 +05:30
1 parent 689bc7e3d0
commit 9187f3f386
1 file changed
+7 -1
+7 -1
View File
@@ -197,11 +197,17 @@
/* TODO: remove this block once Pink V2 is incorporated */
input[type='radio'],
input[type='checkbox'],
input[type='checkbox']:not([role='switch']),
input[type='switchbox'] {
.theme-dark &:not(:checked) {
background-color: transparent; /* take whatever color is behind */
border: 1px solid var(--color-mid-neutral-70, #56565c);
}
}
input[type='checkbox'][role='switch'] {
.theme-dark &:not(:checked) {
background-color: #56565c;
}
}
</style>