
* Require trailing commas * Add trailing commas * Add trailing commas in testUtils dir * Add trailing commas
74 lines
1.5 KiB
TypeScript
74 lines
1.5 KiB
TypeScript
import { makeStyles } from "@saleor/macaw-ui";
|
|
|
|
export const useStyles = makeStyles(
|
|
theme => ({
|
|
arrow: {
|
|
transition: theme.transitions.duration.short + "ms",
|
|
},
|
|
card: {
|
|
"&:last-child": {
|
|
paddingBottom: 0,
|
|
},
|
|
paddingTop: 0,
|
|
},
|
|
channelBtn: {
|
|
"&:focus": {
|
|
outline: "none",
|
|
},
|
|
background: "transparent",
|
|
border: "none",
|
|
cursor: "pointer",
|
|
textAlign: "left",
|
|
},
|
|
channelInfo: {
|
|
fontSize: 14,
|
|
padding: theme.spacing(2, 0),
|
|
},
|
|
channelItem: {
|
|
"&:last-child hr": {
|
|
display: "none",
|
|
},
|
|
padding: theme.spacing(2, 0),
|
|
},
|
|
channelName: {
|
|
alignItems: "center",
|
|
display: "flex",
|
|
justifyContent: "space-between",
|
|
marginBottom: theme.spacing(0.5),
|
|
},
|
|
checkbox: {
|
|
alignItems: "flex-start",
|
|
marginTop: 10,
|
|
},
|
|
date: {
|
|
"& svg": {
|
|
fill: theme.palette.primary.main,
|
|
},
|
|
marginTop: theme.spacing(1),
|
|
},
|
|
hr: {
|
|
position: "relative",
|
|
},
|
|
label: {
|
|
lineHeight: 1.2,
|
|
},
|
|
listingLabel: {
|
|
marginTop: 9,
|
|
},
|
|
rotate: {
|
|
transform: "rotate(180deg)",
|
|
},
|
|
secondLabel: {
|
|
color: theme.palette.text.hint,
|
|
fontSize: 12,
|
|
},
|
|
setPublicationDate: {
|
|
color: theme.palette.primary.main,
|
|
cursor: "pointer",
|
|
fontSize: 14,
|
|
paddingBottom: 10,
|
|
paddingTop: 0,
|
|
},
|
|
}),
|
|
{ name: "ChannelsAvailabilityCard" },
|
|
);
|