<theme>
   <formatVersion>7</formatVersion>

  <!-- Subset options for color  -->
  <subset name="colorset" displayName="${subset.colorset}">
    <include name="gray" displayName="${gray}">./main/colors/gray.xml</include>
    <include name="blue" displayName="${blue}">./main/colors/blue.xml</include>
    <include name="red" displayName="${red}">./main/colors/red.xml</include>
    <include name="green" displayName="${green}">./main/colors/green.xml</include>
    <include name="yellow" displayName="${yellow}">./main/colors/yellow.xml</include>
    <include name="violet">./main/colors/violet.xml</include>
    <include name="cyan">./main/colors/cyan.xml</include>
    <include name="orange">./main/colors/orange.xml</include>
    <include name="brawn">./main/colors/brawn.xml</include>
    <include name="silver">./main/colors/silver.xml</include>
  </subset>


   <!--BARRA DE INFORMACION SUPERIOR-->

  <view name="screen">

      <image name="plus-picto" extra="static">
         <path>./main/images/plus-picto-bato.svg</path>
         <pos>0.086 0.045</pos>
         <pos ifSubset="frontend:no-frontend">0.02 0.045</pos>
         <maxSize>0.050</maxSize>
         <color>ffffff</color>
         <verticalAlignment>top</verticalAlignment>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <image name="logo-front, plus-picto" extra="static" tinyScreen="true">
         <visible>false</visible>
      </image>

      <text name="systemInfo">
         <visible>true</visible>
      </text>

    <image name="infoBar" extra="static">
      <pos>0.68 0.068</pos>
      <origin>0 0</origin>
      <path>./main/media/colorglass.png</path>
      <color>${baseColor}7f</color>
      <size>0.40 0.15</size>
      <zIndex>50</zIndex>
      <visible>true</visible>
      <linearSmooth>true</linearSmooth>
    </image>

      <image name="plus-picto" extra="static">
         <path>./main/images/plus-picto-bato.svg</path>
         <pos>0.690 0.082</pos>
         <maxSize>0.030</maxSize>
         <color>ffffff</color>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <image name="info-picto" extra="static">
         <path>./main/images/info-picto.svg</path>
         <pos>0.690 0.132</pos>
         <maxSize>0.030</maxSize>
         <color>ffffff</color>
         <verticalAlignment>top</verticalAlignment>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <image name="puntoazul-1" extra="static">
         <path>./main/images/punto-azul.png</path>
         <pos>0.729 0.090</pos>
         <maxSize>0.010</maxSize>
         <color>ffffff</color>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <text name="friends" extra="static">
         <text>36</text>
         <pos>0.738 0.081</pos>
         <size>0.024 0.035</size>
         <color>ffffff</color>
         <fontPath>./fonts/SST Light.ttf</fontPath>
         <fontSize>0.028</fontSize>
         <alignment>left</alignment>
         <glowColor>00000035</glowColor>
         <glowSize>1</glowSize>
         <glowOffset>3 2</glowOffset>
         <zIndex>99</zIndex>
         <backgroundColor>ff000000</backgroundColor>
      </text>

      <image name="users-picto" extra="static">
         <path>./main/images/users-picto.svg</path>
         <pos>0.710 0.082</pos>
         <maxSize>0.030</maxSize>
         <color>ffffff</color>
         <verticalAlignment>top</verticalAlignment>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <image name="avatar" extra="static">
         <path>./main/avatars/${image.avatar}.png</path>
         <path ifSubset="system-avatar:custom">./custom-avatar.png</path>
         <pos>0.759 0.082</pos>
         <maxSize>0.030 0.030</maxSize>
         <zIndex>99</zIndex>
         <linearSmooth>true</linearSmooth>
      </image>

      <image name="star-picto" extra="static">
         <path>./main/images/star-picto.png</path>
         <pos>0.929 0.090</pos>
         <maxSize>0.02</maxSize>
         <color>ffffff</color>
         <verticalAlignment>center</verticalAlignment>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <text name="trophy-level" extra="static">
         <text>2023</text>
         <pos>0.942 0.082</pos>
         <size>0.048 0.035</size>
         <color>ffffff</color>
         <fontPath>./main/fonts/SST Roman.ttf</fontPath>
         <fontSize>0.025</fontSize>
         <alignment>left</alignment>
         <glowColor>00000035</glowColor>
         <glowSize>1</glowSize>
         <glowOffset>3 2</glowOffset>
         <zIndex>99</zIndex>
         <backgroundColor>ff000000</backgroundColor>
      </text>

      <image name="clock-picto" extra="static">
         <path>./main/images/clock.png</path>
         <pos>0.854 0.082</pos>
         <maxSize>0.030</maxSize>
         <color>ffffff</color>
         <verticalAlignment>top</verticalAlignment>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <image name="trophy-picto" extra="static">
         <path>./main/images/trophy-picto.svg</path>
         <pos>0.911 0.082</pos>
         <maxSize>0.030</maxSize>
         <color>ffffff</color>
         <color ifCheevos="true">F3C300d1</color>
         <verticalAlignment>top</verticalAlignment>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>

      <text name="systemInfoEx" extra="true">
         <alignment>left</alignment>
         <pos>0.162 0.045</pos>
         <pos tinyScreen="true">0.065 0.045</pos>
         <size>0.398 0.055</size>
         <color>FFFFFF</color>
         <fontPath>./main/fonts/SST Light.ttf</fontPath>
         <fontSize>0.030</fontSize>
         <glowColor>00000035</glowColor>
         <glowSize>1</glowSize>
         <glowOffset>3 2</glowOffset>
         <backgroundColor>ff000000</backgroundColor>
         <zIndex>60</zIndex>
      </text>

      <text name="systemInfoEx" extra="true">
      <include>./infos/${system.theme}.xml</include>
      </text>
  <view name="screen">
          <text name="system_description" extra="true">
               <color>FFFFFF</color>
               <zIndex>80</zIndex>
          </text>
          </view>


      <image name="trophy-picto" extra="static">
         <path>./main/images/trophy-picto.svg</path>
         <pos>0.911 0.082</pos>
         <maxSize>0.030</maxSize>
         <color>ffffff</color>
         <color ifCheevos="true">F3C300d1</color>
         <verticalAlignment>top</verticalAlignment>
         <alignment>left</alignment>
         <linearSmooth>true</linearSmooth>
         <zIndex>99</zIndex>
      </image>
   </view>


  <view name="screen">

      <text name="username" extra="static">
         <text>${theme.nick}</text>
         <text ifSubset="system-username:custom">${custom.nick}</text>
         <pos>0.779 0.080</pos>
         <size>0.165 0.035</size>
         <color>ffffff</color>
         <fontPath>./main/fonts/SST Light.ttf</fontPath>
         <fontSize>0.028</fontSize>
         <alignment>left</alignment>
         <glowColor>00000035</glowColor>
         <glowSize>1</glowSize>
         <glowOffset>3 2</glowOffset>
         <zIndex>99</zIndex>
         <backgroundColor>ff000000</backgroundColor>
      </text>

   </view>
</theme>