Refactor dark mode select styles-more specific

Refactor dark mode select styles to be more specific and avoid interference with already classed select elements.
This commit is contained in:
_00_ 2025-10-26 15:05:42 +01:00 committed by GitHub
parent 235ed8956c
commit 2f6a050325
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,12 +152,12 @@ select {
-webkit-appearance: none;
}
.dark select {
@apply bg-gray-900 text-gray-300;
}
.dark select:not([class*="bg-transparent"]) {
@apply bg-gray-900 text-gray-300;
}
.dark select option {
@apply bg-gray-850 text-white;
.dark select option {
@apply bg-gray-850 text-white;
}
@keyframes shimmer {