|
23 | 23 | class="d-flex flex-column align-center justify-center" |
24 | 24 | > |
25 | 25 | <v-avatar |
26 | | - :color="config.theme.colors.primary" |
| 26 | + :color="config.theme.colors.primary as string" |
27 | 27 | class="d-flex align-center justify-center cursor-pointer" |
28 | 28 | height="32" |
29 | 29 | size="32" |
|
184 | 184 | const theme = useTheme() |
185 | 185 |
|
186 | 186 | 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 }, |
193 | 193 | } |
194 | 194 |
|
195 | 195 | const drawer = ref(true) |
|
0 commit comments