saleor-dashboard/src/components/DemoBanner/styles.ts

60 lines
1.4 KiB
TypeScript
Raw Normal View History

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`,
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),
backgroundRepeat: "repeat-x",
2021-09-17 08:09:45 +00:00
},
logoWrapper: {
lineHeight: 0,
2021-09-17 08:09:45 +00:00
},
linkList: {
display: "flex",
alignItems: "center",
2021-09-17 08:09:45 +00:00
},
link: {
display: "flex",
padding: theme.spacing(2),
color: textColor,
2021-09-17 08:09:45 +00:00
},
textEmphasis: {
color: emphasisedTextBlue,
textTransform: "uppercase",
fontWeight: 600,
fontStyle: "normal",
paddingLeft: "5px",
2021-09-17 08:09:45 +00:00
},
divider: {
borderRight: `1px solid ${greyDark}`,
height: theme.spacing(2),
},
githubStarButton: {
lineHeight: 0,
marginLeft: "15px",
},
2021-09-17 08:09:45 +00:00
}),
{
name: "DemoBanner",
},
2021-09-17 08:09:45 +00:00
);
export default useStyles;