Pass props to Icons, Add more color to card icons

This commit is contained in:
prayag17 committed 2023-03-23 13:21:55 +05:30
1 parent 5212e2c497
commit b66130950b
32 files changed
+86 -68

No files matched your search

+4
View File
@@ -29,6 +29,10 @@ export const CardLandscape = ({ itemName, itemId, imageTags, iconType }) => {
"/Images/Primary"
}
alt={itemName}
sx={{
width: "100%",
aspectRatio: 1.777,
}}
className="card-image-container"
></CardMedia>
) : (
+3 -2
View File
@@ -23,6 +23,7 @@
}
&-icon {
font-size: 4.5em !important;
fill: url(#clr-gradient-default) !important;
&-container {
display: flex !important;
@@ -30,8 +31,8 @@
justify-content: center;
align-items: center;
width: 100% !important;
color: $clr-accent-default;
background: $clr-accent-dark;
color: transparent;
background: $clr-gradient-dark;
z-index: 0;
}
}