mirror of
https://github.com/strapi/strapi.git
synced 2025-12-02 10:04:09 +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-block: 0.6rem;
|
||||||
padding-inline: 0.6rem;
|
padding-inline: 0.6rem;
|
||||||
|
|
||||||
&:hover,
|
|
||||||
&.active {
|
|
||||||
background: ${({ theme }) => theme.colors.neutral100};
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
svg path {
|
svg path {
|
||||||
fill: ${({ theme }) => theme.colors.neutral600};
|
fill: ${({ theme }) => theme.colors.neutral600};
|
||||||
}
|
}
|
||||||
color: ${({ theme }) => theme.colors.neutral700};
|
background: ${({ theme }) => theme.colors.neutral100};
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
svg path {
|
svg path {
|
||||||
fill: ${({ theme }) => theme.colors.primary600};
|
fill: ${({ theme }) => theme.colors.primary600};
|
||||||
}
|
}
|
||||||
|
background: ${({ theme }) => theme.colors.primary100};
|
||||||
color: ${({ theme }) => theme.colors.primary600};
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user