🚧 Modify toml,powershell prettier plugin(beta)

This commit is contained in:
2025-09-17 00:12:39 +08:00
parent a83c7139c9
commit 338ac358db
20 changed files with 4635 additions and 912 deletions

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);
}