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

Function setLight

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

Source from the content-addressed store, hash-verified

67 };
68
69 const setLight = () => {
70 theme.algorithm = antTheme.defaultAlgorithm;
71 document.body.classList.add("app-light-theme");
72 document.body.classList.remove("app-dark-theme");
73 };
74
75 const setDark = () => {
76 theme.algorithm = antTheme.darkAlgorithm;

Callers 1

initAppThemeFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected