fix: web settings menu icon color (#113)

* fix: web settings menu icon color
This commit is contained in:
Ludvig Lundgren 2022-02-05 14:21:16 +01:00 committed by GitHub
parent 65973758bd
commit 6df77de953
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,12 +41,7 @@ function SubNavLink({item, url}: any) {
aria-current={splitLocation[2] === item.href ? 'page' : undefined} aria-current={splitLocation[2] === item.href ? 'page' : undefined}
> >
<item.icon <item.icon
className={classNames( className="text-gray-400 group-hover:text-gray-500 dark:group-hover:text-gray-300 flex-shrink-0 -ml-1 mr-3 h-6 w-6"
splitLocation[2] === item.href
? 'text-teal-500 dark:text-blue-600 group-hover:text-teal-500 dark:group-hover:text-blue-600'
: 'text-gray-400 group-hover:text-gray-500 dark:group-hover:text-gray-300',
'flex-shrink-0 -ml-1 mr-3 h-6 w-6'
)}
aria-hidden="true" aria-hidden="true"
/> />
<span className="truncate">{item.name}</span> <span className="truncate">{item.name}</span>