Skip to content

Commit 682b4b5

Browse files
revert Migrated all the Chakra imports to Shadcn/Tailwind
1 parent e6dc9e0 commit 682b4b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/SideNav.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const innerLinksVariants = {
3535

3636
const LinkContainer = ({ children }: ChildOnlyProp) => {
3737
return (
38-
<HStack className="w-full justify-between py-2 pe-4 ps-8 hover:bg-background-highlight">
38+
<HStack className="w-full justify-between py-2 pe-4 ps-8 hover:bg-[ednBackground]">
3939
{children}
4040
</HStack>
4141
)
@@ -98,7 +98,7 @@ const NavLink = ({ item, path, isTopLevel }: NavLinkProps) => {
9898
variants={dropdownIconContainerVariant}
9999
animate={isOpen ? "open" : "closed"}
100100
>
101-
<MdChevronRight className="h-6 w-6 text-body-medium" />
101+
<MdChevronRight className="h-6 w-6" color="secondary" />
102102
</motion.div>
103103
</LinkContainer>
104104
<motion.div className="ms-4 text-sm font-normal leading-relaxed"
@@ -137,7 +137,7 @@ const SideNav = ({ path }: SideNavProps) => {
137137

138138
return (
139139
<nav
140-
className="sticky top-[4.75rem] pt-8 pb-16 h-[calc(100vh - 80px)] w-[calc((100% - 1448px) / 2 + 256px)] min-w-256 overflow-y-auto transition-transform duration-200 ease bg-background shadow-[1px_0px_0px_rgba(0,0,0,0.1)] border-e border-e-border lg:block"
140+
className="sticky top-[4.75rem] pt-8 pb-16 h-[calc(100vh - 80px)] w-[calc((100% - 1448px) / 2 + 256px)] min-w-256 overflow-y-auto transition-transform duration-200 ease bg-[background.base] shadow-[1px_0px_0px_rgba(0,0,0,0.1)] border-e border-e-border lg:block"
141141
aria-label={t("common:nav-developers-docs")}
142142
>
143143
{docLinks.map((item, idx) => (

0 commit comments

Comments
 (0)