Skip to content

Commit

Permalink
refactor(articles): remove dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainLanz committed Dec 15, 2024
1 parent 6064116 commit fa8ef8a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ export class MarkdownCompiler {
.use(remarkParse)
.use(remarkGfm)
.use(remarkRehype, { allowDangerousHtml: true })
// @ts-expect-error - No idea, but works (:
.use(rehypeShikiFromHighlighter, shikiHighlighter, {
themes: {
light: 'rose-pine-dawn',
dark: 'rose-pine',
},
theme: 'rose-pine-dawn',
transformers: [
transformerNotationDiff(),
transformerNotationHighlight(),
Expand Down

0 comments on commit fa8ef8a

Please sign in to comment.