Fix transparent background in Spotify-ish (#1030)

This commit is contained in:
Samarjeet
2021-04-14 06:35:25 +05:30
committed by GitHub
parent b55d582882
commit c86d2a93b1
+6 -24
View File
@@ -73,21 +73,11 @@ export default {
}, },
background: { background: {
default: '#121212', default: '#121212',
paper: 'inherit', paper: '#121212',
}, },
type: 'dark', type: 'dark',
}, },
overrides: { overrides: {
MuiPopover: {
paper: {
backgroundColor: '#121212',
},
},
MuiDialog: {
paper: {
backgroundColor: '#121212',
},
},
MuiFormGroup: { MuiFormGroup: {
root: { root: {
color: spotifyGreen['500'], color: spotifyGreen['500'],
@@ -103,16 +93,10 @@ export default {
margin: '.75rem 0', margin: '.75rem 0',
}, },
}, },
MuiIconButton: {
label: {
// color: '#fff'
},
},
MuiButton: { MuiButton: {
root: { root: {
background: spotifyGreen['500'], background: spotifyGreen['500'],
color: '#fff', color: '#fff',
// margin: '5px',
border: '1px solid transparent', border: '1px solid transparent',
borderRadius: 500, borderRadius: 500,
'&:hover': { '&:hover': {
@@ -279,14 +263,12 @@ export default {
}, },
systemName: { systemName: {
marginTop: '0.5em', marginTop: '0.5em',
// borderBottom: '1px solid #282828',
marginBottom: '1em', marginBottom: '1em',
}, },
icon: { icon: {
backgroundColor: 'inherit', backgroundColor: 'inherit',
}, },
card: { card: {
// background: 'none',
background: 'none', background: 'none',
boxShadow: 'none', boxShadow: 'none',
padding: '10px 0', padding: '10px 0',
@@ -302,6 +284,11 @@ export default {
background: 'linear-gradient(#171717, #121212)', background: 'linear-gradient(#171717, #121212)',
}, },
}, },
RaList: {
content: {
backgroundColor: 'inherit',
},
},
RaListToolbar: { RaListToolbar: {
toolbar: { toolbar: {
padding: '0 .55rem !important', padding: '0 .55rem !important',
@@ -318,11 +305,6 @@ export default {
marginRight: '1rem', marginRight: '1rem',
}, },
}, },
RaAutocompleteSuggestionList: {
suggestionsPaper: {
backgroundColor: '#121212',
},
},
RaPaginationActions: { RaPaginationActions: {
button: { button: {
backgroundColor: 'inherit', backgroundColor: 'inherit',