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

Function setDark

frontend/src/stores/useAppConfigStore.ts:75–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 };
74
75 const setDark = () => {
76 theme.algorithm = antTheme.darkAlgorithm;
77 document.body.classList.add("app-dark-theme");
78 document.body.classList.remove("app-light-theme");
79 };
80
81 const resetTheme = () => (currentTheme.value = AppTheme.LIGHT);
82

Callers 1

initAppThemeFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected