kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Fix sidebar active link color
rodzic
aaa0d4c4f4
commit
41aeb9d07e
|
@ -44,8 +44,9 @@ const SidebarNavigationLink = forwardRef((props: ISidebarNavigationLink, ref: Re
|
|||
ref={ref}
|
||||
onClick={handleClick}
|
||||
className={clsx({
|
||||
'flex items-center px-4 py-3.5 text-base font-semibold space-x-4 rtl:space-x-reverse rounded-full group text-gray-600 hover:text-gray-900 dark:text-gray-500 dark:hover:text-gray-100 hover:bg-gray-50 dark:hover:bg-primary-800': true,
|
||||
'dark:text-gray-0 text-gray-900': isActive,
|
||||
'flex items-center px-4 py-3.5 text-base font-semibold space-x-4 rtl:space-x-reverse rounded-full group hover:text-gray-900 dark:hover:text-gray-100 hover:bg-gray-50 dark:hover:bg-primary-800': true,
|
||||
'text-gray-600 dark:text-gray-500': !isActive,
|
||||
'text-gray-900 dark:text-gray-50': isActive,
|
||||
})}
|
||||
>
|
||||
<span className='relative'>
|
||||
|
|
Ładowanie…
Reference in New Issue