Skip to content

Commit

Permalink
Merge pull request #105 from Giveth/make-button-text-capitalize
Browse files Browse the repository at this point in the history
Make button text capitalize
  • Loading branch information
MohammadPCh authored Jun 23, 2024
2 parents 65ad5e7 + 2a0faab commit 99c6de3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@giveth/ui-design-system",
"version": "1.11.27",
"version": "1.11.30",
"files": [
"/lib"
],
Expand Down
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 99c6de3

Please sign in to comment.