Change palette method

This commit is contained in:
mertsincan 2024-03-08 12:07:16 +00:00
parent 7b3908908a
commit 9d84a9f92c
3 changed files with 16 additions and 8 deletions

View file

@ -281,6 +281,9 @@ export default {
$globalThemeOptions() {
return this.$globalTheme?.options;
},
$globalThemeExtend() {
return this.$globalTheme?.extend;
},
$globalBaseTheme() {
return ObjectUtils.getItemValue(this.$globalTheme?.base);
},
@ -329,7 +332,8 @@ export default {
globalTheme: {
base: { ...this.$globalBaseTheme },
preset: { ...this.$globalPresetTheme },
options: { ...this.$globalThemeOptions }
options: { ...this.$globalThemeOptions },
extend: { ...this.$globalThemeExtend }
}
};
},