From ab1e13d57980e36fe075f9f3bbe98228dc076890 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 21 Dec 2023 21:45:17 +0100 Subject: [PATCH] (modern-es-de) Added support for medium and large font sizes --- themes/modern-es-de/capabilities.xml | 3 + themes/modern-es-de/theme.xml | 109 ++++++++++++++++++++------- 2 files changed, 83 insertions(+), 29 deletions(-) diff --git a/themes/modern-es-de/capabilities.xml b/themes/modern-es-de/capabilities.xml index 567309c43..9c6c01c2c 100644 --- a/themes/modern-es-de/capabilities.xml +++ b/themes/modern-es-de/capabilities.xml @@ -10,6 +10,9 @@ 4:3 21:9 + medium + large + diff --git a/themes/modern-es-de/theme.xml b/themes/modern-es-de/theme.xml index 0c6c61beb..ba32eb245 100644 --- a/themes/modern-es-de/theme.xml +++ b/themes/modern-es-de/theme.xml @@ -14,6 +14,57 @@ ./assets/fonts/nswitchui.ttf + + + + 0.032 + 0.04 + + 0.03 + 0.030 + 1.9 + -0.0015 + 0.03 + 0.03 + 1.2 + 0.02 + 0.03 + 0.70 0.532 + 0.8453 0.532 + 0.70 0.608 + 0.8453 0.608 + 0.70 0.684 + 0.70 0.760 + 0.04 0.03 + 0.1267 0.185 + + + + + + 0.036 + 0.045 + + 0.04 + 0.0368 + 1.7 + 0.0025 + 0.036 + 0.037 + 1.15 + 0.025 + 0.036 + 0.70 0.527 + 0.8453 0.527 + 0.70 0.602 + 0.8453 0.602 + 0.70 0.679 + 0.70 0.760 + 0 0.035 + 0.1267 0.205 + + + ./aspect-ratio-16-9.xml @@ -99,7 +150,7 @@ 0.5 0.5 gamecount ${mainFont} - 0.032 + ${gameCounterFontSize} center ${mainColor} capitalize @@ -117,7 +168,7 @@ 0.743 0.035 0 0.5 ${mainFont} - 0.04 + ${systemNameFontSize} left ${mainColor} @@ -149,18 +200,18 @@ 0.31 0.68 0 0 0.075 - -0.0015 + ${gamelistSelectorVerticalOffset} ${mainColor} ./assets/selector.png ${mainColor} ${secondaryColor} ${tertiaryColor} ${mainFont} - 0.030 + ${gamelistFontSize} left 0.01 none - 1.9 + ${gamelistLineSpacing} 0.5 0.13 @@ -174,7 +225,7 @@ 0.034 0.065 0.743 0.031 ${mainFont} - 0.03 + ${gamelistSystemNameFontSize} left ${secondaryColor} capitalize @@ -200,10 +251,10 @@ 0.966 0.065 - 0.2 0.031 + 0.25 0.031 1 0 ${mainFont} - 0.03 + ${gamelistInfoFontSize} right ${secondaryColor} @@ -244,85 +295,85 @@ 1 4.5 7 - 0.03 - 1.2 + ${descriptionFontSize} + ${descriptionLineSpacing} - 0.70 0.532 + ${publisherLabelPos} 0.13125 0.02 Publisher: true - 0.02 + ${metadataLabelFontSize} 0.70 0.552 0.13125 0.03 publisher Unknown - 0.03 + ${metadataValueFontSize} - 0.8453 0.532 + ${developerLabelPos} 0.13125 0.02 Developer: true - 0.02 + ${metadataLabelFontSize} 0.8453 0.552 0.13125 0.03 developer Unknown - 0.03 + ${metadataValueFontSize} - 0.70 0.608 + ${releaseDateLabelPos} 0.13125 0.02 Released: true - 0.02 + ${metadataLabelFontSize} 0.70 0.628 0.13125 0.03 releasedate Unknown - 0.03 + ${metadataValueFontSize} - 0.8453 0.608 + ${playersLabelPos} 0.13125 0.02 Players: true - 0.02 + ${metadataLabelFontSize} 0.8453 0.628 0.13125 0.03 players Unknown - 0.03 + ${metadataValueFontSize} - 0.70 0.684 + ${genreLabelPos} 0.13125 0.02 Genre: true - 0.02 + ${metadataLabelFontSize} 0.70 0.704 0.13125 0.03 genre Unknown - 0.03 + ${metadataValueFontSize} - 0.70 0.760 + ${ratingLabelPos} 0.13125 0.02 Rating: true - 0.02 + ${metadataLabelFontSize} @@ -336,13 +387,13 @@ 0.70 0.785 - 0.04 0.03 + ${ratingSize} ./assets/star-filled.svg ./assets/${colorSchemeName}/star-unfilled.svg 0.8423 0.685 - 0.1267 0.185 + ${badgesSize} 0 0 column collection, folder, favorite, completed, kidgame, broken, controller, altemulator, manual