chore: change theme to github-xx-default
This commit is contained in:
parent
e80fcbf7cd
commit
cdc9018ec0
|
|
@ -13,8 +13,8 @@ export const highlighter = computedAsync<HighlighterCore>(async (onCancel) => {
|
|||
const shiki = await createHighlighterCore({
|
||||
engine: createJavaScriptRegexEngine(),
|
||||
themes: [
|
||||
() => import('shiki/themes/dark-plus.mjs'),
|
||||
() => import('shiki/themes/light-plus.mjs'),
|
||||
() => import('shiki/themes/github-dark-default.mjs'),
|
||||
() => import('shiki/themes/github-light-default.mjs'),
|
||||
],
|
||||
langs: [
|
||||
() => import('shiki/langs/javascript.mjs'),
|
||||
|
|
@ -34,8 +34,8 @@ export function highlight(code: string, lang: string) {
|
|||
lang,
|
||||
defaultColor: false,
|
||||
themes: {
|
||||
dark: 'dark-plus',
|
||||
light: 'light-plus',
|
||||
dark: 'github-dark-default',
|
||||
light: 'github-light-default',
|
||||
},
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user