From cc85dc972c198a8dd9ce6db3c245781f1ff36d6a Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sun, 30 Apr 2023 01:30:33 +0530 Subject: [PATCH] chore: revert default to single theme --- src/node/markdown/markdown.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/node/markdown/markdown.ts b/src/node/markdown/markdown.ts index 3886fb89..64de3b18 100644 --- a/src/node/markdown/markdown.ts +++ b/src/node/markdown/markdown.ts @@ -60,9 +60,7 @@ export const createMarkdownRenderer = async ( base = '/', logger: Pick = console ): Promise => { - // TODO: cleanup - // const theme = options.theme ?? 'material-theme-palenight' - const theme = options.theme ?? { light: 'github-light', dark: 'github-dark' } + const theme = options.theme ?? 'material-theme-palenight' const hasSingleTheme = typeof theme === 'string' || 'name' in theme const md = MarkdownIt({