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 Stoyan Zlatev
parent 808a5aea78
commit 09a506d286

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 {