Skip to content

Commit 1a2d4a6

Browse files
Merge pull request #1900 from SHASHI9705/fix/dark-light-theme-ui
Fix: Improve dark/light theme consistency in navigation UI
2 parents 914e3c9 + 47403a4 commit 1a2d4a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ const MainNavLink = ({
162162
// }`,
163163
// `${extractPathWithoutFragment(router.asPath) === uri ? 'text-primary dark:text-white dark:underline hover:text-primary' : 'text-slate-600 dark:text-white hover:text-primary dark:hover:underline'}`,
164164
{
165-
'text-primary dark:text-white dark:underline hover:text-primary':
165+
'text-primary dark:text-blue-400 hover:text-primary dark:hover:text-blue-400':
166166
isActiveNav,
167-
'text-slate-600 dark:text-white hover:text-primary dark:hover:underline':
167+
'text-slate-600 dark:text-slate-300 hover:text-primary dark:hover:text-blue-300':
168168
!isActiveNav,
169169
},
170170
)}

0 commit comments

Comments
 (0)