2021-09-17 08:09:45 +00:00
|
|
|
import { makeStyles } from "@saleor/macaw-ui";
|
|
|
|
|
|
|
|
import { emphasisedTextBlue, greyDark, textColor } from "./constants";
|
|
|
|
|
|
|
|
const useStyles = makeStyles(
|
|
|
|
theme => ({
|
|
|
|
wrapper: {
|
|
|
|
width: "100%",
|
|
|
|
backgroundColor: "inherit",
|
|
|
|
padding: `0 13px`,
|
2022-06-21 09:36:55 +00:00
|
|
|
fontSize: theme.spacing(1.5),
|
2021-09-17 08:09:45 +00:00
|
|
|
},
|
|
|
|
borderedWrapper: {
|
|
|
|
display: "flex",
|
|
|
|
flexDirection: "row",
|
|
|
|
justifyContent: "space-between",
|
|
|
|
alignItems: "center",
|
|
|
|
maxHeight: theme.spacing(7.5),
|
|
|
|
flex: "0 0 auto",
|
|
|
|
padding: theme.spacing(3, 0),
|
|
|
|
backgroundImage: `linear-gradient(to right, ${greyDark} 13%, rgba(255, 255, 255, 0) 0%)`,
|
|
|
|
backgroundPosition: "bottom",
|
|
|
|
backgroundSize: theme.spacing(1.5, 0.125),
|
2022-06-21 09:36:55 +00:00
|
|
|
backgroundRepeat: "repeat-x",
|
2021-09-17 08:09:45 +00:00
|
|
|
},
|
|
|
|
logoWrapper: {
|
2022-06-21 09:36:55 +00:00
|
|
|
lineHeight: 0,
|
2021-09-17 08:09:45 +00:00
|
|
|
},
|
|
|
|
linkList: {
|
|
|
|
display: "flex",
|
2022-06-21 09:36:55 +00:00
|
|
|
alignItems: "center",
|
2021-09-17 08:09:45 +00:00
|
|
|
},
|
|
|
|
link: {
|
|
|
|
display: "flex",
|
|
|
|
padding: theme.spacing(2),
|
2022-06-21 09:36:55 +00:00
|
|
|
color: textColor,
|
2021-09-17 08:09:45 +00:00
|
|
|
},
|
|
|
|
textEmphasis: {
|
|
|
|
color: emphasisedTextBlue,
|
|
|
|
textTransform: "uppercase",
|
|
|
|
fontWeight: 600,
|
|
|
|
fontStyle: "normal",
|
2022-06-21 09:36:55 +00:00
|
|
|
paddingLeft: "5px",
|
2021-09-17 08:09:45 +00:00
|
|
|
},
|
|
|
|
divider: {
|
|
|
|
borderRight: `1px solid ${greyDark}`,
|
2022-06-21 09:36:55 +00:00
|
|
|
height: theme.spacing(2),
|
|
|
|
},
|
2022-12-08 15:34:46 +00:00
|
|
|
githubStarButton: {
|
|
|
|
lineHeight: 0,
|
|
|
|
marginLeft: "15px",
|
|
|
|
},
|
2021-09-17 08:09:45 +00:00
|
|
|
}),
|
|
|
|
{
|
2022-06-21 09:36:55 +00:00
|
|
|
name: "DemoBanner",
|
|
|
|
},
|
2021-09-17 08:09:45 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
export default useStyles;
|