@momo-kits/step 0.79.6 → 0.80.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/StepsVertical.tsx CHANGED
@@ -17,7 +17,7 @@ const StepsVertical: FC<StepsProps> = ({steps, activeIndex, size}) => {
17
17
  const {backgroundColor, borderColor} = stepStyle;
18
18
  const lineColor =
19
19
  activeIndex > ii
20
- ? theme.colors.secondary
20
+ ? theme.colors.primary + '33'
21
21
  : theme.colors.background.default;
22
22
  return (
23
23
  <View
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/step",
3
- "version": "0.79.6",
3
+ "version": "0.80.1-beta.2",
4
4
  "private": false,
5
5
  "main": "index.tsx",
6
6
  "dependencies": {},
package/utils.ts CHANGED
@@ -74,7 +74,7 @@ export const getStepColor = (
74
74
  ) => {
75
75
  const {theme} = useContext(ApplicationContext);
76
76
  const DEFAULT_LINE_COLOR = theme.colors.background.default;
77
- const COMPLETED_LINE_COLOR = theme.colors.secondary;
77
+ const COMPLETED_LINE_COLOR = theme.colors.primary + '33';
78
78
 
79
79
  let backgroundColor = Colors.black_06;
80
80
  let borderColor = theme.colors.border.default;
@@ -110,8 +110,8 @@ export const getStepColor = (
110
110
  }
111
111
 
112
112
  case 'completed': {
113
- backgroundColor = Colors.pink_08;
114
- borderColor = Colors.pink_10;
113
+ backgroundColor = theme.colors.primary + '33';
114
+ borderColor = theme.colors.background.selected;
115
115
  break;
116
116
  }
117
117