Making a Recalbox theme

49 pages · 8 sections
⌕
FRENESDE Show everything Create my theme

The menu view — the menus

What a theme can, and cannot, change about the menus.

Recalbox builds its menus itself: their content, their order and their labels are not yours.

What the theme provides are styles — and a single measurement.

<view name="menu">
  <menuBackground name="menubg">
    <color>101820F0</color>
    <path>${root}/data/arts/cadre.png</path>
  </menuBackground>

  <menuText name="menutext">
    <fontPath>${root}/data/fonts/Exo2.otf</fontPath>
    <fontSize>0.038</fontSize>
    <color>C6CBD8</color>
    <selectedColor>101820</selectedColor>
    <selectorColor>4FE3C1</selectorColor>
    <separatorColor>FFFFFF20</separatorColor>
  </menuText>

  <menuSize name="menuSize"><height>0.85</height></menuSize>
</view>

⚠️ The name is mandatory, and it is imposed: menubg, menutext, menuSize… Without it, Recalbox rejects the component and the menu keeps its original look. The nine components, their exact names and their properties are in Menu styling.

What you cannot do

What to keep in mind

The menus display on top of the current view. The veil (fadePath of menuBackground) darkens what is behind: without it, a menu with a transparent background becomes unreadable on a light theme.