mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update themes
This commit is contained in:
parent
ffd6b92344
commit
f7a9ffd6e9
93 changed files with 491 additions and 239 deletions
1
dashboard-ui/scripts/themeloader.js
Normal file
1
dashboard-ui/scripts/themeloader.js
Normal file
|
@ -0,0 +1 @@
|
|||
define(["userSettings","skinManager"],function(userSettings,skinManager){"use strict";pageClassOn("viewbeforeshow","page",function(){var viewType=this.getAttribute("data-theme");viewType||(viewType=this.classList.contains("type-interior")||this.classList.contains("wizardPage")?"a":"b",this.setAttribute("data-theme",viewType));var theme;theme="a"===viewType?userSettings.dashboardTheme()||"light":userSettings.appTheme()||"dark",skinManager.setTheme(theme)})});
|
Loading…
Add table
Add a link
Reference in a new issue