MCPcopy Create free account
hub / github.com/MCSManager/MCSManager / setTheme

Function setTheme

frontend/src/stores/useAppConfigStore.ts:105–108  ·  view source on GitHub ↗
(t: AppTheme)

Source from the content-addressed store, hash-verified

103 };
104
105 const setTheme = (t: AppTheme) => {
106 currentTheme.value = t;
107 initAppTheme();
108 };
109
110 const changeLanguage = (lang: string) => {
111 setLanguage(lang);

Callers 1

useHeaderMenusFunction · 0.85

Calls 1

initAppThemeFunction · 0.85

Tested by

no test coverage detected