fix menu dark colors

This commit is contained in:
ClovertaTheTrilobita 2026-04-25 00:23:39 +03:00
parent 18ddbb82f1
commit 7292affc04
2 changed files with 9 additions and 0 deletions

View file

@ -248,6 +248,12 @@ const tocHeadings = headings.filter((h) => h.depth === 2 || h.depth === 3);
.post-menu.is-open {
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>

View file

@ -3,4 +3,7 @@
--deep-red: #ef5a6f;
--background-color: #f9f2ed;
--text-color: #0E2F56;
--background-color-dark: #1e1e1e;
--text-color-dark: #e6e6e6;
}