Improve styles to avoid FOUC

This commit is contained in:
Hazem Krimi
2022-01-29 22:28:53 +01:00
parent 14e1970a56
commit f00dc80aae
8 changed files with 36 additions and 28 deletions
+4 -1
View File
@@ -13,7 +13,10 @@ export const StyledCard = styled.div<{ image: boolean }>`
&:hover {
& > div {
background: ${({ theme }) => theme.colors.blue};
color: ${({ theme }) => theme.colors.dark.text};
* {
color: ${({ theme }) => theme.colors.dark.text} !important;
}
}
img {