style(@vant/cli): improve mobile style in dark mode

This commit is contained in:
chenjiahan
2022-01-27 11:00:38 +08:00
parent 98b999d911
commit f5c32c29f1
15 changed files with 16 additions and 30 deletions

View File

@@ -45,8 +45,12 @@ body {
min-width: 100vw;
}
.van-doc-theme-light {
background-color: var(--van-doc-gray-1);
}
.van-doc-theme-dark {
background-color: #000;
background-color: var(--van-doc-black);
}
::-webkit-scrollbar {

View File

@@ -59,7 +59,7 @@ export default {
font-weight: 600;
font-size: 14px;
line-height: 40px;
background-color: var(--van-doc-background-light);
background-color: var(--van-doc-background-3);
border-radius: 99px;
transition: opacity 0.3s;

View File

@@ -42,7 +42,7 @@ export default {
align-items: center;
justify-content: center;
height: 56px;
background-color: var(--van-doc-background-light);
background-color: var(--van-doc-background-2);
&__title {
font-weight: 600;