💄 Update code highlight theme

This commit is contained in:
LittleSheep 2024-08-20 10:05:59 +08:00
parent 7537b1f832
commit 483d3272ba

View File

@ -77,7 +77,7 @@ export default defineNuxtConfig({
baseURL: "/api/content",
},
highlight: {
theme: "github-dark",
theme: { default: "github-light", dark: "github-dark" },
langs: ["json", "yaml", "toml", "java", "javascript", "astro", "css", "scss", "dart", "go", "typescript", "c", "csharp",
"cpp", "bat", "bash", "sh", "dockerfile", "erlang", "fsharp", "markdown", "log",
"lua", "objc", "swift", "regex", "ruby", "rust", "postcss", "blade", "asciidoc", "cmake", "cobol", "pascal",
@ -114,7 +114,7 @@ export default defineNuxtConfig({
],
gtag: {
id: 'G-ZFJ7RX0JXF'
id: "G-ZFJ7RX0JXF",
},
vite: {