Skip to content

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

Use primary color in component styles

dominik-zeglen36285d43ab01
diff --git a/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx b/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx
index 170cf6e93e..42e39b480d 100644
--- a/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx
+++ b/saleor/static/dashboard-next/categories/components/CategoryProducts/CategoryProducts.tsx
@@ -24,7 +24,7 @@ import { renderCollection } from "../../../misc";
const styles = (theme: Theme) =>
createStyles({
link: {
- color: theme.palette.secondary.main,
+ color: theme.palette.primary.main,
cursor: "pointer"
},
textLeft: {
diff --git a/saleor/static/dashboard-next/components/Link.tsx b/saleor/static/dashboard-next/components/Link.tsx
index 4c8b46f177..cdcde018ad 100644
--- a/saleor/static/dashboard-next/components/Link.tsx
+++ b/saleor/static/dashboard-next/components/Link.tsx
@@ -18,7 +18,7 @@ const styles = (theme: Theme) =>
display: "inline"
},
secondary: {
- color: theme.palette.secondary.main
+ color: theme.palette.primary.main
},
underline: {
textDecoration: "underline"
diff --git a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx
index 81f43e4d26..c1d4554795 100644
--- a/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx
+++ b/saleor/static/dashboard-next/components/RichTextEditor/RichTextEditor.tsx
@@ -78,7 +78,7 @@ const styles = (theme: Theme) =>
overflowY: "scroll"
},
"& a": {
- color: theme.palette.secondary.light
+ color: theme.palette.primary.light
},
"&:after": {
animationDuration: theme.transitions.duration.shortest + "ms",
@@ -125,17 +125,17 @@ const styles = (theme: Theme) =>
"&Button": {
"&--active": {
"&:hover": {
- background: theme.palette.secondary.main
+ background: theme.palette.primary.main
},
"&:not(:hover)": {
- borderRightColor: theme.palette.secondary.main
+ borderRightColor: theme.palette.primary.main
},
- background: theme.palette.secondary.main
+ background: theme.palette.primary.main
},
"&:focus": {
"&:active": {
"&:after": {
- background: fade(theme.palette.secondary.main, 0.3),
+ background: fade(theme.palette.primary.main, 0.3),
borderRadius: "100%",
content: "''",
display: "block",
@@ -145,7 +145,7 @@ const styles = (theme: Theme) =>
}
},
"&:hover": {
- background: fade(theme.palette.secondary.main, 0.3)
+ background: fade(theme.palette.primary.main, 0.3)
},
alignItems: "center",
background: "none",