Skip to content

Commit 40b0f2a

Browse files
kiakingsapphi-red
andauthored
docs: fix mobile menu background on light mode landing page (#18633) (#1719)
Co-authored-by: 翠 / green <[email protected]>
1 parent 6e05242 commit 40b0f2a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.vitepress/theme/styles/landing.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,15 @@
33
/* /////////////////////// */
44

55
html:has(.landing) {
6+
--vp-c-bg: #101010;
7+
68
background-color: #101010;
79

810
body {
911
background-color: #101010;
1012
}
1113
}
1214

13-
html.dark:has(.landing) {
14-
--vp-c-bg: #101010;
15-
}
16-
1715
.landing {
1816
overflow-x: hidden;
1917
background-color: #101010;

0 commit comments

Comments
 (0)