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:
+5
-5
@@ -152,12 +152,12 @@ select {
|
|||||||
-webkit-appearance: none;
|
-webkit-appearance: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark select {
|
.dark select:not([class*="bg-transparent"]) {
|
||||||
@apply bg-gray-900 text-gray-300;
|
@apply bg-gray-900 text-gray-300;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark select option {
|
.dark select option {
|
||||||
@apply bg-gray-850 text-white;
|
@apply bg-gray-850 text-white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes shimmer {
|
@keyframes shimmer {
|
||||||
|
|||||||
Reference in New Issue
Block a user