Skip to content

Commit

Permalink
(PC-33849) refacto(TypoDS): update typo and remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
yleclercq-pass committed Jan 8, 2025
1 parent b07de4a commit 39a37a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ type TextBodyProps = TextProps & {
}
const Body = styled(TypoDS.Body).attrs<TextBodyProps>((props) => props)<TextBodyProps>(
({ theme, textAlign }) => ({
...theme.typography.body,
textAlign,
color: theme.colors.white,
})
Expand Down
2 changes: 1 addition & 1 deletion src/ui/components/inputs/DropDown/DropDown.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const StyledSelect = styled.select<SelectProps>`
: `${theme.borderRadius.button}px`
const { fontFamily, fontSize, color, lineHeight } = isEmpty
? theme.typography.placeholder
: theme.typography.body
: theme.designSystem.typography.body
return `
font-family: ${fontFamily};
font-size: ${fontSize}px;
Expand Down

0 comments on commit 39a37a9

Please sign in to comment.