@@ -92,19 +92,24 @@ const NavLink = ({ item, path, toggle }: NavLinkProps) => {
92
92
</ SideNavLink >
93
93
) }
94
94
{ ! item . href && (
95
- < div className = "w-full cursor-pointer" onClick = { ( ) => setIsOpen ( ! isOpen ) } >
95
+ < div
96
+ className = "w-full cursor-pointer"
97
+ onClick = { ( ) => setIsOpen ( ! isOpen ) }
98
+ >
96
99
{ t ( item . id ) }
97
100
</ div >
98
101
) }
99
- < motion . div className = "cursor-pointer flex"
102
+ < motion . div
103
+ className = "flex cursor-pointer"
100
104
onClick = { ( ) => setIsOpen ( ! isOpen ) }
101
105
variants = { dropdownIconContainerVariant }
102
106
animate = { isOpen ? "open" : "closed" }
103
107
>
104
- < MdChevronRight className = "h-6 w-6" color = "secondary " />
108
+ < MdChevronRight className = "h-6 w-6 text-body-medium " />
105
109
</ motion . div >
106
110
</ LinkContainer >
107
- < motion . div className = "ps-4 text-sm font-normal leading-relaxed"
111
+ < motion . div
112
+ className = "ps-4 text-sm font-normal leading-relaxed"
108
113
key = { item . id }
109
114
animate = { isOpen ? "open" : "closed" }
110
115
variants = { innerLinksVariants }
@@ -143,26 +148,26 @@ const SideNavMobile = ({ path }: SideNavMobileProps) => {
143
148
getPageTitleId ( path + "/" , docLinks ) || ( "Change page" as TranslationKey )
144
149
145
150
return (
146
- < div className = "sticky z-2 bg-[ednBackground] h-auto w-full top-[75px] lg:hidden"
147
-
148
- >
151
+ < div className = "sticky top-[75px] z-sticky h-auto w-full bg-background-highlight lg:hidden" >
149
152
< motion . div >
150
153
< Center
151
- className = "box-border cursor-pointer border-b border-b-current bg-[ednBackground] px-8 py-4 font-medium text-[ primary.base] "
154
+ className = "box-border cursor-pointer border-b bg-background-highlight px-8 py-4 font-medium text-primary"
152
155
onClick = { ( ) => setIsOpen ( ! isOpen ) }
153
156
>
154
- < div className = "me-2" > { t ( pageTitleId ) } </ div >
155
- < motion . div className = "cursor-pointer flex"
157
+ < div > { t ( pageTitleId ) } </ div >
158
+ < motion . div
159
+ className = "flex cursor-pointer"
156
160
variants = { dropdownIconContainerVariant }
157
161
animate = { isOpen ? "open" : "closed" }
158
162
>
159
- < MdChevronRight className = "h-6 w-6" color = "secondary " />
163
+ < MdChevronRight className = "h-6 w-6 text-body-medium " />
160
164
</ motion . div >
161
165
</ Center >
162
166
</ motion . div >
163
167
< AnimatePresence >
164
168
{ isOpen && (
165
- < motion . nav className = "h-auto max-h-[calc(100vh - 139px)] overflow-x-hidden overflow-y-scroll border-b border-border p-2"
169
+ < motion . nav
170
+ className = "max-h-[calc(100vh - 139px)] h-auto overflow-x-hidden overflow-y-scroll border-b p-2"
166
171
key = "nav"
167
172
initial = { { opacity : 0 } }
168
173
animate = { {
0 commit comments