saleor-dashboard/src/shipping/components/OrderValue/styles.ts
Dominik Żegleń 416d7d87f6
Improve theming (#1020)
* 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
2021-03-30 09:40:18 +02:00

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"
}
);