This commit is contained in:
李志鹏
2025-10-20 15:46:09 +08:00
11 changed files with 78 additions and 63 deletions

View File

@@ -28,6 +28,13 @@ button.sandblasted-blurred::after {
button.sandblasted-blurred:active {
opacity: 0.7;
}
@media (prefers-color-scheme: dark) {
:root,
body {
background: white !important;
color: black !important;
}
}
html:root {
--van-overlay-background: rgba(0, 0, 0, 0.4);
--van-dialog-width: 45rem;
@@ -52,3 +59,9 @@ html:root {
line-height: 5rem;
padding: 0 2rem;
}
.van-toast__text {
font-size: 4rem;
height: 5rem;
line-height: 5rem;
padding: 0 2rem;
}

View File

@@ -35,6 +35,13 @@ button.sandblasted-blurred {
}
}
//只使用浅色模式
@media (prefers-color-scheme: dark) {
:root, body {
background: white !important;
color: black !important;
}
}
// vant dialog
html:root {

View File

@@ -0,0 +1 @@
<svg t="1760927343641" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5713" width="200" height="200"><path d="M512 51.2c254.08 0 460.8 206.72 460.8 460.8s-206.72 460.8-460.8 460.8S51.2 766.08 51.2 512 257.92 51.2 512 51.2M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0L512 0z" fill="currentColor" p-id="5714"></path><path d="M741.312 700.352c0 16-12.928 28.992-28.928 28.992L311.616 729.344c-16 0-28.928-12.992-28.928-28.992L282.688 299.648c0-16 12.928-28.864 28.928-28.864l400.768 0c16 0 28.928 12.864 28.928 28.864L741.312 700.352z" fill="currentColor" p-id="5715"></path></svg>

After

Width:  |  Height:  |  Size: 666 B