Changed theme to catppuccin

This commit is contained in:
2026-07-03 11:24:44 +02:00
parent 2a9474e8ae
commit 97f307fa82
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ export default defineConfig({
rehypeCodeOptions: {
langs: [mist as any],
themes: {
light: "github-light",
dark: "github-dark",
light: "catppuccin-latte",
dark: "catppuccin-mocha",
},
},
},
+3 -3
View File
@@ -1,8 +1,8 @@
@import 'tailwindcss';
@import 'fumadocs-ui/css/lib/default-colors.css';
@import 'fumadocs-ui/css/catppuccin.css';
@import 'fumadocs-ui/css/preset.css';
@theme {
/* @theme {
--color-fd-background: hsl(75, 45%, 96%);
--color-fd-foreground: hsl(75, 35%, 18%);
--color-fd-primary: hsl(80, 60%, 40%);
@@ -38,7 +38,7 @@
--color-fd-card-foreground: hsl(0, 0%, 98%);
--color-fd-popover: hsl(0, 0%, 4%);
--color-fd-popover-foreground: hsl(0, 0%, 98%);
}
} */
html {
+2 -2
View File
@@ -10,7 +10,7 @@ interface Props {
}
const highlighterPromise = createHighlighter({
themes: ["github-dark"],
themes: ["catppuccin-mocha"],
langs: [mist as any],
});
@@ -23,7 +23,7 @@ export default function MorphCode({ code }: Props) {
const result = highlighter.codeToTokens(code, {
lang: "mist" as any,
theme: "github-dark",
theme: "catppuccin-mocha",
});
const rawLines = code.split("\n");