No need to replace palette for created themes

pull/7277/head
Cagatay Civici 2025-02-18 16:42:07 +03:00
parent 421a48789d
commit 3b00f66917
2 changed files with 1 additions and 2 deletions

View File

@ -226,7 +226,6 @@ export default {
usePreset(this.$appState.designer.theme.preset);
this.applyFont(this.$appState.designer.theme.config.font_family);
document.documentElement.style.fontSize = this.$appState.designer.theme.config.font_size;
this.replaceColorPalette();
this.refreshACTokens();
},
getCookie(name) {

View File

@ -40,7 +40,7 @@
]"
@click="openNewTheme"
>
<i class="pi pi-plus !text-2xl"></i>
<i class="pi pi-plus"></i>
</button>
<template v-if="loading">
<Skeleton class="!rounded-xl !h-32 !w-32">-</Skeleton>