Skip to content

Commit f3f2032

Browse files
committed
add white border to svg
1 parent 7fcb156 commit f3f2032

File tree

1 file changed

+5
-5
lines changed
  • packages/template-retail-react-app/app/components/progress-tracker

1 file changed

+5
-5
lines changed

packages/template-retail-react-app/app/components/progress-tracker/index.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const NotchedBox = () => {
3333
`;
3434
return (
3535
<svg width={size} height={size} style={{ display: "block" }}>
36-
<path d={path} fill={theme.colors.blue[900]} />
36+
<path d={path} fill={theme.colors.blue[900]} stroke="white" strokeWidth="2" />
3737
</svg>
3838
);
3939
};
@@ -64,7 +64,7 @@ export const RoundedChevronStep = ({
6464
return (
6565
<Box position="relative" width={`${width}px`} height={`${height}px`}>
6666
<svg width={width} height={height} style={{ display: "block" }}>
67-
<path d={path} fill={color} />
67+
<path d={path} fill={color} stroke="white" strokeWidth="2" />
6868
</svg>
6969
<Box
7070
position="absolute"
@@ -110,7 +110,7 @@ export const DoubleChevronStep = ({
110110
return (
111111
<Box position="relative" width={`${width}px`} height={`${height}px`}>
112112
<svg width={width} height={height} style={{ display: "block" }}>
113-
<path d={path} fill={color} />
113+
<path d={path} fill={color} stroke="white" strokeWidth="2" />
114114
</svg>
115115
<Box
116116
position="absolute"
@@ -157,7 +157,7 @@ export const ChevronRoundedEndStep = ({
157157
return (
158158
<Box position="relative" width={`${width}px`} height={`${height}px`}>
159159
<svg width={width} height={height} style={{ display: "block" }}>
160-
<path d={path} fill={color} />
160+
<path d={path} fill={color} stroke="white" strokeWidth="2" />
161161
</svg>
162162
<Box
163163
position="absolute"
@@ -240,7 +240,7 @@ const ProgressTracker = () => {
240240
fill = theme.colors.gray[200];
241241
}
242242
shapes.push(
243-
<path key={i} d={path} fill={fill} />
243+
<path key={i} d={path} fill={fill} stroke="white" strokeWidth="2" />
244244
);
245245
}
246246
return shapes;

0 commit comments

Comments
 (0)