Added basetheme structure

This commit is contained in:
mertsincan 2024-03-05 11:08:00 +00:00
parent 43bdf2c3e5
commit 6730af3d20
9 changed files with 159 additions and 137 deletions

View file

@ -40,7 +40,7 @@ export default {
deep: true,
immediate: true,
handler(newValue) {
const { primitive, semantic, global } = this.$style?.getGlobalThemeCSS(newValue, this.$globalBaseTheme, this.$themeParams, this.$globalTheme);
const { primitive, semantic, global } = this.$style?.getCommonThemeCSS(newValue, this.$globalBaseTheme, this.$themeParams, this.$globalTheme);
BaseStyle.loadTheme(primitive, { name: 'primitive-variables', useStyleOptions: this.$styleOptions });
BaseStyle.loadTheme(semantic, { name: 'semantic-variables', useStyleOptions: this.$styleOptions });