Skip to content

Commit

Permalink
Merge pull request #9 from mluizvitor/custom-bg-v1a
Browse files Browse the repository at this point in the history
Custom Background v1.a
  • Loading branch information
mluizvitor authored Nov 10, 2021
2 parents 40b8e26 + e2b8ca9 commit 3eba114
Show file tree
Hide file tree
Showing 21 changed files with 51 additions and 64 deletions.
Binary file added assets/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/button-hover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/button-normal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/ratio169/background.png
Binary file not shown.
Binary file added assets/ratio169/custom-bg-fg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/ratio169/menu.png
Binary file not shown.
Binary file removed assets/ratio32/background.png
Binary file not shown.
Binary file added assets/ratio32/custom-bg-fg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/ratio32/menu.png
Binary file not shown.
Binary file removed assets/ratio43/background.png
Binary file not shown.
Binary file added assets/ratio43/custom-bg-fg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/ratio43/menu.png
Binary file not shown.
8 changes: 6 additions & 2 deletions settings/colors/commom-dark.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@

<view name="system">
<carousel name="systemcarousel">
<color>${backgroundDarkColor}1a</color>
<colorEnd>${backgroundDarkColor}cc</colorEnd>
<color ifSubset="custom_background:no">${backgroundDarkColor}1a</color>
<color ifSubset="custom_background:yes">${backgroundDarkColor}4d</color>
</carousel>

<!-- System Name -->
Expand All @@ -107,6 +107,10 @@
<color>${backgroundDarkColor}</color>
</image>

<image name="custom_bg_fg" extra="true">
<color>${backgroundDarkColor}</color>
</image>

<!-- System Background -->
<image name="osdBackground" extra="true">
<color>${backgroundDarkColor}</color>
Expand Down
8 changes: 6 additions & 2 deletions settings/colors/commom-hybrid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@

<view name="system">
<carousel name="systemcarousel">
<color>${backgroundDarkColor}1a</color>
<colorEnd>${backgroundDarkColor}cc</colorEnd>
<color ifSubset="custom_background:no">${backgroundDarkColor}1a</color>
<color ifSubset="custom_background:yes">${backgroundDarkColor}4d</color>
</carousel>

<!-- System Name -->
Expand All @@ -114,6 +114,10 @@
<color>${backgroundDarkColor}</color>
</image>

<image name="custom_bg_fg" extra="true">
<color>${backgroundDarkColor}</color>
</image>

<!-- System Background -->
<image name="osdBackground" extra="true">
<color>${backgroundDarkColor}</color>
Expand Down
8 changes: 6 additions & 2 deletions settings/colors/commom-light.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@

<view name="system">
<carousel name="systemcarousel">
<color>${backgroundLightColor}1a</color>
<colorEnd>${backgroundLightColor}cc</colorEnd>
<color ifSubset="custom_background:no">${backgroundLightColor}1a</color>
<color ifSubset="custom_background:yes">${backgroundLightColor}4d</color>
</carousel>

<!-- System Name -->
Expand All @@ -107,6 +107,10 @@
<color>${backgroundLightColor}</color>
</image>

<image name="custom_bg_fg" extra="true">
<color>${backgroundLightColor}</color>
</image>

<!-- System Background -->
<image name="osdBackground" extra="true">
<color>${backgroundLightColor}</color>
Expand Down
21 changes: 15 additions & 6 deletions settings/display/commom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Theme: Elementerial
Author: mluizvitor
-->

<theme>
<formatVersion>7</formatVersion>

Expand All @@ -14,7 +19,7 @@
<fontSize>${header2F}</fontSize>
<forceUppercase>0</forceUppercase>
<alignment>left</alignment>
<zIndex>50</zIndex>
<zIndex>40</zIndex>
</text>

<text name="logoText">
Expand All @@ -35,6 +40,7 @@
</image>

<image name="cover_list_fallback" extra="true">
<path>./assets/background.png</path>
<size>1 0</size>
<origin>0 0</origin>
<pos>0 0</pos>
Expand Down Expand Up @@ -84,7 +90,7 @@
<fontSize>${header1F}</fontSize>
<lineSpacing>1</lineSpacing>
<alignment>left</alignment>
<zIndex>90</zIndex>
<zIndex>35</zIndex>
</text>

<!-- Total games per system -->
Expand All @@ -94,8 +100,9 @@
<fontSize>${bodyF}</fontSize>
<alignment>left</alignment>
<forceUppercase>0</forceUppercase>
<fontPath>${fontLight}</fontPath>
<fontPath>${fontRegular}</fontPath>
<lineSpacing>1</lineSpacing>
<zIndex>39</zIndex>
</text>

<!-- System Logo -->
Expand All @@ -113,10 +120,11 @@

<!-- System Background -->
<image name="cover_fallback" extra="true">
<path>./assets/background.png</path>
<size>1 1</size>
<origin>0 0</origin>
<pos>0 0</pos>
<zIndex>27</zIndex>
<zIndex>25</zIndex>
</image>

<!-- System Background -->
Expand All @@ -125,14 +133,14 @@
<size>1 0</size>
<origin>0 0</origin>
<pos>0 0</pos>
<zIndex>28</zIndex>
<zIndex>26</zIndex>
</image>

<image name="osdBackground" extra="true">
<pos>0 0</pos>
<origin>0 0</origin>
<size>1 1</size>
<zIndex>30</zIndex>
<zIndex>100</zIndex>
</image>
</view>

Expand Down Expand Up @@ -196,6 +204,7 @@
</menuText>

<menuBackground name="menubg">
<path>./assets/menu.png</path>
<size>1 1</size>
</menuBackground>

Expand Down
13 changes: 12 additions & 1 deletion settings/display/customBg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,18 @@
<size>1 0</size>
<origin>0 0</origin>
<pos>0 0</pos>
<zIndex>29</zIndex>
<zIndex>27</zIndex>
</image>

<image name="custom_bg_fg" extra="true">
<path ifSubset="Ratio:ratio32">./assets/ratio32/custom-bg-fg.png</path>
<path ifSubset="Ratio:ratio43">./assets/ratio43/custom-bg-fg.png</path>
<path ifSubset="Ratio:ratio169">./assets/ratio169/custom-bg-fg.png</path>

<size>1 1</size>
<origin>0 0</origin>
<pos>0 0</pos>
<zIndex>28</zIndex>
</image>
</view>

Expand Down
19 changes: 2 additions & 17 deletions settings/display/ratio169.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
<lineSpacing>1.75</lineSpacing>
</textlist>

<image name="cover_list_fallback" extra="true">
<path>./assets/ratio169/background.png</path>
</image>

<image name="background">
<path>./assets/ratio169/carousel.png</path>
</image>
Expand All @@ -51,15 +47,15 @@
<pos>0.75 0.3</pos>
<origin>0.5 0</origin>
<maxSize>0.45 0.537500</maxSize>
<zIndex>25</zIndex>
<zIndex>30</zIndex>
<roundCorners>0.02</roundCorners>
</image>

<image name="md_marquee">
<pos>0.75 0.175</pos>
<origin>0.5 0</origin>
<maxSize>0.4 0.225</maxSize>
<zIndex>26</zIndex>
<zIndex>31</zIndex>
</image>

<rating name="md_rating">
Expand All @@ -69,13 +65,6 @@
</rating>
</view>

<!-- Menu Settings -->
<view name="menu">
<menuBackground name="menubg">
<path>./assets/ratio169/menu.png</path>
</menuBackground>
</view>

<!-- Carousel Config -->
<view name="system">
<!-- Cards position -->
Expand All @@ -97,10 +86,6 @@
<pos>0.11666 0.375</pos>
</text>

<image name="cover_fallback" extra="true">
<path>./assets/ratio169/background.png</path>
</image>

<image name="osdBackground" extra="true">
<path>./assets/ratio169/osd-bg.png</path>
</image>
Expand Down
19 changes: 2 additions & 17 deletions settings/display/ratio32.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
<lineSpacing>1.75</lineSpacing>
</textlist>

<image name="cover_list_fallback" extra="true">
<path>./assets/ratio32/background.png</path>
</image>

<image name="background">
<path>./assets/ratio32/carousel.png</path>
</image>
Expand All @@ -51,15 +47,15 @@
<pos>0.75 0.3</pos>
<origin>0.5 0</origin>
<maxSize>0.45 0.537500</maxSize>
<zIndex>25</zIndex>
<zIndex>30</zIndex>
<roundCorners>0.02</roundCorners>
</image>

<image name="md_marquee">
<pos>0.75 0.175</pos>
<origin>0.5 0</origin>
<maxSize>0.4 0.225</maxSize>
<zIndex>26</zIndex>
<zIndex>31</zIndex>
</image>

<rating name="md_rating">
Expand All @@ -69,13 +65,6 @@
</rating>
</view>

<!-- Menu Settings -->
<view name="menu">
<menuBackground name="menubg">
<path>./assets/ratio32/menu.png</path>
</menuBackground>
</view>

<!-- Carousel Config -->
<view name="system">
<!-- Cards position -->
Expand All @@ -97,10 +86,6 @@
<pos>0.08333 0.375</pos>
</text>

<image name="cover_fallback" extra="true">
<path>./assets/ratio32/background.png</path>
</image>

<image name="osdBackground" extra="true">
<path>./assets/ratio32/osd-bg.png</path>
</image>
Expand Down
19 changes: 2 additions & 17 deletions settings/display/ratio43.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
<lineSpacing>1.75</lineSpacing>
</textlist>

<image name="cover_list_fallback" extra="true">
<path>./assets/ratio43/background.png</path>
</image>

<image name="background">
<path>./assets/ratio43/carousel.png</path>
</image>
Expand All @@ -51,15 +47,15 @@
<pos>0.75 0.3</pos>
<origin>0.5 0</origin>
<maxSize>0.45 0.537500</maxSize>
<zIndex>25</zIndex>
<zIndex>30</zIndex>
<roundCorners>0.02</roundCorners>
</image>

<image name="md_marquee">
<pos>0.75 0.175</pos>
<origin>0.5 0</origin>
<maxSize>0.4 0.225</maxSize>
<zIndex>26</zIndex>
<zIndex>31</zIndex>
</image>

<rating name="md_rating">
Expand All @@ -69,13 +65,6 @@
</rating>
</view>

<!-- Menu Settings -->
<view name="menu">
<menuBackground name="menubg">
<path>./assets/ratio43/menu.png</path>
</menuBackground>
</view>

<!-- Carousel Config -->
<view name="system">
<!-- Cards position -->
Expand All @@ -97,10 +86,6 @@
<pos>0.08333 0.375</pos>
</text>

<image name="cover_fallback" extra="true">
<path>./assets/ratio43/background.png</path>
</image>

<image name="osdBackground" extra="true">
<path>./assets/ratio43/osd-bg.png</path>
</image>
Expand Down

0 comments on commit 3eba114

Please sign in to comment.