'适配深色模式'
This commit is contained in:
@@ -146,4 +146,41 @@
|
||||
content: '-';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
.select-root,
|
||||
.business-status{
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
.time-root{
|
||||
background-color: #fafafa;
|
||||
}
|
||||
|
||||
.time-item{
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
|
||||
.time-root{
|
||||
color: #919191;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.select-root,
|
||||
.business-status,
|
||||
.time-root{
|
||||
background-color:#000;
|
||||
}
|
||||
|
||||
.time-item{
|
||||
background-color: #111;
|
||||
}
|
||||
|
||||
.all-text,
|
||||
.business-status,
|
||||
.time-root{
|
||||
color:#fff;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user