
* Remove unused code * Move theme to separate directory * Separate types * Separate shadows * Separate shadows * Rename types * Modularize code * Do not pollute prototypes * Fix missing import * Aliast mui styles * Import theming internally * Fix types * Fix override type
41 lines
684 B
TypeScript
41 lines
684 B
TypeScript
import { makeStyles } from "@saleor/theme";
|
|
|
|
export const useStyles = makeStyles(
|
|
theme => ({
|
|
caption: {
|
|
marginBottom: theme.spacing(2)
|
|
},
|
|
colName: {
|
|
fontSize: 14,
|
|
paddingLeft: 0,
|
|
width: "auto"
|
|
},
|
|
colType: {
|
|
fontSize: 14,
|
|
textAlign: "right",
|
|
width: 200
|
|
},
|
|
content: {
|
|
"&:last-child": {
|
|
paddingBottom: 0
|
|
},
|
|
paddingLeft: 0,
|
|
paddingRight: 0
|
|
},
|
|
info: {
|
|
fontSize: 14
|
|
},
|
|
price: {
|
|
verticalAlign: "top"
|
|
},
|
|
subheader: {
|
|
padding: theme.spacing(0, 3, 2, 3)
|
|
},
|
|
table: {
|
|
tableLayout: "fixed"
|
|
}
|
|
}),
|
|
{
|
|
name: "OrderValue"
|
|
}
|
|
);
|