RC-2: update fuse layout and add new values to themes config
This commit is contained in:
@@ -11,7 +11,6 @@ import { memo, useCallback, useContext, useMemo, useRef } from 'react';
|
||||
import { useDispatch, useSelector } from 'react-redux';
|
||||
import { matchRoutes, useLocation } from 'react-router-dom';
|
||||
import GlobalStyles from '@mui/material/GlobalStyles';
|
||||
import { alpha } from '@mui/material/styles';
|
||||
|
||||
const inputGlobalStyles = (
|
||||
<GlobalStyles
|
||||
@@ -38,20 +37,23 @@ const inputGlobalStyles = (
|
||||
'table.simple thead tr th': {
|
||||
borderColor: theme.palette.divider,
|
||||
},
|
||||
'a:not([role=button]):not(.MuiButtonBase-root)': {
|
||||
color: theme.palette.secondary.main,
|
||||
textDecoration: 'underline',
|
||||
'&:hover': {},
|
||||
},
|
||||
'a.link, a:not([role=button])[target=_blank]': {
|
||||
background: alpha(theme.palette.secondary.main, 0.2),
|
||||
color: 'inherit',
|
||||
borderBottom: `1px solid ${theme.palette.divider}`,
|
||||
textDecoration: 'none',
|
||||
'&:hover': {
|
||||
background: alpha(theme.palette.secondary.main, 0.3),
|
||||
textDecoration: 'none',
|
||||
},
|
||||
// 'a:not([role=button]):not(.MuiButtonBase-root)': {
|
||||
// color: theme.palette.secondary.main,
|
||||
// textDecoration: 'underline',
|
||||
// '&:hover': {},
|
||||
// },
|
||||
// 'a.link, a:not([role=button])[target=_blank]': {
|
||||
// background: alpha(theme.palette.secondary.main, 0.2),
|
||||
// color: 'inherit',
|
||||
// borderBottom: `1px solid ${theme.palette.divider}`,
|
||||
// textDecoration: 'none',
|
||||
// '&:hover': {
|
||||
// background: alpha(theme.palette.secondary.main, 0.3),
|
||||
// textDecoration: 'none',
|
||||
// },
|
||||
// },
|
||||
'[class*="MuiOutlinedInput-root"]': {
|
||||
borderRadius: theme.size?.inputRadius,
|
||||
},
|
||||
'[class^="border"]': {
|
||||
borderColor: theme.palette.divider,
|
||||
|
||||
@@ -37,6 +37,7 @@ const themesConfig = {
|
||||
},
|
||||
background: {
|
||||
paper: '#FFFFFF',
|
||||
authPaper: '#F1F5F9',
|
||||
default: '#f1f5f9',
|
||||
},
|
||||
error: {
|
||||
@@ -44,10 +45,16 @@ const themesConfig = {
|
||||
main: '#f44336',
|
||||
dark: '#b71c1c',
|
||||
},
|
||||
border: {
|
||||
light: '#D9D9D9',
|
||||
},
|
||||
},
|
||||
status: {
|
||||
danger: 'orange',
|
||||
},
|
||||
size: {
|
||||
inputRadius: '10px',
|
||||
},
|
||||
},
|
||||
defaultDark: {
|
||||
palette: {
|
||||
|
||||
Reference in New Issue
Block a user