diff --git a/src/shared/constants/themes.js b/src/shared/constants/themes.js index 5a7ae9d9..6b75d34d 100644 --- a/src/shared/constants/themes.js +++ b/src/shared/constants/themes.js @@ -1,10 +1,10 @@ import dark from '../../assets/scss/themes/theme.dark.scss?url'; import darkblue from '../../assets/scss/themes/theme.darkblue.scss?url'; import amoled from '../../assets/scss/themes/theme.amoled.scss?url'; -import darkvanillaold from '../../assets/scss/themes/theme.darkvanillaold.scss?url'; -import darkvanilla from '../../assets/scss/themes/theme.darkvanilla.scss?url'; -import pink from '../../assets/scss/themes/theme.pink.scss?url'; -import material3 from '../../assets/scss/themes/theme.material3.scss?url'; +// import darkvanillaold from '../../assets/scss/themes/theme.darkvanillaold.scss?url'; +// import darkvanilla from '../../assets/scss/themes/theme.darkvanilla.scss?url'; +// import pink from '../../assets/scss/themes/theme.pink.scss?url'; +// import material3 from '../../assets/scss/themes/theme.material3.scss?url'; export const THEME_CONFIG = { system: { @@ -27,25 +27,25 @@ export const THEME_CONFIG = { cssFile: amoled, isDark: true, name: 'Amoled' - }, - darkvanillaold: { - cssFile: darkvanillaold, - isDark: true, - name: 'Dark Vanilla Old' - }, - darkvanilla: { - cssFile: darkvanilla, - isDark: true, - name: 'Dark Vanilla' - }, - pink: { - cssFile: pink, - isDark: true, - name: 'Pink' - }, - material3: { - cssFile: material3, - isDark: true, - name: 'Material 3' } + // darkvanillaold: { + // cssFile: darkvanillaold, + // isDark: true, + // name: 'Dark Vanilla Old' + // }, + // darkvanilla: { + // cssFile: darkvanilla, + // isDark: true, + // name: 'Dark Vanilla' + // }, + // pink: { + // cssFile: pink, + // isDark: true, + // name: 'Pink' + // }, + // material3: { + // cssFile: material3, + // isDark: true, + // name: 'Material 3' + // } }; diff --git a/src/shared/utils/base/ui.js b/src/shared/utils/base/ui.js index d87f2373..d2546c0e 100644 --- a/src/shared/utils/base/ui.js +++ b/src/shared/utils/base/ui.js @@ -32,7 +32,7 @@ function changeAppThemeStyle(themeMode) { const themeConfig = THEME_CONFIG[themeMode]; if (!themeConfig) { console.error('Invalid theme mode:', themeMode); - return; + themeMode = 'light'; } let filePathPrefix = 'file://vrcx/';