fix darkmode script load

This commit is contained in:
Jacky Zhao
2023-06-06 20:58:26 -07:00
parent 229f615790
commit 4c94432a8f
4 changed files with 22 additions and 21 deletions

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;