Merge pull request #1379 from ItzNotABug/change-checbox-theme

Correct color for unchecked checkboxes on dark theme
This commit is contained in:
Torsten Dittmann
2024-09-26 16:06:12 +02:00
committed by GitHub
+16
View File
@@ -194,4 +194,20 @@
}
}
}
/* TODO: remove this block once Pink V2 is incorporated */
input[type='radio'],
input[type='checkbox']:not([class='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'][class='switch'] {
.theme-dark &:not(:checked) {
background-color: var(--color-mid-neutral-70, #56565c);
}
}
</style>