Cosmetics
parent
5c56d32671
commit
1fcff2c769
|
@ -1,6 +1,7 @@
|
|||
import Theme from 'primevue/themes';
|
||||
|
||||
export default (theme) => {
|
||||
// @todo
|
||||
const [{ options: o1 }, { options: o2 }] = [Theme.getTheme(), theme];
|
||||
const newTheme = {
|
||||
...theme,
|
||||
|
|
|
@ -28,7 +28,7 @@ export default {
|
|||
...theme.options
|
||||
}
|
||||
};
|
||||
this._tokens = ThemeUtils.createTokens(theme?.preset, this.defaults);
|
||||
this._tokens = ThemeUtils.createTokens(this.preset, this.defaults);
|
||||
this.clearLoadedStyleNames();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue