From 664a4c178de37619314c042ccf9cbdfe37496496 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 10 Feb 2023 17:31:54 +0100 Subject: [PATCH] (slate-es-de) Refactored to separate the aspect ratio configuration into different XML files. Also improved the 4:3 vertical aspect ratio layout. --- themes/slate-es-de/aspect-ratio-16-9.xml | 194 ++++++++++ .../slate-es-de/aspect-ratio-4-3-vertical.xml | 194 ++++++++++ themes/slate-es-de/aspect-ratio-4-3.xml | 194 ++++++++++ themes/slate-es-de/theme.xml | 358 +----------------- 4 files changed, 593 insertions(+), 347 deletions(-) create mode 100644 themes/slate-es-de/aspect-ratio-16-9.xml create mode 100644 themes/slate-es-de/aspect-ratio-4-3-vertical.xml create mode 100644 themes/slate-es-de/aspect-ratio-4-3.xml diff --git a/themes/slate-es-de/aspect-ratio-16-9.xml b/themes/slate-es-de/aspect-ratio-16-9.xml new file mode 100644 index 000000000..c2cea0ded --- /dev/null +++ b/themes/slate-es-de/aspect-ratio-16-9.xml @@ -0,0 +1,194 @@ + + + + + 0.012 0.955 + 0.035 + + + + + + 0.5 0.6437 + 1 0.056 + 0.035 + + + + + + 0.025 + + + 0.4 0.15 + + + 0.32 0.13 + + + + + + + + 0 0.383796 + 1 0.232407 + 3 + 0.25 0.125 + 1.23 + 0.055 + + + 0.02 0.327 + 0.4 0.28 + + + 0.78 0.327 + 0.12 0.28 + + + 0.40 0.03 + 0.021 + + + 0.38 0.695 + + + 0.38 0.716 + + + 0.38 0.737 + + + 0.38 0.758 + + + 0.38 0.799 + + + 0.38 0.820 + + + 0.38 0.841 + + + 0.38 0.862 + + + 0.38 0.883 + + + 0.38 0.904 + + + + + + 0.214 0.025 + + + 0.42 0.128 + 0.182 0.025 + + + 0.42 0.174 + 0.214 0.05 + 0.05 + + + 0.14 0.02 + 0.0195 + + + 0.815 0.2755 + + + 0.83 0.3005 + 0.14 0.02 + 0.0195 + + + 0.815 0.3355 + + + 0.83 0.3605 + + + 0.815 0.3955 + + + 0.83 0.4205 + + + 0.815 0.4555 + + + 0.83 0.4805 + + + 0.815 0.5155 + + + 0.83 0.5405 + + + 0.815 0.5755 + + + 0.83 0.6005 + 0.14 0.02 + 0.0195 + + + 0.454 0.675 + 0.346 0.242 + 0.0195 + + + 0 0.03 + + + 0.773 0.192 + 0.2 0.042 + 0.025 + + + 0.815 0.675 + 0.13 0.235 + 0 0 + 3 + 3 + + + + + + + + + + + + + + 0.63 0.45 + 0.360 0.424 + + + + + + + + 0.78 0.105 + 0.214 0.05 + 0.05 + true + + + + \ No newline at end of file diff --git a/themes/slate-es-de/aspect-ratio-4-3-vertical.xml b/themes/slate-es-de/aspect-ratio-4-3-vertical.xml new file mode 100644 index 000000000..de3deeebf --- /dev/null +++ b/themes/slate-es-de/aspect-ratio-4-3-vertical.xml @@ -0,0 +1,194 @@ + + + + + 0.012 0.975 + 0.025 + + + + + + 0.5 0.622 + 1 0.046 + 0.037 + + + + + + 0.0264 + + + 0.35 0.12 + + + 0.30 0.10 + + + + + + + + 0 0.40 + 1 0.20 + 1.85 + 0.38 0.11 + 1.3 + 0.075 + + + 0.02 0.367 + 0.4 0.2 + + + 0.77 0.367 + 0.12 0.17 + + + 0.70 0.03 + 0.023 + + + 0.05 0.675 + + + 0.05 0.696 + + + 0.05 0.717 + + + 0.05 0.738 + + + 0.05 0.779 + + + 0.05 0.800 + + + 0.05 0.821 + + + 0.05 0.842 + + + 0.05 0.863 + + + 0.05 0.884 + + + + + + false + + + 0.78 0.128 + 0.32 0.05 + + + 0.78 0.153 + 0.32 0.05 + 0.04 + + + 0.155 0.02 + 0.026 + + + 0.454 0.535 + + + 0.454 0.558 + 0.155 0.02 + 0.026 + + + 0.62 0.535 + + + 0.62 0.558 + + + 0.79 0.535 + + + 0.79 0.558 + + + 0.454 0.59 + + + 0.454 0.613 + + + 0.62 0.59 + + + 0.62 0.613 + + + 0.79 0.59 + + + 0.79 0.613 + 0.155 0.02 + 0.026 + + + 0.454 0.655 + 0.384 0.262 + 0.026 + + + 0 0.02 + + + 0.723 0.192 + 0.24 0.042 + 0.026 + + + 0.96 0.655 + 0.11 0.235 + 1 0 + 4 + 2 + + + + + + + + + + + + + + 0.708 0.38 + 0.506 0.29 + + + + + + + + 0.78 0.153 + 0.32 0.05 + 0.04 + true + + + + \ No newline at end of file diff --git a/themes/slate-es-de/aspect-ratio-4-3.xml b/themes/slate-es-de/aspect-ratio-4-3.xml new file mode 100644 index 000000000..f23b1c6da --- /dev/null +++ b/themes/slate-es-de/aspect-ratio-4-3.xml @@ -0,0 +1,194 @@ + + + + + 0.012 0.955 + 0.034 + + + + + + 0.5 0.6437 + 1 0.056 + 0.035 + + + + + + 0.025 + + + 0.4 0.15 + + + 0.32 0.13 + + + + + + + + 0 0.383796 + 1 0.232407 + 3 + 0.25 0.125 + 1.23 + 0.055 + + + 0.02 0.327 + 0.4 0.28 + + + 0.78 0.327 + 0.12 0.28 + + + 0.44 0.03 + 0.021 + + + 0.34 0.695 + + + 0.34 0.716 + + + 0.34 0.737 + + + 0.34 0.758 + + + 0.34 0.799 + + + 0.34 0.820 + + + 0.34 0.841 + + + 0.34 0.862 + + + 0.34 0.883 + + + 0.34 0.904 + + + + + + 0.182 0.025 + + + 0.42 0.128 + 0.182 0.025 + + + 0.42 0.175 + 0.182 0.05 + 0.042 + + + 0.14 0.02 + 0.0195 + + + 0.815 0.2755 + + + 0.83 0.3005 + 0.14 0.02 + 0.0195 + + + 0.815 0.3355 + + + 0.83 0.3605 + + + 0.815 0.3955 + + + 0.83 0.4205 + + + 0.815 0.4555 + + + 0.83 0.4805 + + + 0.815 0.5155 + + + 0.83 0.5405 + + + 0.815 0.5755 + + + 0.83 0.6005 + 0.14 0.02 + 0.0195 + + + 0.454 0.675 + 0.346 0.242 + 0.0195 + + + 0 0.03 + + + 0.773 0.192 + 0.2 0.042 + 0.025 + + + 0.815 0.675 + 0.13 0.235 + 0 0 + 3 + 3 + + + + + + + + + + + + + + 0.63 0.45 + 0.360 0.424 + + + + + + + + 0.78 0.12 + 0.214 0.05 + 0.05 + true + + + + \ No newline at end of file diff --git a/themes/slate-es-de/theme.xml b/themes/slate-es-de/theme.xml index 015820120..62c5f53fe 100644 --- a/themes/slate-es-de/theme.xml +++ b/themes/slate-es-de/theme.xml @@ -22,6 +22,16 @@ ./${system.theme}/images/logo.svg + + ./aspect-ratio-16-9.xml + + + ./aspect-ratio-4-3.xml + + + ./aspect-ratio-4-3-vertical.xml + + @@ -60,30 +70,21 @@ - 0 0.383796 - 1 0.232407 horizontal ./${system.theme}/images/logo.svg - 3 - 0.25 0.125 - 1.23 linear 0.5 ${systemCarouselColor} ${system.fullName} ${systemCarouselTextColor} ${regularFont} - 0.055 uppercase 1.2 - 0.5 0.6437 - 1 0.056 0.5 0.5 gamecount ${regularFont} - 0.035 center ${systemGameCounterColor} ${systemGameCounterBackgroundColor} @@ -91,61 +92,23 @@ 50 - 0.02 0.327 - 0.4 0.28 0 1 ${systemConsoleImage} - 0.78 0.327 - 0.12 0.28 1 1 ${systemControllerImage} - 0.4 0.03 ${semiBoldFont} - 0.021 left ${systemInfoTextColor} - - 0.38 0.695 - - - 0.38 0.716 - - - 0.38 0.737 - - - 0.38 0.758 - - - 0.38 0.799 - - - 0.38 0.820 - - - 0.38 0.841 - - - 0.38 0.862 - - - 0.38 0.883 - - - 0.38 0.904 - - 0.012 0.955 ${systemHelpColor} ${systemHelpColor} ${systemHelpColorDimmed} ${systemHelpColorDimmed} - 0.035 @@ -158,7 +121,6 @@ ${gamelistTextlistPrimaryColor} ${gamelistTextlistSecondaryColor} ${boldFont} - 0.025 left 0.01 uppercase @@ -167,13 +129,11 @@ 0.02 0.17 - 0.4 0.15 0 1 ${systemConsoleImage} 0.78 0.17 - 0.32 0.13 1 1 ${systemLogo} @@ -192,7 +152,6 @@ 10 - 0.214 0.025 1 1 true ${regularFont} @@ -203,43 +162,31 @@ 1.0 - 0.214 0.05 1 1 ${regularFont} - 0.05 right ${gamelistCollectionsHeaderColor} uppercase 1.0 - + 0.42 0.174 - - 0.42 0.128 - - 0.78 0.10 false - 0.14 0.02 ${boldFont} - 0.0195 ${gamelistDefaultTextColor} uppercase - 0.14 0.02 ${regularFont} - 0.0195 ${gamelistDefaultTextColor} uppercase - 0.454 0.675 - 0.346 0.242 true true 1 @@ -247,75 +194,59 @@ 7 description ${semiBoldFont} - 0.0195 ${gamelistDefaultTextColor} uppercase 1.2 - 0.14 0.02 ${regularFont} - 0.0195 ${gamelistDefaultTextColor} uppercase - 0.815 0.2755 Released: true - 0.83 0.3005 releasedate - 0.815 0.3355 Developer: true - 0.83 0.3605 developer - 0.815 0.3955 Publisher: true - 0.83 0.4205 publisher - 0.815 0.4555 Genre: true - 0.83 0.4805 genre - 0.815 0.5155 Players: true - 0.83 0.5405 players - 0.815 0.5755 Last played: true - 0.83 0.6005 lastplayed 0.453 0.203 - 0 0.03 nearest ${gamelistRatingColor} ./core/images/rating_filled.svg @@ -323,20 +254,13 @@ false - 0.773 0.192 - 0.2 0.042 ${boldFont} - 0.025 right ${gamelistInfoColor} - 0.815 0.675 - 0.13 0.235 left row - 3 - 3 collection, folder, favorite, completed, kidgame, broken, controller, altemulator 0.5 0.572 0.81 @@ -345,12 +269,10 @@ -1.0 0.005 - 0.012 0.955 ${gamelistHelpColor} ${gamelistHelpColor} ${gamelistHelpColorDimmed} ${gamelistHelpColorDimmed} - 0.035 @@ -358,8 +280,6 @@ - - - - - - 0.63 0.45 - 0.360 0.424 0.5 0.5 image nearest true - - - - 0.708 0.38 - 0.506 0.29 - - - - - - - - - - 0.012 0.975 - 0.019 - - - - - 0 0.40 - 1 0.20 - 0.24 0.11 - - - 0.02 0.367 - 0.4 0.2 - - - 0.77 0.367 - 0.12 0.17 - - - 0.5 0.622 - 1 0.046 - 0.028 - - - 0.70 0.03 - 0.019 - - - 0.05 0.675 - - - 0.05 0.696 - - - 0.05 0.717 - - - 0.05 0.738 - - - 0.05 0.779 - - - 0.05 0.800 - - - 0.05 0.821 - - - 0.05 0.842 - - - 0.05 0.863 - - - 0.05 0.884 - - - - - 0.0198 - - - 0.35 0.12 - - - 0.30 0.10 - - - false - - - 0.78 0.12 - 0.32 0.05 - - - 0.78 0.15 - 0.32 0.05 - 0.04 - - - 0.155 0.02 - - - 0.454 0.535 - - - 0.454 0.558 - 0.155 0.02 - - - 0.62 0.535 - - - 0.62 0.558 - - - 0.79 0.535 - - - 0.79 0.558 - - - 0.454 0.59 - - - 0.454 0.613 - - - 0.62 0.59 - - - 0.62 0.613 - - - 0.79 0.59 - - - 0.79 0.613 - 0.155 0.02 - - - 0.454 0.655 - 0.384 0.262 - - - 0 0.02 - - - 0.723 0.192 - 0.24 0.042 - 0.02 - - - 0.96 0.655 - 0.11 0.235 - 1 0 - row - 4 - 2 - - - - - - - - - - 0.012 0.955 - 0.034 - - - - - 0.44 0.03 - - - 0.34 0.695 - - - 0.34 0.716 - - - 0.34 0.737 - - - 0.34 0.758 - - - 0.34 0.799 - - - 0.34 0.820 - - - 0.34 0.841 - - - 0.34 0.862 - - - 0.34 0.883 - - - 0.34 0.904 - - - - - 0.182 0.025 - - - 0.42 0.175 - 0.182 0.05 - 0.042 - - - - - - - 0.012 0.955 - 0.034 - - - - - - - 0.012 0.975 - 0.019 - - - - - 0.0198 - - - 0.35 0.12 - - - 0.30 0.10 - - - 0.78 0.15 - 0.32 0.05 - 0.04 - - - 0.04 0.201