fix darkmode script load

This commit is contained in:
Jacky Zhao 2023-06-06 20:58:26 -07:00
parent 4d3579ca98
commit 0813f127a3
4 changed files with 22 additions and 21 deletions
quartz/styles

View file

@ -14,7 +14,7 @@
}
// npx convert-sh-theme https://raw.githubusercontent.com/shikijs/shiki/main/packages/shiki/themes/github-dark.json
:root[saved-theme="dark"] {
[saved-theme="dark"] {
--shiki-color-text: #e1e4e8 !important;
--shiki-color-background: #24292e !important;
--shiki-token-constant: #79b8ff !important;