chore: revert default to single theme

pull/2319/head
Divyansh Singh 3 years ago
parent 01292438ac
commit cc85dc972c

@ -60,9 +60,7 @@ export const createMarkdownRenderer = async (
base = '/',
logger: Pick<Logger, 'warn'> = console
): Promise<MarkdownRenderer> => {
// 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({

Loading…
Cancel
Save