better color for dark theme (#612)

This commit is contained in:
Thibaut Sardan 2021-01-05 17:38:17 +01:00 committed by GitHub
parent addbc1cf11
commit d8b8c509dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ function WebsiteEntry ({ className = '', info, toggleAuth, url }: Props): React.
);
}
export default styled(WebsiteEntry)`
export default styled(WebsiteEntry)(({ theme }: Props) => `
display: flex;
align-items: center;
@ -51,8 +51,7 @@ export default styled(WebsiteEntry)`
&.denied {
.slider::before {
opacity: 0.4;
background-color: rgb(36, 37, 41);
background-color: ${theme.backButtonBackground};
}
}
`;
`);