Added theme toggle to Admin page

The admin can switch between the two default themes without a page
reload, with a nice animation (on small screens). Preference is stored
as a cookie, so the default theme setting will still apply to others.
This commit is contained in:
2020-07-06 20:53:14 +01:00
parent 781306f1ef
commit a3d3d97b3b
7 changed files with 165 additions and 26 deletions

View File

@@ -71,7 +71,7 @@
"description": "Settings related to the UI and program functionality."
},
"theme": {
"name": "Look",
"name": "Default Look",
"required": false,
"requires_restart": true,
"type": "select",
@@ -81,7 +81,7 @@
"Custom CSS"
],
"value": "Jellyfin (Dark)",
"description": "Choose the look of jellyfin-accounts."
"description": "Default appearance for all users."
},
"host": {
"name": "Address",