mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-07-03 15:41:26 +00:00
fix menu dark colors
This commit is contained in:
parent
18ddbb82f1
commit
7292affc04
2 changed files with 9 additions and 0 deletions
|
|
@ -248,6 +248,12 @@ const tocHeadings = headings.filter((h) => h.depth === 2 || h.depth === 3);
|
||||||
.post-menu.is-open {
|
.post-menu.is-open {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:global(html.dark) .post-menu-mobile-toggle,
|
||||||
|
:global(html.dark) .post-menu {
|
||||||
|
background: var(--background-color-dark);
|
||||||
|
color: var(--text-color-dark);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,7 @@
|
||||||
--deep-red: #ef5a6f;
|
--deep-red: #ef5a6f;
|
||||||
--background-color: #f9f2ed;
|
--background-color: #f9f2ed;
|
||||||
--text-color: #0E2F56;
|
--text-color: #0E2F56;
|
||||||
|
|
||||||
|
--background-color-dark: #1e1e1e;
|
||||||
|
--text-color-dark: #e6e6e6;
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue