Skip to content

Commit

Permalink
refactor: use helix typography
Browse files Browse the repository at this point in the history
  • Loading branch information
sfoster1 committed Jun 21, 2024
1 parent 28d169e commit 8e82f7b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
13 changes: 11 additions & 2 deletions app/src/molecules/InterventionModal/ModalContentMixed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,19 @@ export function ModalContentMixed(props: ModalContentMixedProps): JSX.Element {
`}
>
{props.headline != null ? (
<StyledText as="h3Bold">{props.headline}</StyledText>
<StyledText
oddStyle="level3HeaderBold"
desktopStyle="headingSmallBold"
>
{props.headline}
</StyledText>
) : null}
{props.subText != null ? (
<StyledText as="h4" color={COLORS.grey60}>
<StyledText
oddStyle="level4HeaderRegular"
desktopStyle="bodyDefaultRegular"
color={COLORS.grey60}
>
{props.subText}
</StyledText>
) : null}
Expand Down
7 changes: 6 additions & 1 deletion app/src/molecules/InterventionModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ import { ModalContentOneColSimpleButtons } from './ModalContentOneColSimpleButto
import { TwoColumn } from './TwoColumn'
import { OneColumn } from './OneColumn'
import { ModalContentMixed } from './ModalContentMixed'
export { ModalContentOneColSimpleButtons, TwoColumn, OneColumn, ModalContentMixed }
export {
ModalContentOneColSimpleButtons,
TwoColumn,
OneColumn,
ModalContentMixed,
}

export type ModalType = 'intervention-required' | 'error'

Expand Down

0 comments on commit 8e82f7b

Please sign in to comment.