mirror of
https://github.com/strapi/strapi.git
synced 2025-09-24 16:04:54 +00:00
fix: changed active state background color (#22545)
This commit is contained in:
parent
f7525dade9
commit
33da70177d
@ -24,25 +24,18 @@ const MainNavLinkWrapper = styled(RouterLink)`
|
||||
padding-block: 0.6rem;
|
||||
padding-inline: 0.6rem;
|
||||
|
||||
&:hover,
|
||||
&.active {
|
||||
background: ${({ theme }) => theme.colors.neutral100};
|
||||
}
|
||||
|
||||
&:hover {
|
||||
svg path {
|
||||
fill: ${({ theme }) => theme.colors.neutral600};
|
||||
}
|
||||
color: ${({ theme }) => theme.colors.neutral700};
|
||||
background: ${({ theme }) => theme.colors.neutral100};
|
||||
}
|
||||
|
||||
&.active {
|
||||
svg path {
|
||||
fill: ${({ theme }) => theme.colors.primary600};
|
||||
}
|
||||
|
||||
color: ${({ theme }) => theme.colors.primary600};
|
||||
font-weight: 500;
|
||||
background: ${({ theme }) => theme.colors.primary100};
|
||||
}
|
||||
`;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user