chore: layout UI upgrade (#6577)

This commit is contained in:
Joel
2024-07-23 17:11:02 +08:00
committed by GitHub
parent ad7552ea8d
commit 6a9d202414
13 changed files with 51 additions and 19 deletions

View File

@@ -44,7 +44,7 @@ export default function NavLink({
key={name}
href={href}
className={classNames(
isActive ? 'bg-primary-50 text-primary-600 font-semibold' : 'text-gray-700 hover:bg-gray-100 hover:text-gray-700',
isActive ? 'bg-state-accent-active text-text-accent font-semibold' : 'text-components-menu-item-text hover:bg-gray-100 hover:text-components-menu-item-text-hover',
'group flex items-center h-9 rounded-md py-2 text-sm font-normal',
mode === 'expand' ? 'px-3' : 'px-2.5',
)}
@@ -53,7 +53,6 @@ export default function NavLink({
<NavIcon
className={classNames(
'h-4 w-4 flex-shrink-0',
isActive ? 'text-primary-600' : 'text-gray-700',
mode === 'expand' ? 'mr-2' : 'mr-0',
)}
aria-hidden="true"