Update doc link background color when active

This commit is contained in:
Tim Qian 2023-02-14 02:26:36 +00:00 committed by rjl493456442
parent 66ef43ecd7
commit 9774349473

View file

@ -74,7 +74,7 @@ export const DocsLinks: FC<Props> = ({ navLinks, toggleMobileAccordion }) => {
borderColor='primary' borderColor='primary'
w='100%' w='100%'
bg={isSectionActive ? 'secondary' : 'bg'} bg={isSectionActive ? 'secondary' : 'bg'}
color={isSectionActive ? 'body' : 'primary'} color={isSectionActive ? 'bg' : 'primary'}
_groupHover={{ background: 'primary', color: 'bg', textDecoration: 'none' }} _groupHover={{ background: 'primary', color: 'bg', textDecoration: 'none' }}
> >
{to ? ( {to ? (