Skip to content

Commit

Permalink
Change all buttons to capitalized
Browse files Browse the repository at this point in the history
  • Loading branch information
kaja-osojnik committed Oct 21, 2023
1 parent 55903e2 commit d8aea95
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 0 additions & 1 deletion src/app/components/PageLayout/NetworkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export const StyledMobileNetworkButton = styled(Button)(({ theme }) => ({
border: `solid 1px ${COLORS.brandExtraDark}`,
fontSize: '14px',
fontWeight: 500,
textTransform: 'capitalize',
color: COLORS.brandDark,
gap: theme.spacing(3),
height: '30px',
Expand Down
1 change: 0 additions & 1 deletion src/app/components/ParaTimePicker/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const StyledContent = styled(Box)(({ theme }) => ({
const TabletBackButton = styled(Button)({
color: COLORS.brandDark,
width: 'fit-content',
textTransform: 'capitalize',
textDecoration: 'none',
})

Expand Down
9 changes: 1 addition & 8 deletions src/styles/theme/defaultTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ export const defaultTheme = createTheme({
lineHeight: '23px',
height: '47px',
borderRadius: 47,
textTransform: 'capitalize',
'&:disabled': {
backgroundColor: COLORS.lavenderGray,
color: COLORS.white,
Expand All @@ -220,7 +221,6 @@ export const defaultTheme = createTheme({
borderWidth: '1px',
borderStyle: 'solid',
borderColor: COLORS.grayMediumLight,
textTransform: 'capitalize',
':disabled': {
backgroundColor: COLORS.disabledPrimaryBackground,
color: COLORS.disabledPrimaryText,
Expand All @@ -235,9 +235,6 @@ export const defaultTheme = createTheme({
borderColor: COLORS.brandExtraDark,
},
},
outlined: {
textTransform: 'capitalize',
},
outlinedSecondary: {
borderColor: COLORS.brandExtraDark,
color: COLORS.brandExtraDark,
Expand All @@ -256,12 +253,8 @@ export const defaultTheme = createTheme({
borderColor: COLORS.brandExtraDark,
},
},
containedSecondary: {
textTransform: 'capitalize',
},
textPrimary: {
color: COLORS.brandDark,
textTransform: 'capitalize',
'&&:hover, &&:focus-visible, &&:active': {
color: COLORS.brandExtraDark,
backgroundColor: 'transparent',
Expand Down

0 comments on commit d8aea95

Please sign in to comment.