Mirmire guides

Make your own themes and icon packs

On this page

Make your own themes and icon packs

Mirmire can wear two kinds of packs, and you can make both:

Theme Studio also makes widget plugins for the Home page and Big Picture plugins, a whole Big Picture of your own: see Make plugins.

Both are ZIP files you import in the app. The easiest way to make one is Mirmire Theme Studio. It runs in your browser and shows your pack on Mirmire’s real screens as you go. You can also build a pack by hand; THEMES.md has the full file format.

Quick start with Theme Studio

  1. Open Theme Studio on a computer.
  2. Choose a starting point:
    • New theme builds a palette from one color.
    • New icon pack starts an empty set of console icons.
    • New widget plugin starts a Home page widget from a template (more).
    • New Big Picture starts a Big Picture of your own from the Game Wall template (more).
    • Remix starts from one of Mirmire’s own themes.
    • Open a ZIP edits a pack you already have.
  3. Work through the sections on the left. The preview updates as you go:
    • Use the tabs above the preview to switch between Consoles, Games, a game’s page, Spotlight and Settings.
    • Click the preview, then use the arrow keys, Enter and Esc to move around as a controller would. You’ll hear your sounds.
    • Turn on Pick, then click anything in the preview to jump to its color.
    • Pick Dual screen under the preview to see a dual-screen handheld’s second screen too.
  4. Open Export and press Download ZIP.
  5. Copy the ZIP to your device and import it in Mirmire:
    • a theme: Settings › Themes › Add a theme ZIP;
    • an icon pack: Settings › Themes › Add an icon pack ZIP.
  6. Want every player to have it? Add it to mirmire-themes with a pull request, and it appears under Settings › Themes › Available themes (or Available add-ons, for an icon pack).

Nothing you add leaves your browser, and your work is saved there as you go. Drop a whole folder onto the page and files are sorted by name: snes.png becomes the Super Nintendo icon, sounds/move.wav becomes the move sound, and so on.

Making a theme

Colors

Each color has a job, and the same job everywhere in the app:

Color Where you’ll see it
primary Selected tab, focus outline, Play button, switches, section labels
onPrimary Text and icons on primary
primaryContainer The selected row, console or setting
background Behind everything, and the tint over wallpapers
onBackground Big titles such as console and game names
surface Panels and the side menu
onSurface Most text
surfaceContainer, surfaceContainerHigh Rows, buttons and focused cards
onSurfaceVariant Subtitles and small details
tertiary Achievements and “On storage”
secondary Downloaded games and battery details
outline Borders when the theme has no card border
lights, lightsRight Stick lights on Retroid and AYN handhelds

Tips:

Shape and type

Wallpaper and console backdrops

Second screen

On dual-screen handhelds like the AYN Thor, the second screen shows the selected game’s details. In the Second screen section you can give it its own wallpaper (1240×1080, or a looping video), choose what goes behind a game’s details (the game’s blurred art, your console backdrop, or just the wallpaper), how dark it is, and whether the clock shows when nothing is selected. A picture drawn for the small screen, like the art under a DS game, works well with Just the wallpaper.

Console icons

Icons work the same way in themes and icon packs. See Making an icon pack.

Sounds and music

Sound Plays when Length
move Moving between items Under 100 ms is best; it repeats when a direction is held
select Opening something (A) Under 400 ms
back Going back (B) Under 400 ms
tab Switching tabs (L1 / R1) Under 400 ms
menu Opening Settings (Start) Under 400 ms
favorite Favoriting or pinning Under 400 ms
launch Starting a game Up to 1 s
edge Pushing against the end of a list Under 400 ms

Making an icon pack

An icon pack is a ZIP of images named after the consoles:

pack.json        (optional)
icons/snes.png
icons/nes.png
icons/megadrive.png
…

Players choose an icon pack in Settings › Themes, under Theme add-ons. A chosen icon pack wins over a theme’s own icons.

Building a pack by hand

  1. Make a folder with theme.json (or pack.json for an icon pack) and your files. THEMES.md shows every field, and Theme Studio’s Copy theme.json gives you a starting file.
  2. Zip the contents of the folder, not the folder itself, so that theme.json sits at the top of the ZIP:
    • macOS: open the folder, select everything, right-click and choose Compress.
    • Windows: open the folder, select everything, right-click and choose Send to › Compressed (zipped) folder.
    • Command line: cd my-theme && zip -r ../my-theme.zip .
  3. Import it on your device. Importing a pack with the same id replaces the old one, so you can tweak, zip and import again.

To edit a hand-made pack in Theme Studio, open its ZIP or drop its folder on the page.

Sharing your pack

Troubleshooting

Problem Fix
“Not a theme” or nothing happens on import theme.json must be at the top of the ZIP, not inside a folder. Zip the folder’s contents.
An icon or backdrop doesn’t show Check the file name against the System IDs. Images must be PNG, WebP or JPEG.
The video doesn’t play Use H.264 video in an MP4. Some phones can’t play 4K or HEVC.
Text is hard to read Darken background and surface, or lighten onSurface. Theme Studio’s contrast checks show which pair is low.
The custom font isn’t used The file must be TTF or OTF, and style.font must be file: plus its path, for example file:fonts/MyFont.ttf.
Sounds are too loud or long Trim the silence at the start and end, and keep move very short.
An old version still shows after importing The new pack has a different id. Use the same id to replace a pack.
View this page on GitHub