more low-hanging fruits
This commit is contained in:
parent
4f82709bf2
commit
b2dca4a3f6
20 changed files with 45 additions and 45 deletions
|
|
@ -578,7 +578,7 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
return { name: x.variant, ...cleanDirectives }
|
||||
})
|
||||
.forEach((palette) => {
|
||||
const key = 'style.' + palette.name.toLowerCase().replace(/ /g, '_')
|
||||
const key = 'style.' + palette.name.toLowerCase().replaceAll(' ', '_')
|
||||
if (!firstStylePaletteName) firstStylePaletteName = key
|
||||
palettesIndex[key] = () => Promise.resolve(palette)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue