'适配深色模式'

This commit is contained in:
wtq
2025-12-29 11:47:34 +08:00
parent 0e597fd798
commit 185d59c6d1
143 changed files with 3711 additions and 1237 deletions

View File

@@ -9,7 +9,7 @@
.storeStatus{
margin: 20rpx;
height: 220rpx;
background:linear-gradient(180deg, #a4e8f5, #fff);
// background:linear-gradient(180deg, #a4e8f5, #fff);
border-top-right-radius: 20rpx;
border-top-left-radius: 20rpx;
padding: 20rpx;
@@ -126,4 +126,24 @@
margin-right: 10rpx;
}
}
}
@media (prefers-color-scheme: light) {
.storeStatus{
background:linear-gradient(180deg, #a4e8f5, #fff);
}
.time{
background-color: #fff;
}
}
@media (prefers-color-scheme: dark) {
.storeStatus{
background:linear-gradient(180deg, #7b7878, #bdbdbd);
}
.time{
background-color: #888;
}
}