Themes

A theme changes how Mosaik looks: layout of the home screen, colours, fonts, sizes and background. Mosaik has one built-in theme, Tessera; the others are in the Store, Themes folder: Cabinet (Cabinato), Wave (Onda) (built in up to 0.9.54), Cover, Starry. You can also make your own.

The Cover theme

Where themes live

Each theme is a folder in Arcade/Themes, with at least a theme.json file:

Arcade/Themes/mytheme/theme.json
Arcade/Themes/mytheme/background.png   (optional)
Arcade/Themes/mytheme/MyFont.ttf       (optional)

The folder name is the theme's identifier: use lowercase letters, numbers and -, no spaces. The fonts shared by the built-in themes are in Arcade/Themes/_shared/fonts.

Making a theme

The easiest way is to start from a copy of a built-in theme: copy Arcade/Themes/tessera to Arcade/Themes/mytheme and change theme.json. Lines starting with // are comments.

{
  "name": "My theme",
  "author": "Your name",
  "version": "1.0",
  "title": "Mosaik",
  "layout": "carousel",
  "fonts": {
    "regular": "../_shared/fonts/Nunito.ttf:3",
    "title": "../_shared/fonts/Nunito.ttf:6"
  },
  "variants": {
    "day": {
      "label": { "en": "Day", "it": "Giorno" },
      "background": "#F0F0F0",
      "surface": "#FFFFFF",
      "text": "#202020",
      "text_dim": "#707070",
      "accent": "#1F5FD6",
      "accent_text": "#FFFFFF"
    }
  }
}
Field What it does
name, author, version Shown in the settings and in the Store
title, title_uppercase The title at the top left ("Mosaik"), optionally in capitals
layout carousel (Tessera: game tiles and round buttons), list (Cabinato: numbered menu with a preview), bar (Onda: tabs and a vertical list), vetrina (Cover, from 0.9.30: big drawing of the platform and a strip below), galleria (Starry, from 0.9.32: tabs and a carousel of cards). A system that does not know a layout uses carousel
fonts.regular, fonts.title Font files, relative to the theme folder. With a variable font, :N chooses the weight (Nunito: 3 regular, 6 bold, 8 black)
metrics Sizes as fractions of the screen height (the same theme fits 1280×720 and 1024×768): topbar_h, hintbar_h, margin, tile_size, tile_aspect, grid_tile, tile_gap, tile_radius, select_border, icon_size, font_small, font_normal, font_title, font_big, list_row_h, panel_radius
variants One or more colour sets, chosen in Settings → Appearance → Theme variant: background, background2 (for a gradient), surface, text, text_dim, accent, accent_text, tile, shadow, line, highlight (the big title of the Cover layout). Colours as #RRGGBB or #RRGGBBAA. label is the name of the variant, as text or one per language
media.cover, media.cover_style Which game images the tiles show (title, snap, box) and how (fill crops, fit shows the whole image)
background_image A picture behind everything, relative to the theme folder
effects waves (animated waves), stars (starry sky with a band of background2 below), scanlines
sound_style, animation soft or retro sounds; animation speed and pulse
texts Title and description in each language, for the Store: { "it": { "title": "...", "description": "..." }, "en": { ... } }

Pop-up windows are always solid: they use surface drawn over background, even when surface is see-through (from 0.9.66).

Tips: try your theme on both screen sizes if you can, keep text readable on the background, and check the four corners of the screen (battery, clock, button hints).

Loading a theme on your console

Themes you copy yourself are not checked by the system: only Store packages need a signature. To load one:

Then choose it in Settings → Appearance → Theme. Each theme remembers its variant and home covers (from 0.9.63); Settings → Appearance → Reset theme brings them back to how the theme defines them. If a theme has a mistake, the console uses the default colours for the missing parts; delete the folder to remove it.

Sharing a theme in the Store

The Store only installs packages signed by Mosaik, so a theme reaches everybody through us:

  1. Open an issue on GitHub titled "Theme: name".
  2. Attach the theme folder as a zip, and a screenshot or two.
  3. Say who made it and that the fonts and pictures can be shared: fonts with a free license (for example OFL), pictures made by you. No logos, characters or artwork of other brands or games.

We check it on both consoles, add it to the Store with its version, and it appears in Store → Themes. For an update, send the new folder with a higher version.

This page comes from the wiki: Themes