mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-18 21:07:44 +03:00
refactor: rename theme name
attribute to themeName
This commit is contained in:
parent
dd2e98fca2
commit
747b5ea25e
@ -32,7 +32,7 @@ const Configuration = () => {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{themeNames.map((t) => (
|
{themeNames.map((t) => (
|
||||||
<MenuItem value={t}>{themes[t].name}</MenuItem>
|
<MenuItem value={t}>{themes[t].themeName}</MenuItem>
|
||||||
))}
|
))}
|
||||||
</Select>
|
</Select>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import blue from '@material-ui/core/colors/blue'
|
import blue from '@material-ui/core/colors/blue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'Dark (default)',
|
themeName: 'Dark (default)',
|
||||||
palette: {
|
palette: {
|
||||||
primary: {
|
primary: {
|
||||||
main: '#90caf9'
|
main: '#90caf9'
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
export default {
|
export default {
|
||||||
name: 'Light',
|
themeName: 'Light',
|
||||||
palette: {
|
palette: {
|
||||||
secondary: {
|
secondary: {
|
||||||
light: '#5f5fc4',
|
light: '#5f5fc4',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user