Compare commits

...

1 Commits

Author SHA1 Message Date
Trisha Lim
3fe1d71f9b fix: active route styling on docs 2024-11-15 18:27:47 +00:00

View File

@@ -27,9 +27,9 @@ export function SideNavItem({
className={clsx(
classes,
href &&
"hover:text-black dark:hover:text-stone-200 transition-colors hover:transition-none",
"hover:text-stone-900 dark:hover:text-stone-200 transition-colors hover:transition-none",
{
"text-black": path === href,
"text-stone-900 dark:text-white": path === href,
},
)}
>