kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Update text color in thumb-navigation
rodzic
19d912a42c
commit
c7b4cc87ba
|
@ -38,7 +38,7 @@ const ThumbNavigationLink: React.FC<IThumbNavigationLink> = ({ count, countMax,
|
||||||
src={icon}
|
src={icon}
|
||||||
className={clsx({
|
className={clsx({
|
||||||
'size-5': true,
|
'size-5': true,
|
||||||
'text-gray-600 black:text-white': active,
|
'text-black dark:text-white black:text-white': active,
|
||||||
'text-primary-500': !active,
|
'text-primary-500': !active,
|
||||||
})}
|
})}
|
||||||
count={count}
|
count={count}
|
||||||
|
@ -49,7 +49,7 @@ const ThumbNavigationLink: React.FC<IThumbNavigationLink> = ({ count, countMax,
|
||||||
src={icon}
|
src={icon}
|
||||||
className={clsx({
|
className={clsx({
|
||||||
'size-5': true,
|
'size-5': true,
|
||||||
'text-white': active,
|
'text-black dark:text-white black:text-white': active,
|
||||||
'text-primary-500': !active,
|
'text-primary-500': !active,
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
|
@ -60,8 +60,8 @@ const ThumbNavigationLink: React.FC<IThumbNavigationLink> = ({ count, countMax,
|
||||||
size='xs'
|
size='xs'
|
||||||
weight='medium'
|
weight='medium'
|
||||||
className={clsx({
|
className={clsx({
|
||||||
'text-gray-600': !active,
|
'text-greed-600': active,
|
||||||
'text-primary-500': active,
|
'text-primary-500': !active,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{text}
|
{text}
|
||||||
|
|
Ładowanie…
Reference in New Issue