docs: bump @nuxt-themes/ui-kit & @nuxt/content

This commit is contained in:
Benjamin Canac
2023-07-28 12:43:33 +02:00
parent 09d0ea27ab
commit 94f1c4e6a0
8 changed files with 223 additions and 39 deletions

View File

@@ -211,8 +211,9 @@ function renderObject (obj: any) {
const { data: ast } = await useAsyncData(`${name}-ast-${JSON.stringify(props)}`, () => transformContent('content:_markdown.md', code.value, {
highlight: {
theme: {
light: 'material-lighter',
dark: 'material-palenight'
light: 'material-theme-lighter',
default: 'material-theme',
dark: 'material-theme-palenight'
}
}
}), { watch: [code] })

View File

@@ -29,8 +29,9 @@ ${JSON.stringify(preset, null, 2)}
`, {
highlight: {
theme: {
light: 'material-lighter',
dark: 'material-palenight'
light: 'material-theme-lighter',
default: 'material-theme',
dark: 'material-theme-palenight'
}
}
}))