@@ -35,7 +35,7 @@ const innerLinksVariants = {
35
35
36
36
const LinkContainer = ( { children } : ChildOnlyProp ) => {
37
37
return (
38
- < HStack className = "w-full justify-between py-2 pe-4 ps-8 hover:bg-[ednBackground] " >
38
+ < HStack className = "w-full justify-between py-2 pe-4 ps-8 hover:bg-background-highlight " >
39
39
{ children }
40
40
</ HStack >
41
41
)
@@ -88,20 +88,24 @@ const NavLink = ({ item, path, isTopLevel }: NavLinkProps) => {
88
88
</ SideNavLink >
89
89
) }
90
90
{ ! item . href && (
91
- < div className = "w-full cursor-pointer" onClick = { ( ) => setIsOpen ( ! isOpen ) } >
91
+ < div
92
+ className = "w-full cursor-pointer"
93
+ onClick = { ( ) => setIsOpen ( ! isOpen ) }
94
+ >
92
95
{ t ( item . id ) }
93
96
</ div >
94
97
) }
95
98
< motion . div
96
- className = "cursor-pointer flex "
99
+ className = "flex cursor-pointer"
97
100
onClick = { ( ) => setIsOpen ( ! isOpen ) }
98
101
variants = { dropdownIconContainerVariant }
99
102
animate = { isOpen ? "open" : "closed" }
100
103
>
101
- < MdChevronRight className = "h-6 w-6" color = "secondary " />
104
+ < MdChevronRight className = "h-6 w-6 text-body-medium " />
102
105
</ motion . div >
103
106
</ LinkContainer >
104
- < motion . div className = "ms-4 text-sm font-normal leading-relaxed"
107
+ < motion . div
108
+ className = "ms-4 text-sm font-normal leading-relaxed"
105
109
key = { item . id }
106
110
animate = { isOpen ? "open" : "closed" }
107
111
variants = { innerLinksVariants }
@@ -137,7 +141,7 @@ const SideNav = ({ path }: SideNavProps) => {
137
141
138
142
return (
139
143
< 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.base] shadow-[1px_0px_0px_rgba(0,0,0,0.1)] border-e border-e-border lg:block"
144
+ className = "h-[calc(100vh - 80px)] w-[calc((100% - 1448px) / 2 + 256px)] min-w-256 ease sticky top-[4.75rem] overflow-y-auto border-e border-e-border bg-background pb-16 pt-8 shadow-[1px_0px_0px_rgba(0,0,0,0.1)] transition-transform duration-200 lg:block"
141
145
aria-label = { t ( "common:nav-developers-docs" ) }
142
146
>
143
147
{ docLinks . map ( ( item , idx ) => (
0 commit comments