Narrow dark mode selectors

This commit is contained in:
Ronan Berder
2026-06-25 18:15:35 +08:00
parent 4942a79c95
commit 7cd8a09de3
10 changed files with 21 additions and 17 deletions
+2 -2
View File
@@ -808,11 +808,11 @@
@apply bg-background rounded-full;
}
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
html.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):not(:checked):before {
@apply bg-foreground;
}
.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
html.dark :is(.field > input[type='checkbox'][role='switch'], .input[type='checkbox'][role='switch']):checked:before {
@apply bg-primary-foreground;
}