Skip to content

Commit

Permalink
Fix action button color and width (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
hardco2020 authored Apr 29, 2022
1 parent c54bbe1 commit 6957286
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/ActionButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ const ActionButton = ({ link, text }) => {
sx={(theme) => ({
margin: '1rem',
bgcolor: 'accents.accent1',
padding: '8px 24px 8px 24px',
color: 'accents.contrastText',
width: '12rem',
borderRadius: 40,
':hover': {
bgcolor: 'accents.accent1',
},
[theme.breakpoints.down('sm')]: {
width: '300px',
},
})}
size="small"
>
Expand Down
2 changes: 1 addition & 1 deletion src/styles/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ declare module '@mui/material/styles' {
const theme = createTheme({
palette: {
primary: {
main: '#556cd6',
main: '#1B2B7B',
},
secondary: {
main: '#F79234',
Expand Down

0 comments on commit 6957286

Please sign in to comment.