Fix theme initialization in workspace view by integrating ThemingMixin into HomeMixin

Co-authored-by: JDB321Sailor <212125521+JDB321Sailor@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-12-30 15:45:35 +00:00
parent dfa08bac4d
commit fc0bd9aa58
3 changed files with 24825 additions and 1813 deletions

22774
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -6,8 +6,10 @@ import Defaults, { localStorageKeys, iconCdns } from '@/utils/defaults';
import Keys from '@/utils/StoreMutations';
import { searchTiles } from '@/utils/Search';
import { checkItemVisibility } from '@/utils/CheckItemVisibility';
import ThemingMixin from '@/mixins/ThemingMixin';
const HomeMixin = {
mixins: [ThemingMixin],
props: {
subPageInfo: Object,
},
@ -73,9 +75,7 @@ const HomeMixin = {
}
},
setTheme() {
// const theme = this.getSubPageTheme() || GetTheme();
// ApplyLocalTheme(theme);
// ApplyCustomVariables(theme);
this.initializeTheme();
},
updateModalVisibility(modalState) {
this.$store.commit('SET_MODAL_OPEN', modalState);

3858
yarn.lock

File diff suppressed because it is too large Load diff