Merge pull request #4006 from feitianbubu/fix/native-controls-dark-mode
fix(ui): adapt native form controls to dark mode via color-scheme
This commit is contained in:
@@ -405,7 +405,7 @@ onUnmounted(() => {
|
||||
}
|
||||
|
||||
.dark .date-picker-input::-webkit-calendar-picker-indicator {
|
||||
filter: invert(0.7);
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.date-picker-separator {
|
||||
|
||||
@@ -9,6 +9,11 @@
|
||||
|
||||
html {
|
||||
@apply scroll-smooth antialiased;
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
.dark {
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
Reference in New Issue
Block a user