Skip to content

Commit

Permalink
fix: make button text capitalize
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadPCh committed Jun 23, 2024
1 parent 65ad5e7 commit 6723eaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/typography/ButtonText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ export interface IButtonTextProps {
}

export const ButtonText = styled.span<IButtonTextProps>`
font-family:
Red Hat Text,
sans-serif;
font-family: Red Hat Text, sans-serif;
font-style: normal;
text-transform: uppercase;
text-transform: capitalize;
font-weight: 700;
color: ${props => (props.color ? props.color : 'inherit')};
${props => {
Expand Down

0 comments on commit 6723eaf

Please sign in to comment.