chore(desktop): cleanup shiki theme stuff

This commit is contained in:
Adam 2025-11-07 13:30:07 -06:00
commit 7f51b181d4
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
7 changed files with 393 additions and 1551 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,