Skip to content

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

Recolor timeline

dominik-zeglen3e298ba24e62
diff --git a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx b/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
index 506cdcdc74..91ae23c5a4 100644
--- a/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
+++ b/saleor/static/dashboard-next/components/Timeline/Timeline.tsx
@@ -41,10 +41,12 @@ const styles = (theme: Theme) =>
},
noteTitle: {
alignItems: "center",
- display: "flex"
+ background: theme.palette.background.default,
+ display: "flex",
+ paddingBottom: 0
},
root: {
- borderColor: theme.typography.caption.color,
+ borderColor: theme.overrides.MuiCard.root.borderColor,
borderStyle: "solid",
borderWidth: "0 0 0 2px",
marginLeft: theme.spacing.unit * 5.5,
diff --git a/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx b/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx
index e137085ada..1c639d3a05 100644
--- a/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx
+++ b/saleor/static/dashboard-next/components/Timeline/TimelineEvent.tsx
@@ -22,15 +22,12 @@ const styles = (theme: Theme) =>
},
dot: {
backgroundColor: theme.palette.primary.main,
- borderColor: grey[300],
borderRadius: "100%",
- borderStyle: "solid",
- borderWidth: 2,
- height: 16,
- left: -33,
+ height: 8,
+ left: -29,
position: "absolute",
- top: 2,
- width: 16
+ top: 6,
+ width: 8
},
noExpander: {
alignItems: "center",