mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-06 18:33:10 +03:00
Adds a Monokai theme (#1669)
* Adds a new Monokai theme * Deletes a commented-out line
This commit is contained in:
parent
2ddd3acba6
commit
e7cf74d863
@ -4,6 +4,7 @@ import ExtraDarkTheme from './extradark'
|
|||||||
import GreenTheme from './green'
|
import GreenTheme from './green'
|
||||||
import SpotifyTheme from './spotify'
|
import SpotifyTheme from './spotify'
|
||||||
import LigeraTheme from './ligera'
|
import LigeraTheme from './ligera'
|
||||||
|
import MonokaiTheme from './monokai'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
// Classic default themes
|
// Classic default themes
|
||||||
@ -14,5 +15,6 @@ export default {
|
|||||||
ExtraDarkTheme,
|
ExtraDarkTheme,
|
||||||
GreenTheme,
|
GreenTheme,
|
||||||
LigeraTheme,
|
LigeraTheme,
|
||||||
|
MonokaiTheme,
|
||||||
SpotifyTheme,
|
SpotifyTheme,
|
||||||
}
|
}
|
||||||
|
50
ui/src/themes/monokai.css.js
Normal file
50
ui/src/themes/monokai.css.js
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
module.exports = `
|
||||||
|
|
||||||
|
.react-jinke-music-player-main svg:active, .react-jinke-music-player-main svg:hover {
|
||||||
|
color: #fd971f
|
||||||
|
}
|
||||||
|
|
||||||
|
.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: #fd971f
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-jinke-music-player-main ::-webkit-scrollbar-thumb {
|
||||||
|
background-color: #fd971f;
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-jinke-music-player-main .music-player-panel .panel-content .rc-slider-handle:active {
|
||||||
|
box-shadow: 0 0 2px #fd971f
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-jinke-music-player-main .audio-item.playing svg {
|
||||||
|
color: #fd971f
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-jinke-music-player-main .audio-item.playing .player-singer {
|
||||||
|
color: #fd971f !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-jinke-music-player-main .lyric-btn {
|
||||||
|
color: #f8f8f2 !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.react-jinke-music-player-main .lyric-btn-active svg {
|
||||||
|
color: #fd971f !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.music-player-lyric {
|
||||||
|
color: #fd971f !important
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-lists-panel-content .audio-item.playing, .audio-lists-panel-content .audio-item.playing svg {
|
||||||
|
color: #fd971f
|
||||||
|
}
|
||||||
|
.audio-lists-panel-content .audio-item:active .group:not([class=".player-delete"]) svg, .audio-lists-panel-content .audio-item:hover .group:not([class=".player-delete"]) svg {
|
||||||
|
color: #fd971f
|
||||||
|
}
|
||||||
|
|
||||||
|
.progress-bar-content .audio-title a {
|
||||||
|
color: #f8f8f2
|
||||||
|
}
|
||||||
|
|
||||||
|
`
|
100
ui/src/themes/monokai.js
Normal file
100
ui/src/themes/monokai.js
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
export default {
|
||||||
|
themeName: 'Monokai',
|
||||||
|
palette: {
|
||||||
|
primary: {
|
||||||
|
main: '#66d9ef',
|
||||||
|
},
|
||||||
|
secondary: {
|
||||||
|
main: '#49483e',
|
||||||
|
contrastText: '#f8f8f2',
|
||||||
|
},
|
||||||
|
type: 'dark',
|
||||||
|
background: {
|
||||||
|
default: '#272822',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
overrides: {
|
||||||
|
MuiPaper: {
|
||||||
|
root: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
backgroundColor: '#3b3a32',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiButton: {
|
||||||
|
textPrimary: {
|
||||||
|
color: '#66d9ef',
|
||||||
|
},
|
||||||
|
textSecondary: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiChip: {
|
||||||
|
clickable: {
|
||||||
|
background: '#49483e',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiFormGroup: {
|
||||||
|
root: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiFormHelperText: {
|
||||||
|
root: {
|
||||||
|
Mui: {
|
||||||
|
error: {
|
||||||
|
color: '#f92672',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiTableHead: {
|
||||||
|
root: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
background: '#3b3a32 !important',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiTableCell: {
|
||||||
|
root: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
background: '#3b3a32 !important',
|
||||||
|
},
|
||||||
|
head: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
background: '#3b3a32 !important',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
MuiSnackbarContent: {
|
||||||
|
message: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
backgroundColor: '#f92672',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
NDLogin: {
|
||||||
|
systemNameLink: {
|
||||||
|
color: '#66d9ef',
|
||||||
|
},
|
||||||
|
icon: {},
|
||||||
|
welcome: {
|
||||||
|
color: '#f8f8f2',
|
||||||
|
},
|
||||||
|
card: {
|
||||||
|
minWidth: 300,
|
||||||
|
background: '#3b3a32',
|
||||||
|
},
|
||||||
|
avatar: {},
|
||||||
|
button: {
|
||||||
|
boxShadow: '3px 3px 5px #272822',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
NDMobileArtistDetails: {
|
||||||
|
bgContainer: {
|
||||||
|
background:
|
||||||
|
'linear-gradient(to bottom, rgba(52 52 52 / 72%), rgb(48 48 48))!important',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
player: {
|
||||||
|
theme: 'monokai',
|
||||||
|
stylesheet: require('./monokai.css.js'),
|
||||||
|
},
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user