Unverified Commit b7ab6f8e authored by Stephen Zhou's avatar Stephen Zhou Committed by GitHub

fix: code highlight in dark mode (#702)

parent 36b92ad8
html.dark {
@import (less) "highlight.js/styles/atom-one-dark.css";
}
html:not(.dark) {
@import (less) "highlight.js/styles/github.css";
}
......@@ -11,7 +11,7 @@ import "dayjs/locale/zh";
import "dayjs/locale/fr";
import "dayjs/locale/vi";
import theme from "./theme";
import "highlight.js/styles/github.css";
import "./less/code-highlight.less";
import "./css/global.css";
import "./css/tailwind.css";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment