diff --git a/web/src/main.tsx b/web/src/main.tsx index 6ab690b..0a13f8e 100644 --- a/web/src/main.tsx +++ b/web/src/main.tsx @@ -19,10 +19,12 @@ import App from "./App.tsx" import "./index.css" const styleTags = document.createElement("style") -styleTags.textContent = ` -@import "_gomuks/codeblock/github-dark.css" (prefers-color-scheme: dark); -@import "_gomuks/codeblock/github.css" (prefers-color-scheme: light); -` +// styleTags.textContent = ` +// @import "_gomuks/codeblock/github-dark.css" (prefers-color-scheme: dark); +// @import "_gomuks/codeblock/github.css" (prefers-color-scheme: light); +// ` +// TODO switch to the above version after adding global dark theme support +styleTags.textContent = `@import "_gomuks/codeblock/github.css";` document.head.appendChild(styleTags) fetch("_gomuks/auth", { method: "POST" }).then(resp => {