1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update themes

This commit is contained in:
Luke Pulverenti 2017-07-30 13:53:49 -04:00
parent ffd6b92344
commit f7a9ffd6e9
93 changed files with 491 additions and 239 deletions

View 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)})});