fix importing theme file from old editor
This commit is contained in:
parent
0e1cfaeb39
commit
e9b125a6a1
1 changed files with 8 additions and 16 deletions
|
|
@ -509,22 +509,14 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setCustomTheme() {
|
setCustomTheme() {
|
||||||
useInterfaceStore().setThemeV2({
|
useInterfaceStore().setTheme({
|
||||||
customTheme: {
|
themeFileVersion: this.selectedVersion,
|
||||||
ignore: true,
|
themeEngineVersion: CURRENT_VERSION,
|
||||||
themeFileVersion: this.selectedVersion,
|
shadows: this.shadowsLocal,
|
||||||
themeEngineVersion: CURRENT_VERSION,
|
fonts: this.fontsLocal,
|
||||||
...this.previewTheme,
|
opacity: this.currentOpacity,
|
||||||
},
|
colors: this.currentColors,
|
||||||
customThemeSource: {
|
radii: this.currentRadii,
|
||||||
themeFileVersion: this.selectedVersion,
|
|
||||||
themeEngineVersion: CURRENT_VERSION,
|
|
||||||
shadows: this.shadowsLocal,
|
|
||||||
fonts: this.fontsLocal,
|
|
||||||
opacity: this.currentOpacity,
|
|
||||||
colors: this.currentColors,
|
|
||||||
radii: this.currentRadii,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
updatePreviewColors() {
|
updatePreviewColors() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue