fix(frontend): layout colors

This commit is contained in:
leandrofars 2024-09-05 14:50:24 -03:00
parent 6cfc61cadd
commit 72285a5b06
2 changed files with 16 additions and 3 deletions

View File

@ -63,7 +63,7 @@ export const Layout = (props) => {
lg={6}
sx={{
alignItems: 'center',
background: `radial-gradient(50% 50% at 50% 50%, ${theme.palette.primary.main} 0%, ${theme.palette.primary.dark } 100%)`,
background: `radial-gradient(50% 50% at 50% 50%, ${theme.palette.primary.dark } 0%, ${theme.palette.neutral[800] } 100%)`,
color: 'white',
display: 'flex',
justifyContent: 'center',
@ -76,7 +76,7 @@ export const Layout = (props) => {
<Link href="http://localhost/companylink" target="_blank">
<img
alt=""
src="/images/logo.png"
src={`${process.env.NEXT_PUBLIC_REST_ENDPOINT || ""}/images/logo.png`}
/>
</Link>
</Box>

View File

@ -27,7 +27,11 @@ export function createComponents(config) {
styleOverrides: {
root: {
borderRadius: '12px',
textTransform: 'none'
textTransform: 'none',
'&:hover': {
backgroundColor: palette.primary.main,
color: palette.primary.contrastText
},
},
sizeSmall: {
padding: '6px 16px'
@ -225,6 +229,15 @@ export function createComponents(config) {
}
}
},
MuiFab: {
styleOverrides: {
root: {
'&:hover': {
backgroundColor: palette.primary.main,
},
}
}
},
MuiFormLabel: {
styleOverrides: {
root: {