(rbsimple-DE) Added dark mode variants.

This commit is contained in:
Leon Styhre 2022-02-01 18:10:51 +01:00
parent c530373ddc
commit 4b15a23cd0
4 changed files with 107 additions and 16 deletions

View file

@ -3,10 +3,8 @@ Theme capabilities for rbsimple-DE.
--> -->
<themeCapabilities> <themeCapabilities>
<aspectRatio>4:3</aspectRatio>
<aspectRatio>4:3_vertical</aspectRatio>
<aspectRatio>16:9</aspectRatio> <aspectRatio>16:9</aspectRatio>
<aspectRatio>16:10</aspectRatio> <aspectRatio>4:3</aspectRatio>
<variant name="lightMode"> <variant name="lightMode">
<label>Light mode</label> <label>Light mode</label>
@ -17,8 +15,8 @@ Theme capabilities for rbsimple-DE.
</override> </override>
</variant> </variant>
<variant name="lightModeNoVideo"> <variant name="lightModeNoVideos">
<label>Light mode, no video</label> <label>Light mode (no videos)</label>
<selectable>true</selectable> <selectable>true</selectable>
<override> <override>
<trigger>no_game_media</trigger> <trigger>no_game_media</trigger>
@ -35,8 +33,8 @@ Theme capabilities for rbsimple-DE.
</override> </override>
</variant> </variant>
<variant name="darkModeNoVideo"> <variant name="darkModeNoVideos">
<label>Dark mode, no video</label> <label>Dark mode (no videos)</label>
<selectable>true</selectable> <selectable>true</selectable>
<override> <override>
<trigger>no_game_media</trigger> <trigger>no_game_media</trigger>
@ -46,7 +44,7 @@ Theme capabilities for rbsimple-DE.
<variant name="noMedia"> <variant name="noMedia">
<label>No game media</label> <label>No game media</label>
<selectable>true</selectable> <selectable>false</selectable>
</variant> </variant>
</themeCapabilities> </themeCapabilities>

View file

@ -0,0 +1,73 @@
<theme>
<view name="system">
<carousel name="systemcarousel">
<color>747474D8</color>
</carousel>
<text name="systemInfo">
<color>C6C6C6</color>
<backgroundColor>555555D8</backgroundColor>
</text>
<text name="info1, info2, info3, info4, info5, info6, info7,
info8, info9, info10, info11, info12">
<color>B6B6B6</color>
</text>
<image name="background">
<color>404040</color>
</image>
<text name="logoText">
<color>B6B6B6</color>
</text>
</view>
<view name="system, gamelist">
<helpsystem name="help">
<textColor>A6A6A6</textColor>
<iconColor>A6A6A6</iconColor>
<textColorDimmed>969696</textColorDimmed>
<iconColorDimmed>969696</iconColorDimmed>
</helpsystem>
</view>
<view name="gamelist">
<image name="background">
<color>404040</color>
</image>
<textlist name="gamelist">
<selectorColor>161616</selectorColor>
<selectedColor>AFAFAF</selectedColor>
<primaryColor>000000</primaryColor>
<secondaryColor>333333</secondaryColor>
</textlist>
<gamelistinfo name="gamelistInfo">
<color>303030</color>
</gamelistinfo>
</view>
<variant name="noMedia">
<view name="gamelist">
<image name="backframe1">
<color>9F9F9F</color>
</image>
</view>
</variant>
<!-- All except basic -->
<view name="gamelist">
<image name="backframe2">
<color>6F6F6F</color>
</image>
<image name="backframe3">
<color>6F6F6F</color>
</image>
<text name="md_lbl_rating, md_lbl_releasedate, md_lbl_developer,
md_lbl_publisher, md_lbl_genre, md_lbl_players,
md_lbl_lastplayed, md_lbl_playcount, md_developer,
md_publisher, md_genre, md_players, md_playcount,
md_description">
<color>000000</color>
</text>
<datetime name="md_releasedate, md_lastplayed">
<color>000000</color>
</datetime>
</view>
</theme>

View file

@ -7,9 +7,16 @@ based on: 'recalbox-multi' by the Recalbox community
--> -->
<theme> <theme>
<include>./colors.xml</include>
<include>./navigationsounds.xml</include> <include>./navigationsounds.xml</include>
<variant name="lightMode, lightModeNoVideos">
<include>./colors_light.xml</include>
</variant>
<variant name="darkMode, darkModeNoVideos">
<include>./colors_dark.xml</include>
</variant>
<view name="system"> <view name="system">
<carousel name="systemcarousel"> <carousel name="systemcarousel">
<logoScale>1.23</logoScale> <logoScale>1.23</logoScale>
@ -120,6 +127,20 @@ based on: 'recalbox-multi' by the Recalbox community
</image> </image>
</view> </view>
<aspectRatio name="4:3">
<view name="gamelist">
<text name="4:3_temporary">
<forceUppercase>true</forceUppercase>
<text>4:3 not implemented</text>
<fontPath>./core/fonts/Exo2-SemiBoldCondensed.otf</fontPath>
<fontSize>0.03</fontSize>
<size>0.2 0.04</size>
<pos>0.84 0.01</pos>
<color>FFFFFF</color>
</text>
</view>
</aspectRatio>
<view name="gamelist"> <view name="gamelist">
<image name="consolegame"> <image name="consolegame">
<pos>0.02 0.17</pos> <pos>0.02 0.17</pos>
@ -137,26 +158,25 @@ based on: 'recalbox-multi' by the Recalbox community
<text name="md_lbl_rating, md_lbl_releasedate, md_lbl_developer, <text name="md_lbl_rating, md_lbl_releasedate, md_lbl_developer,
md_lbl_publisher, md_lbl_genre, md_lbl_players, md_lbl_publisher, md_lbl_genre, md_lbl_players,
md_lbl_lastplayed"> md_lbl_lastplayed">
<forceUppercase>1</forceUppercase> <forceUppercase>true</forceUppercase>
<fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath> <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
<fontSize>0.02</fontSize> <fontSize>0.02</fontSize>
<size>0.144 0.02</size> <size>0.144 0.02</size>
</text> </text>
<text name="md_developer, md_publisher, md_genre, md_players"> <text name="md_developer, md_publisher, md_genre, md_players">
<forceUppercase>1</forceUppercase> <forceUppercase>true</forceUppercase>
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath> <fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.02</fontSize> <fontSize>0.02</fontSize>
<size>0.144 0.02</size>
</text> </text>
<text name="md_description"> <text name="md_description">
<container>true</container> <container>true</container>
<forceUppercase>1</forceUppercase> <forceUppercase>true</forceUppercase>
<metadata>md_description</metadata> <metadata>md_description</metadata>
<fontPath>./core/fonts/Exo2-SemiBoldCondensed.otf</fontPath> <fontPath>./core/fonts/Exo2-SemiBoldCondensed.otf</fontPath>
<fontSize>0.024</fontSize> <fontSize>0.024</fontSize>
</text> </text>
<datetime name="md_releasedate, md_lastplayed"> <datetime name="md_releasedate, md_lastplayed">
<forceUppercase>1</forceUppercase> <forceUppercase>true</forceUppercase>
<fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath> <fontPath>./core/fonts/Exo2-RegularCondensed.otf</fontPath>
<fontSize>0.02</fontSize> <fontSize>0.02</fontSize>
<size>0.144 0.02</size> <size>0.144 0.02</size>
@ -164,7 +184,7 @@ based on: 'recalbox-multi' by the Recalbox community
<textlist name="gamelist"> <textlist name="gamelist">
<fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath> <fontPath>./core/fonts/Exo2-BoldCondensed.otf</fontPath>
<fontSize>0.025</fontSize> <fontSize>0.025</fontSize>
<forceUppercase>1</forceUppercase> <forceUppercase>true</forceUppercase>
</textlist> </textlist>
</view> </view>
@ -299,7 +319,7 @@ based on: 'recalbox-multi' by the Recalbox community
</view> </view>
</variant> </variant>
<variant name="lightModeNoVideo darkModeNoVideo"> <variant name="lightModeNoVideos, darkModeNoVideos">
<view name="gamelist"> <view name="gamelist">
<image name="md_image"> <image name="md_image">
<origin>0.5 0.5</origin> <origin>0.5 0.5</origin>