style: use Dark+ syntax theme

This commit is contained in:
Thomas Bishop 2025-07-13 14:25:43 +01:00
parent 8b06e2772a
commit a5bccdf490

View file

@ -13,7 +13,7 @@ const renderer = {
}
const highlighter = await createHighlighter({
themes: ["github-dark-dimmed"],
themes: ["dark-plus"],
langs: [
"javascript",
"typescript",
@ -47,7 +47,7 @@ const posts = files.map((file) => {
(match, lang, code) => {
return highlighter.codeToHtml(code.trim(), {
lang: lang || "text",
theme: "github-dark-dimmed",
theme: "dark-plus",
transformers: [transformerColorizedBrackets()],
})
}