Skip to content

Commit

Permalink
#11 Replace None with transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
tina-e committed Aug 15, 2022
1 parent 67c72f2 commit d78a88c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/SidebarHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ export const SidebarHeader = () => {
})}>
<div className={sidebarOpen ? "transition duration-300 rotate-90" : "transition duration-300 rotate-0"}
onClick={() => setSidebarOpen(!sidebarOpen)}>
<Button bgColor="None"
<Button bgColor="transparent"
size="sm"
textColor="font-bold text-darkGrey"
icon={<List size={18} />}>
</Button>
</div>

<div className={sidebarOpen ? "flex flex-row gap-2 w-[1h]" : "flex flex-row gap-2 w-[1h] hidden"}>
<Button bgColor={isNotesActive ? "bg-offWhite" : "None"}
<Button bgColor={isNotesActive ? "bg-offWhite" : "transparent"}
size="sm"
textColor="font-bold text-darkGrey"
icon={<Notepad size={18} />}
Expand All @@ -34,7 +34,7 @@ export const SidebarHeader = () => {
setIsBookmarksActive(false);
}}>
</Button>
<Button bgColor={isHintsActive ? "bg-offWhite" : "None"}
<Button bgColor={isHintsActive ? "bg-offWhite" : "transparent"}
size="sm"
textColor="font-bold text-darkGrey"
icon={<Scales size={18} />}
Expand All @@ -44,7 +44,7 @@ export const SidebarHeader = () => {
setIsBookmarksActive(false);
}}>
</Button>
<Button bgColor={isBookmarksActive ? "bg-offWhite" : "None"}
<Button bgColor={isBookmarksActive ? "bg-offWhite" : "transparent"}
size="sm"
textColor="font-bold text-darkGrey"
icon={<Bookmarks size={18} />}
Expand Down

0 comments on commit d78a88c

Please sign in to comment.