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
@@ -44,9 +44,8 @@ export default {
.van-doc-card {
margin-bottom: 24px;
padding: 24px;
background-color: var(--van-doc-background-light);
background-color: var(--van-doc-background-2);
border-radius: var(--van-doc-border-radius);
box-shadow: 0 8px 12px var(--van-doc-shadow-color);
> p a,
> ul a,
@@ -79,8 +79,7 @@ export default {
max-width: var(--van-doc-nav-width);
padding: 8px 0;
overflow-y: scroll;
background-color: var(--van-doc-background-light);
box-shadow: 0 8px 12px var(--van-doc-shadow-color);
background-color: var(--van-doc-background-2);
@media (min-width: var(--van-doc-row-max-width)) {
left: 50%;
@@ -53,9 +53,8 @@ export default {
width: var(--van-doc-simulator-width);
min-width: var(--van-doc-simulator-width);
overflow: hidden;
background: var(--van-doc-background-light);
background: var(--van-doc-background-2);
border-radius: var(--van-doc-border-radius);
box-shadow: 0 8px 12px var(--van-doc-shadow-color);
@media (max-width: 1100px) {
right: auto;