fix(frontend): layout colors
This commit is contained in:
parent
6cfc61cadd
commit
72285a5b06
|
|
@ -63,7 +63,7 @@ export const Layout = (props) => {
|
||||||
lg={6}
|
lg={6}
|
||||||
sx={{
|
sx={{
|
||||||
alignItems: 'center',
|
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',
|
color: 'white',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
|
@ -76,7 +76,7 @@ export const Layout = (props) => {
|
||||||
<Link href="http://localhost/companylink" target="_blank">
|
<Link href="http://localhost/companylink" target="_blank">
|
||||||
<img
|
<img
|
||||||
alt=""
|
alt=""
|
||||||
src="/images/logo.png"
|
src={`${process.env.NEXT_PUBLIC_REST_ENDPOINT || ""}/images/logo.png`}
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,11 @@ export function createComponents(config) {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: {
|
root: {
|
||||||
borderRadius: '12px',
|
borderRadius: '12px',
|
||||||
textTransform: 'none'
|
textTransform: 'none',
|
||||||
|
'&:hover': {
|
||||||
|
backgroundColor: palette.primary.main,
|
||||||
|
color: palette.primary.contrastText
|
||||||
|
},
|
||||||
},
|
},
|
||||||
sizeSmall: {
|
sizeSmall: {
|
||||||
padding: '6px 16px'
|
padding: '6px 16px'
|
||||||
|
|
@ -225,6 +229,15 @@ export function createComponents(config) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
MuiFab: {
|
||||||
|
styleOverrides: {
|
||||||
|
root: {
|
||||||
|
'&:hover': {
|
||||||
|
backgroundColor: palette.primary.main,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
MuiFormLabel: {
|
MuiFormLabel: {
|
||||||
styleOverrides: {
|
styleOverrides: {
|
||||||
root: {
|
root: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user