4_3 and 16_9 variants for placeholders

Signed-off-by: Sophia Hadash <sophiahadash@gmail.com>
This commit is contained in:
shadash 2021-10-14 20:52:29 +02:00 committed by Sophia Hadash
parent 54e54161d1
commit 2e634e8dc6
5 changed files with 42 additions and 20 deletions

View file

@ -23,6 +23,13 @@ based on: Switch Theme by Lilbud
<!-- system specific styles --> <!-- system specific styles -->
<view name="system"> <view name="system">
<image name="logoPlaceholderImage">
<size>0.225 0.3975</size>
</image>
<text name="logoPlaceholderText">
<size>0.18 0.32</size>
<fontSize>0.035</fontSize>
</text>
<image name="selection_bottom" extra="true"> <image name="selection_bottom" extra="true">
<pos>0.5 0.7025</pos> <pos>0.5 0.7025</pos>
<size>0.23 0.003</size> <size>0.23 0.003</size>
@ -72,8 +79,8 @@ based on: Switch Theme by Lilbud
<pos>1 1</pos> <pos>1 1</pos>
</datetime> </datetime>
<badges name="md_badges"> <badges name="md_badges">
<itemsPerLine>4</itemsPerLine> <itemsPerRow>2</itemsPerRow>
<lines>2</lines> <rows>3</rows>
<itemMargin>0.0028125 0.005</itemMargin> <itemMargin>0.0028125 0.005</itemMargin>
</badges> </badges>
</view> </view>

View file

@ -23,21 +23,28 @@ based on: Switch Theme by Lilbud
<!-- system specific styles --> <!-- system specific styles -->
<view name="system"> <view name="system">
<image name="logoPlaceholderImage">
<size>0.235 0.313</size>
</image>
<text name="logoPlaceholderText">
<size>0.18 0.32</size>
<fontSize>0.035</fontSize>
</text>
<image name="selection_bottom" extra="true"> <image name="selection_bottom" extra="true">
<pos>0.5 0.7025</pos> <pos>0.5 0.66</pos>
<size>0.23 0.003</size> <size>0.24 0.003</size>
</image> </image>
<image name="selection_top" extra="true"> <image name="selection_top" extra="true">
<pos>0.5 0.2975</pos> <pos>0.5 0.34</pos>
<size>0.23 0.003</size> <size>0.24 0.003</size>
</image> </image>
<image name="selection_left" extra="true"> <image name="selection_left" extra="true">
<pos>0.385 0.5</pos> <pos>0.38 0.5</pos>
<size>0.0016875 0.408</size> <size>0.0016875 0.3208</size>
</image> </image>
<image name="selection_right" extra="true"> <image name="selection_right" extra="true">
<pos>0.615 0.5</pos> <pos>0.620 0.5</pos>
<size>0.0016875 0.408</size> <size>0.0016875 0.3208</size>
</image> </image>
</view> </view>
@ -73,8 +80,8 @@ based on: Switch Theme by Lilbud
<pos>1 1</pos> <pos>1 1</pos>
</datetime> </datetime>
<badges name="md_badges"> <badges name="md_badges">
<itemsPerLine>5</itemsPerLine> <itemsPerRow>1</itemsPerRow>
<lines>1</lines> <rows>5</rows>
<itemMargin>0.005 0.00375</itemMargin> <itemMargin>0.005 0.00375</itemMargin>
</badges> </badges>
</view> </view>

View file

@ -19,6 +19,7 @@ based on: Switch Theme by Lilbud
<secondaryColor>f4f4f4</secondaryColor> <secondaryColor>f4f4f4</secondaryColor>
<tertiaryColor>858585</tertiaryColor> <tertiaryColor>858585</tertiaryColor>
<systemColor>3aa5ab</systemColor> <systemColor>3aa5ab</systemColor>
<placeholderColor>505050</placeholderColor>
</variables> </variables>
<!-- generic styles --> <!-- generic styles -->
@ -29,6 +30,9 @@ based on: Switch Theme by Lilbud
<iconColorDimmed>${secondaryColor}</iconColorDimmed> <iconColorDimmed>${secondaryColor}</iconColorDimmed>
<textColorDimmed>${secondaryColor}</textColorDimmed> <textColorDimmed>${secondaryColor}</textColorDimmed>
</helpsystem> </helpsystem>
<text name="logoPlaceholderText">
<color>${secondaryColor}</color>
</text>
<image name="background"> <image name="background">
<color>${backgroundColor}</color> <color>${backgroundColor}</color>
</image> </image>
@ -42,6 +46,9 @@ based on: Switch Theme by Lilbud
<!-- system specific styles --> <!-- system specific styles -->
<view name="system"> <view name="system">
<image name="logoPlaceholderImage">
<color>${placeholderColor}</color>
</image>
<text name="system_name_1" extra="true"> <text name="system_name_1" extra="true">
<color>${mainColor}</color> <color>${mainColor}</color>
</text> </text>

View file

@ -18,6 +18,7 @@ based on: Switch Theme by Lilbud
<highlightColor>23caca</highlightColor> <highlightColor>23caca</highlightColor>
<secondaryColor>222222</secondaryColor> <secondaryColor>222222</secondaryColor>
<systemColor>3aa5ab</systemColor> <systemColor>3aa5ab</systemColor>
<placeholderColor>ffffff</placeholderColor>
</variables> </variables>
<!-- generic styles --> <!-- generic styles -->
@ -41,6 +42,12 @@ based on: Switch Theme by Lilbud
<!-- system specific styles --> <!-- system specific styles -->
<view name="system"> <view name="system">
<image name="logoPlaceholderImage">
<color>${placeholderColor}</color>
</image>
<text name="logoPlaceholderText">
<color>${secondaryColor}</color>
</text>
<text name="system_name_1" extra="true"> <text name="system_name_1" extra="true">
<color>${systemColor}</color> <color>${systemColor}</color>
</text> </text>

View file

@ -11,7 +11,7 @@ based on: Switch Theme by Lilbud
<formatVersion>7</formatVersion> <formatVersion>7</formatVersion>
<!-- includes (hard-coded variant until v1.3) --> <!-- includes (hard-coded variant until v1.3) -->
<include>./variants/dark16_9/default.xml</include> <include>./variants/dark4_3/default.xml</include>
<include>./navigationsounds.xml</include> <include>./navigationsounds.xml</include>
<!-- variables --> <!-- variables -->
@ -59,17 +59,12 @@ based on: Switch Theme by Lilbud
</image> </image>
<image name="logoPlaceholderImage"> <image name="logoPlaceholderImage">
<pos>0.5 0.5</pos> <pos>0.5 0.5</pos>
<size>0.225 0.3975</size>
<color>505050</color>
<path>./assets/box.png</path> <path>./assets/box.png</path>
</image> </image>
<text name="logoPlaceholderText"> <text name="logoPlaceholderText">
<pos>0.5 0.5</pos> <pos>0.5 0.5</pos>
<origin>0.5 0.5</origin> <origin>0.5 0.5</origin>
<size>0.18 0.32</size>
<fontSize>0.035</fontSize>
<fontPath>${mainFont}</fontPath> <fontPath>${mainFont}</fontPath>
<color>f4f4f4</color>
<forceUppercase>false</forceUppercase> <forceUppercase>false</forceUppercase>
<text>${system.fullName}</text> <text>${system.fullName}</text>
</text> </text>
@ -435,8 +430,7 @@ based on: Switch Theme by Lilbud
<pos>0.8423 0.69</pos> <pos>0.8423 0.69</pos>
<size>0.1267 0.17335978655</size> <size>0.1267 0.17335978655</size>
<origin>0 0</origin> <origin>0 0</origin>
<direction>column</direction> <itemPlacement>top</itemPlacement>
<align>start</align>
<slots>favorite kidgame broken completed altemulator</slots> <slots>favorite kidgame broken completed altemulator</slots>
</badges> </badges>
</view> </view>