Skip to content

Commit

Permalink
Solarized
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jun 23, 2024
1 parent 6fc41fc commit e03cd84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/shikify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const files = await readdirSync(posts, { recursive: true, encoding: "utf-8" })
const indexFiles = files.filter((file) => file.endsWith("index.html") && file.split("/").length > 3)

const highlighter = await createHighlighter({
themes: ["nord"],
themes: ["solarized-light"],
langs: Object.keys(bundledLanguages),
})

Expand Down Expand Up @@ -41,7 +41,7 @@ for (const file of indexFiles) {
const code = codeElement.textContent
const highlighted = highlighter.codeToHtml(code, {
lang: lang || "text",
theme: "nord",
theme: "solarized-light",
transformers: [transformerTwoslash({ explicitTrigger: true })],
})

Expand Down

0 comments on commit e03cd84

Please sign in to comment.