style(@vant/cli): improve mobile style in dark mode
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user