Refactor style

This commit is contained in:
Nicola Benaglia 2025-06-19 08:16:00 +02:00
parent 21e3cdafd9
commit 8f6ecb22ec
4 changed files with 27 additions and 14 deletions

View File

@ -783,13 +783,11 @@ export const NotAuthenticated = ({
id="alert-dialog-title"
sx={{
textAlign: 'center',
color: theme.palette.text.primary,
fontWeight: 'bold',
opacity: 1,
}}
>
{t('auth:node.custom_many', { postProcess: 'capitalizeFirstChar' })}
:
{t('auth:node.custom_many', { postProcess: 'capitalizeAll' })}
</DialogTitle>
<DialogContent>
@ -819,7 +817,6 @@ export const NotAuthenticated = ({
>
<Typography
sx={{
color: theme.palette.text.primary,
fontSize: '14px',
}}
>
@ -828,10 +825,10 @@ export const NotAuthenticated = ({
<Box
sx={{
alignItems: 'center',
display: 'flex',
gap: '10px',
justifyContent: 'space-between',
alignItems: 'center',
}}
>
<Button
@ -885,7 +882,6 @@ export const NotAuthenticated = ({
>
<Typography
sx={{
color: theme.palette.text.primary,
fontSize: '14px',
}}
>
@ -978,10 +974,10 @@ export const NotAuthenticated = ({
{mode === 'add-node' && (
<Box
sx={{
alignItems: 'center',
display: 'flex',
gap: '10px',
justifyContent: 'space-between',
alignItems: 'center',
}}
>
<Input
@ -1071,7 +1067,6 @@ export const NotAuthenticated = ({
id="alert-dialog-title"
sx={{
textAlign: 'center',
color: theme.palette.text.primary,
fontWeight: 'bold',
opacity: 1,
}}

View File

@ -80,6 +80,14 @@ const commonThemeOptions = {
},
},
},
MuiPopover: {
styleOverrides: {
paper: {
backgroundImage: 'none',
},
},
},
},
};

View File

@ -116,16 +116,21 @@ export const darkThemeOptions: ThemeOptions = {
MuiDialog: {
styleOverrides: {
root: {
backgroundColor: 'rgb(77, 80, 85)',
color: 'rgb(255, 255, 255)',
},
paper: {
backgroundImage: 'none',
},
},
},
MuiPopover: {
MuiPaper: {
styleOverrides: {
paper: {
backgroundImage: 'none',
root: {
backgroundColor: 'rgb(77, 80, 85)',
color: 'rgb(255, 255, 255)',
},
},
},

View File

@ -118,16 +118,21 @@ export const lightThemeOptions: ThemeOptions = {
MuiDialog: {
styleOverrides: {
root: {
backgroundColor: 'rgb(220, 220, 220)',
color: 'rgba(0, 0, 0, 0.87)',
},
paper: {
backgroundImage: 'none',
},
},
},
MuiPopover: {
MuiPaper: {
styleOverrides: {
paper: {
backgroundImage: 'none',
root: {
backgroundColor: 'rgb(220, 220, 220)',
color: 'rgba(0, 0, 0, 0.87)',
},
},
},