fix(ui): Gruvbox Dark colors (#5553)
* Add Gruvbox Dark theme Add Gruvbox Dark color theme including: - gruvboxDark.js with full palette and component overrides - gruvboxDark.css.js with custom player styles * Fix: move error state to MuiFormHelperText
This commit is contained in:
parent
2a43c4683e
commit
dad4203f9a
2 changed files with 58 additions and 16 deletions
|
|
@ -5,7 +5,7 @@ const stylesheet = `
|
||||||
}
|
}
|
||||||
|
|
||||||
.react-jinke-music-player-main .music-player-panel .panel-content .rc-slider-handle, .react-jinke-music-player-main .music-player-panel .panel-content .rc-slider-track {
|
.react-jinke-music-player-main .music-player-panel .panel-content .rc-slider-handle, .react-jinke-music-player-main .music-player-panel .panel-content .rc-slider-track {
|
||||||
background-color: #458588
|
background-color: #ebdbb2
|
||||||
}
|
}
|
||||||
|
|
||||||
.react-jinke-music-player-main ::-webkit-scrollbar-thumb {
|
.react-jinke-music-player-main ::-webkit-scrollbar-thumb {
|
||||||
|
|
@ -50,6 +50,13 @@ const stylesheet = `
|
||||||
.MuiCheckbox-colorSecondary.Mui-checked {
|
.MuiCheckbox-colorSecondary.Mui-checked {
|
||||||
color: #458588 !important
|
color: #458588 !important
|
||||||
}
|
}
|
||||||
|
.react-jinke-music-player-main .music-player-panel svg {
|
||||||
|
color: #ebdbb2;
|
||||||
|
fill: #ebdbb2;
|
||||||
|
}
|
||||||
|
.react-jinke-music-player-main .music-player-panel button {
|
||||||
|
color: #ebdbb2;
|
||||||
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
export default stylesheet
|
export default stylesheet
|
||||||
|
|
|
||||||
|
|
@ -14,22 +14,34 @@ export default {
|
||||||
background: {
|
background: {
|
||||||
default: '#282828',
|
default: '#282828',
|
||||||
},
|
},
|
||||||
|
text: {
|
||||||
|
primary: '#ebdbb2',
|
||||||
|
secondary: '#a89984',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
overrides: {
|
overrides: {
|
||||||
MuiPaper: {
|
MuiPaper: {
|
||||||
root: {
|
root: {
|
||||||
color: '#ebdbb2',
|
color: '#ebdbb2',
|
||||||
backgroundColor: '#3c3836',
|
backgroundColor: '#3c3836',
|
||||||
MuiSnackbarContent: {
|
},
|
||||||
root: {
|
},
|
||||||
color: '#ebdbb2',
|
MuiSnackbarContent: {
|
||||||
backgroundColor: '#cc241d',
|
root: {
|
||||||
},
|
color: '#3c3836',
|
||||||
message: {
|
backgroundColor: '#a89984',
|
||||||
color: '#ebdbb2',
|
},
|
||||||
backgroundColor: '#cc241d',
|
message: {
|
||||||
},
|
color: '#3c3836',
|
||||||
},
|
backgroundColor: '#a89984',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiTypography: {
|
||||||
|
root: {
|
||||||
|
color: '#ebdbb2',
|
||||||
|
},
|
||||||
|
colorTextSecondary: {
|
||||||
|
color: '#a89984',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
MuiButton: {
|
MuiButton: {
|
||||||
|
|
@ -45,6 +57,19 @@ export default {
|
||||||
color: '#ebdbb2',
|
color: '#ebdbb2',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
MuiListItemIcon: {
|
||||||
|
root: {
|
||||||
|
color: '#ebdbb2',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiListItemText: {
|
||||||
|
primary: {
|
||||||
|
color: '#ebdbb2',
|
||||||
|
},
|
||||||
|
secondary: {
|
||||||
|
color: '#a89984',
|
||||||
|
},
|
||||||
|
},
|
||||||
MuiChip: {
|
MuiChip: {
|
||||||
clickable: {
|
clickable: {
|
||||||
background: '#49483e',
|
background: '#49483e',
|
||||||
|
|
@ -57,11 +82,10 @@ export default {
|
||||||
},
|
},
|
||||||
MuiFormHelperText: {
|
MuiFormHelperText: {
|
||||||
root: {
|
root: {
|
||||||
Mui: {
|
color: '#ebdbb2',
|
||||||
error: {
|
},
|
||||||
color: '#cc241d',
|
error: {
|
||||||
},
|
color: '#cc241d',
|
||||||
},
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
MuiTableHead: {
|
MuiTableHead: {
|
||||||
|
|
@ -113,6 +137,17 @@ export default {
|
||||||
'linear-gradient(to bottom, rgba(52 52 52 / 72%), rgb(48 48 48))!important',
|
'linear-gradient(to bottom, rgba(52 52 52 / 72%), rgb(48 48 48))!important',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
NDAlbumGridView: {
|
||||||
|
albumName: {
|
||||||
|
marginTop: '0.5rem',
|
||||||
|
fontWeight: 700,
|
||||||
|
textTransform: 'none',
|
||||||
|
color: '#ebdbb2',
|
||||||
|
},
|
||||||
|
albumSubtitle: {
|
||||||
|
color: '#a89984',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
player: {
|
player: {
|
||||||
theme: 'dark',
|
theme: 'dark',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue