mirror of
https://github.com/youzan/vant.git
synced 2026-05-02 01:01:43 +08:00
style(@vant/cli): improve mobile style in dark mode
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user