Skip to content

Commit bf21688

Browse files
committed
fix theme references
1 parent f50b703 commit bf21688

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/docs/src/components/home/Gallery/Components.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class="d-flex flex-column align-center justify-center"
2424
>
2525
<v-avatar
26-
:color="config.theme.colors.primary"
26+
:color="config.theme.colors.primary as string"
2727
class="d-flex align-center justify-center cursor-pointer"
2828
height="32"
2929
size="32"
@@ -184,12 +184,12 @@
184184
const theme = useTheme()
185185
186186
const themeConfigs = {
187-
light: { theme: theme.themes.value.light, density: 'default' as Density },
188-
dark: { theme: theme.themes.value.dark, density: 'default' as Density },
189-
blackguard: { theme: theme.themes.value.blackguard, density: 'comfortable' as Density },
190-
polaris: { theme: theme.themes.value.polaris, density: 'comfortable' as Density },
191-
nebula: { theme: theme.themes.value.nebula, density: 'compact' as Density },
192-
odyssey: { theme: theme.themes.value.odyssey, density: 'compact' as Density },
187+
light: { theme: theme.computedThemes.value.light, density: 'default' as Density },
188+
dark: { theme: theme.computedThemes.value.dark, density: 'default' as Density },
189+
blackguard: { theme: theme.computedThemes.value.blackguard, density: 'comfortable' as Density },
190+
polaris: { theme: theme.computedThemes.value.polaris, density: 'comfortable' as Density },
191+
nebula: { theme: theme.computedThemes.value.nebula, density: 'compact' as Density },
192+
odyssey: { theme: theme.computedThemes.value.odyssey, density: 'compact' as Density },
193193
}
194194
195195
const drawer = ref(true)

0 commit comments

Comments
 (0)