File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed
Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change 1- import { LegacyStyledText , StepMeter , StyledText } from '../../atoms'
1+ import { StepMeter , StyledText } from '../../atoms'
2+ import { grey60 } from '../../helix-design-system/colors'
23import { Box , Btn , Flex } from '../../primitives'
34import { ALIGN_CENTER , DIRECTION_ROW } from '../../styles'
45import { SPACING } from '../../ui-style-constants'
@@ -45,16 +46,28 @@ export const WizardHeader = (props: WizardHeaderProps): JSX.Element => {
4546 currentStep != null &&
4647 totalSteps != null &&
4748 currentStep > 0 ? (
48- < LegacyStyledText className = { styles . step_text } >
49+ < StyledText
50+ desktopStyle = "bodyDefaultRegular"
51+ oddStyle = "bodyTextSemiBold"
52+ color = { grey60 }
53+ >
4954 { `Step ${ currentStep } / ${ totalSteps } ` }
50- </ LegacyStyledText >
55+ </ StyledText >
5156 ) : null }
5257 </ Flex >
5358 { onExit != null ? (
54- < Btn onClick = { onExit } aria-label = "Exit" disabled = { exitDisabled } >
55- < LegacyStyledText className = { styles . exit_button } >
59+ < Btn
60+ onClick = { onExit }
61+ aria-label = "Exit"
62+ disabled = { exitDisabled }
63+ className = { styles . exit_button }
64+ >
65+ < StyledText
66+ desktopStyle = "bodyDefaultSemiBold"
67+ oddStyle = "bodyTextSemiBold"
68+ >
5669 { exitButtonCopy ?? 'Exit' }
57- </ LegacyStyledText >
70+ </ StyledText >
5871 </ Btn >
5972 ) : null }
6073 </ Flex >
You can’t perform that action at this time.
0 commit comments