diff --git a/NextJS_web_GUI/components/NavBarRightIcons.js b/NextJS_web_GUI/components/NavBarRightIcons.js index ca6acd8..359a472 100644 --- a/NextJS_web_GUI/components/NavBarRightIcons.js +++ b/NextJS_web_GUI/components/NavBarRightIcons.js @@ -33,7 +33,8 @@ function NavBarRightIcons(props) { }; const handleThemeChange = () => { - setGlobalState("darkMode", !darkMode) + // setGlobalState("darkMode", !darkMode) + setGlobalState("notSupportedOpen", true); } function iconButtonSize(width) { diff --git a/NextJS_web_GUI/components/_app.js b/NextJS_web_GUI/components/_app.js index 7e1aadd..c969b35 100644 --- a/NextJS_web_GUI/components/_app.js +++ b/NextJS_web_GUI/components/_app.js @@ -79,19 +79,18 @@ function MyAppTwo({ prp, prp2, setRootLoading }) { body { overflow: revert !important; } - :root { + /*:root { transition: filter 0.5s ease-out; - } + }*/ `} { - darkMode ? <> :