Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Minor fixes

dominik-zeglenfcf14c3c1a2d
diff --git a/saleor/static/dashboard-next/components/ListField/ListField.tsx b/saleor/static/dashboard-next/components/ListField/ListField.tsx
index 9d2ae08573..51bf86ef88 100644
--- a/saleor/static/dashboard-next/components/ListField/ListField.tsx
+++ b/saleor/static/dashboard-next/components/ListField/ListField.tsx
@@ -21,7 +21,7 @@ interface ListFieldState {
const styles = (theme: Theme) =>
createStyles({
chip: {
- background: fade(theme.palette.primary.mainw, 0.2),
+ background: fade(theme.palette.primary.main, 0.2),
borderRadius: 8,
display: "inline-block",
marginRight: theme.spacing.unit * 2,
diff --git a/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsx b/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsx
index 09c29b863c..6776e1e0d9 100644
--- a/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsx
+++ b/saleor/static/dashboard-next/components/TablePagination/TablePaginationActions.tsx
@@ -18,14 +18,14 @@ const styles = (theme: Theme) =>
"& > span:first-of-type": {
backgroundColor: theme.palette.background.default
},
+ "& svg": {
+ color: theme.palette.primary.main
+ },
"&$disabled": {
"& svg": {
color: fade(theme.palette.primary.main, 0.2)
}
},
- "& svg": {
- color: theme.palette.primary.main
- },
"&:focus, &:hover": {
"& > span:first-of-type": {
backgroundColor: fade(theme.palette.primary.main, 0.2)
diff --git a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx b/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
index dca538e926..506cdcdc74 100644
--- a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
+++ b/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
@@ -3,7 +3,6 @@ import Button from "@material-ui/core/Button";
import CardActions from "@material-ui/core/CardActions";
import CardContent from "@material-ui/core/CardContent";
import deepPurple from "@material-ui/core/colors/deepPurple";
-import grey from "@material-ui/core/colors/grey";
import {
createStyles,
Theme,