@@ -2,7 +2,7 @@ import React from 'react';
22import PropTypes from 'prop-types' ;
33import { makeStyles , withStyles } from '@material-ui/core/styles' ;
44import clsx from 'clsx' ;
5- import Stepper from '@material-ui/core/Stepper ' ;
5+ import { Stepper , Typography } from '@material-ui/core' ;
66import Step from '@material-ui/core/Step' ;
77import StepLabel from '@material-ui/core/StepLabel' ;
88import Check from '@material-ui/icons/Check' ;
@@ -48,8 +48,8 @@ function QontoStepIcon(props) {
4848 { completed ? (
4949 < Check className = { classes . completed } />
5050 ) : (
51- < div className = { classes . circle } />
52- ) }
51+ < div className = { classes . circle } />
52+ ) }
5353 </ div >
5454 ) ;
5555}
@@ -71,14 +71,12 @@ const ColorlibConnector = withStyles({
7171 } ,
7272 active : {
7373 '& $line' : {
74- backgroundImage :
75- 'linear-gradient( 95deg,rgb(242,113,33) 0%,rgb(233,64,87) 50%,rgb(138,35,135) 100%)'
74+ background : '#ffffff'
7675 }
7776 } ,
7877 completed : {
7978 '& $line' : {
80- backgroundImage :
81- 'linear-gradient( 95deg,rgb(242,113,33) 0%,rgb(233,64,87) 50%,rgb(138,35,135) 100%)'
79+ background : '#ffffff'
8280 }
8381 } ,
8482 line : {
@@ -93,7 +91,7 @@ const useColorlibStepIconStyles = makeStyles({
9391 root : {
9492 backgroundColor : '#ccc' ,
9593 zIndex : 1 ,
96- color : '#fff ' ,
94+ color : 'linear-gradient(180deg, #2A185A 0%, #000000 100%) ' ,
9795 width : 50 ,
9896 height : 50 ,
9997 display : 'flex' ,
@@ -102,13 +100,10 @@ const useColorlibStepIconStyles = makeStyles({
102100 alignItems : 'center'
103101 } ,
104102 active : {
105- backgroundImage :
106- 'linear-gradient( 136deg, rgb(242,113,33) 0%, rgb(233,64,87) 50%, rgb(138,35,135) 100%)' ,
107- boxShadow : '0 4px 10px 0 rgba(0,0,0,.25)'
103+ background : '#ffffff'
108104 } ,
109105 completed : {
110- backgroundImage :
111- 'linear-gradient( 136deg, rgb(242,113,33) 0%, rgb(233,64,87) 50%, rgb(138,35,135) 100%)'
106+ background : '#ffffff'
112107 }
113108} ) ;
114109
@@ -174,7 +169,7 @@ function getSteps() {
174169
175170export default function ProcessSteppers ( ) {
176171 const classes = useStyles ( ) ;
177- const activeStep = 3 ;
172+ const activeStep = 4 ;
178173 const steps = getSteps ( ) ;
179174
180175 return (
@@ -184,12 +179,21 @@ export default function ProcessSteppers() {
184179 activeStep = { activeStep }
185180 connector = { < ColorlibConnector /> }
186181 style = { {
187- padding : '24px 0px'
182+ padding : '24px 0px' ,
183+ backgroundColor : 'transparent'
188184 } }
189185 >
190186 { steps . map ( label => (
191187 < Step key = { label } >
192- < StepLabel StepIconComponent = { ColorlibStepIcon } > { label } </ StepLabel >
188+ < StepLabel StepIconComponent = { ColorlibStepIcon } >
189+ < Typography
190+ style = { {
191+ color : '#ffffff'
192+ } }
193+ >
194+ { label }
195+ </ Typography >
196+ </ StepLabel >
193197 </ Step >
194198 ) ) }
195199 </ Stepper >
0 commit comments