🚧 Modify toml,powershell prettier plugin(beta)

This commit is contained in:
landaiqing committed 2025-09-17 00:12:39 +08:00
1 parent a83c7139c9
commit 338ac358db
20 files changed
+4635 -912

No files matched your search

+4
View File
@@ -29,6 +29,10 @@ export const useThemeStore = defineStore('theme', () => {
const initializeThemeColors = async () => {
try {
const themes = await ThemeService.GetDefaultThemes();
if (!themes) {
Object.assign(themeColors.darkTheme, defaultDarkColors);
Object.assign(themeColors.lightTheme, defaultLightColors);
}
if (themes[ThemeType.ThemeTypeDark]) {
Object.assign(themeColors.darkTheme, themes[ThemeType.ThemeTypeDark].colors);
}