chore(desktop): cleanup shiki theme stuff

This commit is contained in:
Adam
2025-11-07 13:30:07 -06:00
parent 7adbc3ad44
commit 7f51b181d4
7 changed files with 394 additions and 1552 deletions

View File

@@ -14,8 +14,7 @@ export function Code<T>(props: CodeProps<T>) {
createEffect(() => {
const instance = new File<T>({
theme: { dark: "oc-1-dark", light: "oc-1-light" },
// theme: { dark: "pierre-dark", light: "pierre-light" },
theme: "OpenCode",
overflow: "wrap", // or 'scroll'
themeType: "system", // 'system', 'light', or 'dark'
disableFileHeader: true,