Merge branch 'update-sidebar-colors' into 'develop'
Update colors in sidebar See merge request soapbox-pub/soapbox!1873
This commit is contained in:
commit
17e0d93316
1 changed files with 5 additions and 4 deletions
|
@ -37,16 +37,17 @@ const SidebarNavigationLink = React.forwardRef((props: ISidebarNavigationLink, r
|
||||||
ref={ref}
|
ref={ref}
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
className={classNames({
|
className={classNames({
|
||||||
'flex items-center px-4 py-3.5 text-base font-semibold space-x-4 rounded-full group text-gray-600 hover:text-primary-600 dark:text-gray-500 dark:hover:text-gray-100 hover:bg-primary-100 dark:hover:bg-primary-700': true,
|
'flex items-center px-4 py-3.5 text-base font-semibold space-x-4 rounded-full group text-gray-600 hover:text-gray-900 dark:text-gray-500 dark:hover:text-gray-100 hover:bg-primary-200 dark:hover:bg-primary-900': true,
|
||||||
'dark:text-gray-100 text-primary-600': isActive,
|
'dark:text-gray-100 text-gray-900': isActive,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<span className='relative'>
|
<span className='relative'>
|
||||||
<Icon
|
<Icon
|
||||||
src={icon}
|
src={icon}
|
||||||
count={count}
|
count={count}
|
||||||
className={classNames('h-5 w-5 group-hover:text-primary-500', {
|
className={classNames('h-5 w-5', {
|
||||||
'text-primary-500': isActive,
|
'text-gray-600 dark:text-gray-500 group-hover:text-primary-500 dark:group-hover:text-primary-400': !isActive,
|
||||||
|
'text-primary-500 dark:text-primary-400': isActive,
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue