Skip to content

Commit

Permalink
more backgrounds, better automatic darkening/brightening
Browse files Browse the repository at this point in the history
  • Loading branch information
Rose22 authored Jun 18, 2022
1 parent bba1dbe commit c1ace34
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 19 deletions.
9 changes: 7 additions & 2 deletions colors/blue.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<variables>
<!-- dark -->
<bg-color ifSubset="shade:dark">000000</bg-color>
<opacity ifSubset="shade:dark">BA</opacity>

<menu-opacity ifSubset="shade:dark">77</menu-opacity>
<gamelist-opacity ifSubset="shade:dark">BE</gamelist-opacity>

<top-bar-bg-color ifSubset="shade:dark">00a1db</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:dark">000000</top-bar-text-color>

Expand All @@ -15,7 +18,9 @@

<!-- light -->
<bg-color ifSubset="shade:light">EEEEEE</bg-color>
<opacity ifSubset="shade:light">E5</opacity>

<gamelist-opacity ifSubset="shade:light">E5</gamelist-opacity>
<menu-opacity ifSubset="shade:light">BB</menu-opacity>

<top-bar-bg-color ifSubset="shade:light">00a2db</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:light">FFFFFF</top-bar-text-color>
Expand Down
9 changes: 7 additions & 2 deletions colors/gold.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<variables>
<!-- dark -->
<bg-color ifSubset="shade:dark">000000</bg-color>
<opacity ifSubset="shade:dark">BE</opacity>

<menu-opacity ifSubset="shade:dark">77</menu-opacity>
<gamelist-opacity ifSubset="shade:dark">BE</gamelist-opacity>

<top-bar-bg-color ifSubset="shade:dark">e7bd42</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:dark">000000</top-bar-text-color>

Expand All @@ -15,7 +18,9 @@

<!-- light -->
<bg-color ifSubset="shade:light">EEEEEE</bg-color>
<opacity ifSubset="shade:light">E5</opacity>

<gamelist-opacity ifSubset="shade:light">E5</gamelist-opacity>
<menu-opacity ifSubset="shade:light">BB</menu-opacity>

<top-bar-bg-color ifSubset="shade:light">e2b122</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:light">FFFFFF</top-bar-text-color>
Expand Down
9 changes: 7 additions & 2 deletions colors/green.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<variables>
<!-- dark -->
<bg-color ifSubset="shade:dark">000000</bg-color>
<opacity ifSubset="shade:dark">BE</opacity>

<menu-opacity ifSubset="shade:dark">77</menu-opacity>
<gamelist-opacity ifSubset="shade:dark">BE</gamelist-opacity>

<top-bar-bg-color ifSubset="shade:dark">8cb422</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:dark">000000</top-bar-text-color>

Expand All @@ -15,7 +18,9 @@

<!-- light -->
<bg-color ifSubset="shade:light">EEEEEE</bg-color>
<opacity ifSubset="shade:light">E5</opacity>

<gamelist-opacity ifSubset="shade:light">E5</gamelist-opacity>
<menu-opacity ifSubset="shade:light">BB</menu-opacity>

<top-bar-bg-color ifSubset="shade:light">61742f</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:light">FFFFFF</top-bar-text-color>
Expand Down
9 changes: 7 additions & 2 deletions colors/monochrome.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<variables>
<!-- dark -->
<bg-color ifSubset="shade:dark">000000</bg-color>
<opacity ifSubset="shade:dark">BA</opacity>

<menu-opacity ifSubset="shade:dark">77</menu-opacity>
<gamelist-opacity ifSubset="shade:dark">BE</gamelist-opacity>

<top-bar-bg-color ifSubset="shade:dark">CCCCCC</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:dark">000000</top-bar-text-color>

Expand All @@ -15,7 +18,9 @@

<!-- light -->
<bg-color ifSubset="shade:light">FFFFFF</bg-color>
<opacity ifSubset="shade:light">E5</opacity>

<gamelist-opacity ifSubset="shade:light">E5</gamelist-opacity>
<menu-opacity ifSubset="shade:light">BB</menu-opacity>

<top-bar-bg-color ifSubset="shade:light">222222</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:light">FFFFFF</top-bar-text-color>
Expand Down
9 changes: 7 additions & 2 deletions colors/pink.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<variables>
<!-- dark -->
<bg-color ifSubset="shade:dark">000000</bg-color>
<opacity ifSubset="shade:dark">BE</opacity>

<menu-opacity ifSubset="shade:dark">77</menu-opacity>
<gamelist-opacity ifSubset="shade:dark">BE</gamelist-opacity>

<top-bar-bg-color ifSubset="shade:dark">ff3988</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:dark">000000</top-bar-text-color>

Expand All @@ -15,7 +18,9 @@

<!-- light -->
<bg-color ifSubset="shade:light">EEEEEE</bg-color>
<opacity ifSubset="shade:light">E5</opacity>

<gamelist-opacity ifSubset="shade:light">E5</gamelist-opacity>
<menu-opacity ifSubset="shade:light">BB</menu-opacity>

<top-bar-bg-color ifSubset="shade:light">DA6596</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:light">FFFFFF</top-bar-text-color>
Expand Down
9 changes: 7 additions & 2 deletions colors/purple.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<variables>
<!-- dark -->
<bg-color ifSubset="shade:dark">000000</bg-color>
<opacity ifSubset="shade:dark">BE</opacity>

<menu-opacity ifSubset="shade:dark">77</menu-opacity>
<gamelist-opacity ifSubset="shade:dark">BE</gamelist-opacity>

<top-bar-bg-color ifSubset="shade:dark">ff70ff</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:dark">000000</top-bar-text-color>

Expand All @@ -15,7 +18,9 @@

<!-- light -->
<bg-color ifSubset="shade:light">EEEEEE</bg-color>
<opacity ifSubset="shade:light">E5</opacity>

<gamelist-opacity ifSubset="shade:light">E5</gamelist-opacity>
<menu-opacity ifSubset="shade:light">BB</menu-opacity>

<top-bar-bg-color ifSubset="shade:light">5a005a</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:light">FFFFFF</top-bar-text-color>
Expand Down
9 changes: 7 additions & 2 deletions colors/red.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
<variables>
<!-- dark -->
<bg-color ifSubset="shade:dark">000000</bg-color>
<opacity ifSubset="shade:dark">BA</opacity>

<menu-opacity ifSubset="shade:dark">77</menu-opacity>
<gamelist-opacity ifSubset="shade:dark">BE</gamelist-opacity>

<top-bar-bg-color ifSubset="shade:dark">cc0003</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:dark">000000</top-bar-text-color>

Expand All @@ -15,7 +18,9 @@

<!-- light -->
<bg-color ifSubset="shade:light">EEEEEE</bg-color>
<opacity ifSubset="shade:light">E5</opacity>

<gamelist-opacity ifSubset="shade:light">E5</gamelist-opacity>
<menu-opacity ifSubset="shade:light">BB</menu-opacity>

<top-bar-bg-color ifSubset="shade:light">a30002</top-bar-bg-color>
<top-bar-text-color ifSubset="shade:light">FFFFFF</top-bar-text-color>
Expand Down
10 changes: 5 additions & 5 deletions theme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<include name="none"></include>
<include name="custom" displayName="custom (uses custombg.png in the theme folder)"></include>
<include name="bokeh">./backgrounds/bokeh.xml</include>
<include name="sparkles">./backgrounds/sparkles.xml</include>
<!-- <include name="sparkles">./backgrounds/sparkles.xml</include> -->
<include name="stars">./backgrounds/stars.xml</include>
<include name="petals">./backgrounds/petals.xml</include>
<include name="amberelec">./backgrounds/amberelec.xml</include>
Expand Down Expand Up @@ -251,13 +251,13 @@
<image name="bg_overlay" extra="true" ifSubset="bg-auto-shade: yes, background:custom|amberelec|sparkles|bokeh|stars|petals|terminal, shade:dark">
<path>./images/black.png</path>
<size>1 1</size>
<color>FFFFFFBB</color>
<color>FFFFFF${menu-opacity}</color>
<zIndex>-3</zIndex>
</image>
<image name="bg_overlay" extra="true" ifSubset="bg-auto-shade: yes, background:custom|amberelec|sparkles|bokeh|stars|petals|terminal, shade:light">
<path>./images/white.png</path>
<size>1 1</size>
<color>FFFFFFEA</color>
<color>FFFFFF${menu-opacity}</color>
<zIndex>-3</zIndex>
</image>

Expand Down Expand Up @@ -424,12 +424,12 @@
<!-- if a background has been chosen, do an overlay on top of the background, to darken or lighten it -->
<image name="background" ifSubset="gamelist-bg-auto-shade: yes, shade:dark, bg-media:image|video">
<path>./images/black.png</path>
<color>FFFFFF${opacity}</color>
<color>FFFFFF${gamelist-opacity}</color>
<zIndex>-1</zIndex>
</image>
<image name="background" ifSubset="gamelist-bg-auto-shade: yes, shade:light, bg-media:image|video">
<path>./images/white.png</path>
<color>FFFFFF${opacity}</color>
<color>FFFFFF${gamelist-opacity}</color>
<zIndex>-1</zIndex>
</image>

Expand Down

0 comments on commit c1ace34

Please sign in to comment.