From 758477f1aee8e472449dea913548bd5c868e893b Mon Sep 17 00:00:00 2001 From: dkanada Date: Wed, 11 Dec 2019 23:43:48 +0900 Subject: [PATCH] give themes their own directory to encourage custom entries --- src/components/skinManager.js | 2 +- src/{components => }/themes/appletv/theme.css | 0 src/{components => }/themes/blueradiance/bg.jpg | Bin src/{components => }/themes/blueradiance/theme.css | 0 src/{components => }/themes/dark/theme.css | 0 src/{components => }/themes/emby/theme.css | 0 src/{components => }/themes/light/theme.css | 0 src/{components => }/themes/logodark.png | Bin src/{components => }/themes/logowhite.png | Bin src/{components => }/themes/purple-haze/bg.jpg | Bin src/{components => }/themes/purple-haze/theme.css | 0 src/{components => }/themes/wmc/theme.css | 0 12 files changed, 1 insertion(+), 1 deletion(-) rename src/{components => }/themes/appletv/theme.css (100%) rename src/{components => }/themes/blueradiance/bg.jpg (100%) rename src/{components => }/themes/blueradiance/theme.css (100%) rename src/{components => }/themes/dark/theme.css (100%) rename src/{components => }/themes/emby/theme.css (100%) rename src/{components => }/themes/light/theme.css (100%) rename src/{components => }/themes/logodark.png (100%) rename src/{components => }/themes/logowhite.png (100%) rename src/{components => }/themes/purple-haze/bg.jpg (100%) rename src/{components => }/themes/purple-haze/theme.css (100%) rename src/{components => }/themes/wmc/theme.css (100%) diff --git a/src/components/skinManager.js b/src/components/skinManager.js index 9f96516422..06125e947a 100644 --- a/src/components/skinManager.js +++ b/src/components/skinManager.js @@ -72,7 +72,7 @@ define(['apphost', 'userSettings', 'browser', 'events', 'pluginManager', 'backdr selectedTheme = selectedTheme || defaultTheme; return { - stylesheetPath: require.toUrl('components/themes/' + selectedTheme.id + '/theme.css'), + stylesheetPath: require.toUrl('themes/' + selectedTheme.id + '/theme.css'), themeId: selectedTheme.id }; } diff --git a/src/components/themes/appletv/theme.css b/src/themes/appletv/theme.css similarity index 100% rename from src/components/themes/appletv/theme.css rename to src/themes/appletv/theme.css diff --git a/src/components/themes/blueradiance/bg.jpg b/src/themes/blueradiance/bg.jpg similarity index 100% rename from src/components/themes/blueradiance/bg.jpg rename to src/themes/blueradiance/bg.jpg diff --git a/src/components/themes/blueradiance/theme.css b/src/themes/blueradiance/theme.css similarity index 100% rename from src/components/themes/blueradiance/theme.css rename to src/themes/blueradiance/theme.css diff --git a/src/components/themes/dark/theme.css b/src/themes/dark/theme.css similarity index 100% rename from src/components/themes/dark/theme.css rename to src/themes/dark/theme.css diff --git a/src/components/themes/emby/theme.css b/src/themes/emby/theme.css similarity index 100% rename from src/components/themes/emby/theme.css rename to src/themes/emby/theme.css diff --git a/src/components/themes/light/theme.css b/src/themes/light/theme.css similarity index 100% rename from src/components/themes/light/theme.css rename to src/themes/light/theme.css diff --git a/src/components/themes/logodark.png b/src/themes/logodark.png similarity index 100% rename from src/components/themes/logodark.png rename to src/themes/logodark.png diff --git a/src/components/themes/logowhite.png b/src/themes/logowhite.png similarity index 100% rename from src/components/themes/logowhite.png rename to src/themes/logowhite.png diff --git a/src/components/themes/purple-haze/bg.jpg b/src/themes/purple-haze/bg.jpg similarity index 100% rename from src/components/themes/purple-haze/bg.jpg rename to src/themes/purple-haze/bg.jpg diff --git a/src/components/themes/purple-haze/theme.css b/src/themes/purple-haze/theme.css similarity index 100% rename from src/components/themes/purple-haze/theme.css rename to src/themes/purple-haze/theme.css diff --git a/src/components/themes/wmc/theme.css b/src/themes/wmc/theme.css similarity index 100% rename from src/components/themes/wmc/theme.css rename to src/themes/wmc/theme.css