Skip to content

Commit

Permalink
feat: update new light theme for shiki
Browse files Browse the repository at this point in the history
  • Loading branch information
pheralb committed Aug 27, 2024
1 parent 2672be1 commit 83ff9bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mdsvex.options.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ export const mdsvexOptions = {
highlight: {
highlighter: async (code, lang = 'text') => {
const highlighter = await getHighlighter({
themes: ['vitesse-light', 'vesper'],
themes: ['min-light', 'vesper'],
langs: ['javascript', 'typescript', 'bash', 'json', 'jsx', 'css', 'tsx']
});
const html = escapeSvelte(
highlighter.codeToHtml(code, {
lang,
themes: {
light: 'vitesse-light',
light: 'min-light',
dark: 'vesper'
}
})
Expand Down

0 comments on commit 83ff9bd

Please sign in to comment.