Skip to content

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

Use defined theme color

dominik-zeglenef3b3663254f
diff --git a/saleor/static/dashboard-next/components/ListField/ListField.tsx b/saleor/static/dashboard-next/components/ListField/ListField.tsx
index f61047f27e..9d2ae08573 100644
--- a/saleor/static/dashboard-next/components/ListField/ListField.tsx
+++ b/saleor/static/dashboard-next/components/ListField/ListField.tsx
@@ -6,6 +6,7 @@ import {
withStyles,
WithStyles
} from "@material-ui/core/styles";
+import { fade } from "@material-ui/core/styles/colorManipulator";
import TextField, { StandardTextFieldProps } from "@material-ui/core/TextField";
import Typography from "@material-ui/core/Typography";
import CloseIcon from "@material-ui/icons/Close";
@@ -20,7 +21,7 @@ interface ListFieldState {
const styles = (theme: Theme) =>
createStyles({
chip: {
- background: "rgba(90, 179, 120, .1)",
+ background: fade(theme.palette.primary.mainw, 0.2),
borderRadius: 8,
display: "inline-block",
marginRight: theme.spacing.unit * 2,