Fix styling of app install ui (#2254)
* Fix styling of app install ui * Fix dark mode colors
This commit is contained in:
parent
c58c6ef3b4
commit
daba8a381f
1 changed files with 6 additions and 3 deletions
|
@ -119,8 +119,6 @@ export const useStyles = makeStyles(
|
||||||
padding: theme.spacing(2, 0),
|
padding: theme.spacing(2, 0),
|
||||||
position: "relative",
|
position: "relative",
|
||||||
width: theme.spacing(35),
|
width: theme.spacing(35),
|
||||||
},
|
|
||||||
installCard: {
|
|
||||||
"&:before": {
|
"&:before": {
|
||||||
backgroundColor: theme.palette.divider,
|
backgroundColor: theme.palette.divider,
|
||||||
content: "''",
|
content: "''",
|
||||||
|
@ -130,6 +128,8 @@ export const useStyles = makeStyles(
|
||||||
transform: "translateY(-50%)",
|
transform: "translateY(-50%)",
|
||||||
width: theme.spacing(30),
|
width: theme.spacing(30),
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
installCard: {
|
||||||
display: "flex",
|
display: "flex",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
position: "relative",
|
position: "relative",
|
||||||
|
@ -157,7 +157,10 @@ export const useStyles = makeStyles(
|
||||||
marginTop: theme.spacing(1),
|
marginTop: theme.spacing(1),
|
||||||
},
|
},
|
||||||
installSaleorIcon: {
|
installSaleorIcon: {
|
||||||
backgroundColor: theme.palette.secondary.main,
|
backgroundColor:
|
||||||
|
theme.palette.type === "dark"
|
||||||
|
? theme.palette.saleor.gray.default
|
||||||
|
: theme.palette.saleor.main[1],
|
||||||
border: "none",
|
border: "none",
|
||||||
},
|
},
|
||||||
installSpacer: {
|
installSpacer: {
|
||||||
|
|
Loading…
Reference in a new issue