added dark mode feature to right sidebar

This commit is contained in:
2024-02-28 11:20:29 +01:00
parent fc2a78dde7
commit c4c1bf6ca1
3 changed files with 166 additions and 75 deletions
+2 -2
View File
@@ -166,7 +166,7 @@ export default function Header({ logoutModalHandler, sidebarHandler }) {
{/* user info */}
<div className="user-info flex items-center justify-end w-full xl:space-x-7 space-x-2 z-10 ">
{/* dark mode */}
<button
{/* <button
onClick={darkMode.handleThemeSwitch}
type="button"
className="xl:w-[176px] w-[52px] h-[52px] dark:bg-white bg-dark-gray border border-pink rounded-full flex justify-center items-center"
@@ -237,7 +237,7 @@ export default function Header({ logoutModalHandler, sidebarHandler }) {
{darkMode.theme === "light" ? "Dark" : "Light"} Mode
</span>
</div>
</button>
</button> */}
{/* balance */}
{/* My Page Button */}