1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-24 16:08:11 +00:00

Clean style

This commit is contained in:
Vasek Mlejnsky 2018-08-24 14:15:49 +02:00
parent b4f267f05e
commit 0ea14d1e18

View File

@ -17,7 +17,8 @@ const A = styled.a`
`} `}
&, &,
&:visited { &:visited,
&:active {
${props => props.isGreen && css` ${props => props.isGreen && css`
color: ${colors.GREEN_PRIMARY}; color: ${colors.GREEN_PRIMARY};
`} `}
@ -35,15 +36,6 @@ const A = styled.a`
color: ${colors.TEXT_PRIMARY}; color: ${colors.TEXT_PRIMARY};
`} `}
} }
&:active {
${props => props.isGreen && css`
color: ${colors.GREEN_TERTIARY};
`}
${props => props.isGray && css`
color: ${colors.TEXT_PRIMARY};
`}
}
`; `;
const Link = ({ const Link = ({