This commit is contained in:
Henry Jameson 2026-08-04 18:04:57 +03:00
commit 95bbe73832
19 changed files with 38 additions and 58 deletions

View file

@ -577,7 +577,8 @@ export const useInterfaceStore = defineStore('interface', {
return { name: x.variant, ...cleanDirectives }
})
.forEach((palette) => {
const key = 'style.' + palette.name.toLowerCase().replaceAll(' ', '_')
const key =
'style.' + palette.name.toLowerCase().replaceAll(' ', '_')
if (!firstStylePaletteName) firstStylePaletteName = key
palettesIndex[key] = () => Promise.resolve(palette)
})