Skip to content

Commit

Permalink
Fix light mode for Sidebar (#222)
Browse files Browse the repository at this point in the history
Co-authored-by: vegetason <irakozepaulin12@example.com>
  • Loading branch information
vegetason and vegetason authored Oct 28, 2024
1 parent 75a2cd8 commit 5d44d02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/sidebar/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const Sidebar = ({ expanded, setExpanded }) => {
{items.map((item, index) => (
<li
key={index}
className="flex items-center text-white hover:text-[#56c770]"
className="flex items-center dark:text-white text-black hover:text-[#56c770]"
>
<Link to={item.path} className="p-1 flex items-center">
<span className="mr-3">{item.icon}</span>
Expand All @@ -58,7 +58,7 @@ const Sidebar = ({ expanded, setExpanded }) => {
{sidebarItems3.map((item, index) => (
<li
key={index}
className="flex items-center text-white hover:text-[#56c770]"
className="flex items-center text-black dark:text-white hover:text-[#56c770]"
>
<Link to={item.path} className="p-1 flex items-center">
<span className="mr-3">{item.icon}</span>
Expand All @@ -69,7 +69,7 @@ const Sidebar = ({ expanded, setExpanded }) => {
</ul>
<button
onClick={handleLogout}
className="flex items-center p-1 font-semibold hover:font-bold text-white focus:outline-none hover:text-[#56c770] mt-4 ml-4"
className="flex items-center p-1 font-semibold hover:font-bold text-black dark:text-white focus:outline-none hover:text-[#56c770] mt-4 ml-4"
>
<Icon icon="hugeicons:logout-circle-02" className="mr-3" />
{expanded && <span>Logout</span>}
Expand Down

0 comments on commit 5d44d02

Please sign in to comment.