We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b6dbce commit 8c0693bCopy full SHA for 8c0693b
docs/app/error.vue
@@ -12,7 +12,7 @@ const colorMode = useColorMode()
12
const { data: navigation } = await useAsyncData('navigation', () => queryCollectionNavigation('docs'))
13
const { data: files } = await useAsyncData('files', () => queryCollectionSearchSections('docs', { ignoredTags: ['style'] }))
14
15
-const color = computed(() => colorMode.value === 'dark' ? (colors as any)[appConfig.ui.colors.neutral][900] : 'white')
+const color = computed(() => colorMode.value === 'dark' ? colors[appConfig.ui.colors.neutral as keyof typeof colors][900] : 'white')
16
17
useHead({
18
meta: [
0 commit comments