Themes
A theme is a text file containing your colors and, optionally, icons and Home screen settings. Save this example as <SD card>/Themes/MyTheme.theme:
# My theme colors
name=My Theme
screen=0x101820
card=0x1B2838
list_row=0x223449
text_primary=0xF4F7FA
text_muted=0xAAB8C7
All six fields are required. The theme picker looks in Themes/ and up to two levels of subfolders. Colors accept decimal or 0x hexadecimal values from 0x000000 to 0xFFFFFF. Each setting is a key=value line; lines beginning with # are comments. From the player, open More > Themes and select your theme. Close and reopen the picker after adding a file so it rescans. A PNG preview is optional: place MyTheme.png beside MyTheme.theme to have it appear in the picker.
You can also set icon folders, individual icons, Home tile styles, and launcher appearance. See Writing a .theme file in PLUGINS.md for the full key list and the published theme package examples.
To publish a theme in Plugin Store, follow the individual theme packages in the compas-plugins repository. For example, ThemeCobaltSignal includes store.json, CobaltSignal.theme, a matching CobaltSignal.png preview, and a compatibility Lua stub. The store package installs the theme and preview under Themes/; use the package's store.json as the format example. The player can apply .theme files directly; you do not need the compatibility Lua file for that.
Themes change colors, icons, and supported Home styling. To redesign the Now Playing screen, create an XML player layout instead; see Player Layouts and the public plugin layout examples.
Theming
Themes are natively built into Compás and managed via the built-in system theme picker (More → Themes), loading .theme key-value files directly from SD/Themes/ without requiring a Lua theme plugin. Active themes resolve icons via an in-memory native icon overlay layer without performing NAND bulk copies. When other plugins call plugin.set_icon, their explicitly copied overrides continue to be supported and take priority over theme layer lookups.
Theme packs distributed via the Plugin Store keep companion .theme files alongside a legacy Themes.lua stub for backward compatibility with older player versions and store catalog classification. On current versions of the player, Themes.lua is recognized as a legacy theme loader and suppressed at load time, as native theme management handles .theme files directly.
The Themes plugin source shows the historical reference format for custom theme application and programmatic UI styling.
| To apply... | Call |
|---|---|
| colors | nothing, they apply immediately |
| icons, Home and launcher layouts | plugin.refresh_theme() |
| anything, the heavy way | plugin.reload_ui() |
Music menu and Quick Drawer customization
Additive API 16 capabilities: ui.music_layout and ui.quick_drawer_layout. Check these capabilities before calling the new functions on an older player. Declare layouts after plugin.define() during startup; use plugin.reload_ui() after saving a change in your plugin's own settings. These declarations do not write the user's preferences to storage.
if plugin.has_capability("ui.music_layout") then
plugin.set_music_layout({
order = { "albums", "artists", "files", "playlists" },
toolbar = { "library" },
})
end
if plugin.has_capability("ui.quick_drawer_layout") then
plugin.set_quick_drawer_layout({
enabled = true,
order = { "sleep", "bluetooth", "wifi", "plugins" },
eq_visible = false,
volume_visible = true,
})
end
Native Music menu choices are saved under Settings → Display → Appearance. Plugin declarations remain session overrides: disabling Kids Mode restores the saved native choices. Music toolbar customization remains available to plugins and themes. Quick Drawer preferences remain independent.
plugin.set_music_layout(options) accepts order and toolbar arrays. Music keys are files, artists, albums, album_artist, genres, all_songs, and playlists. Toolbar keys are sound, playback, and library, ordered left to right. Existing plugin.set_icon() overrides still apply to their native icons. Native library browsing, artwork, and paging are preserved.
plugin.set_quick_drawer_layout(options) accepts enabled, order, eq_visible, and volume_visible. Drawer keys are wifi, bluetooth, sleep, crossfade, airplay, dlna, gapless, remote_control, car_mode, and plugins. The plugins key places all registered quick toggles as a block in their registration order. The first four visible toggles appear collapsed; the remaining toggles appear in the expanded area. Brightness and the now-playing card retain their native layout. Hiding a control does not turn off its feature or cancel an active sleep timer.
Omitted Music options use the standard native layout; omitted Drawer options inherit saved preferences. Within an explicit array, omitted keys are hidden; an empty array hides all entries in that section. Unknown, duplicate, sparse, or incorrectly typed entries raise an error before changing the previous declaration. Passing nil releases that plugin's declaration for the corresponding function.
The latest declaration for each option determines its order or value; an omitted option leaves other plugins' declarations intact. Visibility restrictions combine: an item hidden by any plugin stays hidden, and a false request for drawer enablement, EQ visibility, or volume visibility wins over true. This keeps a later theme from undoing Kids Mode restrictions. Failed or unloaded plugins lose their declarations, restoring another plugin's declaration or the saved preferences. Users can configure Music menu and Quick Drawer under Settings > Display > Appearance. Music toolbar customization is available to plugins and themes. Plugin overrides can take precedence over these choices. These controls simplify navigation; they are not a device security boundary. Customized saved Drawer orders are explicit selections: new entries added in future releases remain hidden until selected. Unchanged default orders follow the defaults of the installed release.
plugin.set_icon(theme_path, source_file)
Replaces a built-in icon. theme_path is the icon's path in the theme (for example "launcher/book.png"); source_file is the replacement image, which is copied into the theme override folder. Raises an error if it can't be copied.
- Call it from top-level code. The app caches icons, and screens built before the override existed keep using the old file until
refresh_theme()orreload_ui(). - Keep the replacement close to the original's size and shape: the layout was measured for the original.
plugin.set_background_color(slot, rgb) / plugin.set_text_color(slot, rgb)
Change colors app-wide, immediately, from anywhere. rgb is 0xRRGGBB.
- Background slots:
"screen"(every screen),"card"(popups and cards),"list_row"(every list row). - Text slots:
"primary"(titles and labels) and"muted"(secondary text). Red warning text and accent-colored text are not affected.
Another slot name is an error.
plugin.set_home_layout(tiles, options)
Restyles Home, chooses which tiles it shows, or turns it into a scrolling list. Takes effect when Home is rebuilt (refresh_theme(), reload_ui() or a restart). Each call replaces the whole previous layout.
tiles restyles individual tiles, one table per tile:
{
key = "music", -- native key or a register_home_tile id (required)
bg_color = 0x1e3524, text_color = 0xd8c9a3,
radius = 24, -- px, not negative
-- list mode only:
height = 92, width = 440, -- Home reference sizing (see below)
align = "center", -- "left" (default), "center" or "right"
accessory = true, -- show a chevron
text_size = "medium", -- like row options
icon = true, -- show the tile's icon in the row
}
Native keys: music, stream_media, wireless, books, settings, dac, and subsonic (opt-in, opens Subsonic directly).
Home measurements use the R1's 480×800 screen as a reference. Widths, radii and gaps scale to the active board. In list mode, heights express the relative row proportions: Home expands or shrinks them to fill the space between the status bar and gesture area, respecting font and touch minimums. If those minimums cannot fit, the list scrolls. This Home fitting does not change dimensions passed to submenu layouts or other plugin lists.
options:
mode:"tile"(the icon grid, default) or"list".tile_gap(tile mode, 0 to 64 px) androw_gap(list mode, 0 to 84 px, 0 means the default 6).order: which tiles to show, in order. Leave a tile out to hide it; add a plugin tile's id to show it. Withoutorder, Home shows the six original tiles. Tile mode shows at most 6, since the grid doesn't scroll; use list mode for more.background_image: a.png,.jpgor.jpegbehind Home only, drawn at its own size and centered. Make it the screen's size (480x800 on the R1). It is copied when you call the function.
Errors: a repeated order entry, more than 12 tile entries, an unknown align or text_size, a negative radius, an invalid background image, or options that isn't a table. A tile key that doesn't exist yet is not an error (its plugin may load later); if it still doesn't exist when Home is built, it is skipped. A repeated key replaces the earlier entry.
plugin.set_home_layout({
{ key = "music", bg_color = 0x1e3524, text_color = 0xd8c9a3, radius = 24 },
}, { mode = "list", row_gap = 10, order = { "music", "dac", "books" } })
plugin.set_launcher_layout(options)
Switches the Music, Stream Media and Wireless menus between their icon grid and a list, independently. Each of music, stream_media and wireless takes mode = "tile" or "list" plus the list styling fields of set_home_layout (row_gap, height, width, bg_color, text_color, radius, align, accessory, text_size, icon). Menus you leave out stay a grid; an empty call resets all three. Apply with refresh_theme().
plugin.set_launcher_layout({
music = { mode = "list", height = 108, width = 480, row_gap = 10,
bg_color = 0x000000, text_color = 0x33FF33, text_size = "mono" },
})
plugin.register_player_action(name, callback)
Requires plugin.define and capability ui.player_actions. Registers a named click action for XML Player layouts registered by this plugin with plugin.set_player_layout. Names are 1–63 ASCII letters, digits, _, - or .; library and none are reserved. The callback receives the action name and can use the normal UI APIs to open custom menus. Re-registering the same name replaces the callback; the shared registry holds at most 32 actions. Callbacks are removed when their plugin unloads or fails to load.
Use compas_artist_action/compas_album_action XML constants or <event_cb trigger="clicked" callback="compas_action" user_data="name" />. Layout-local lyrics and click options, complete XML and Lua examples, and the lifetime rules are documented in Player layouts. No LVGL patches, Lua evaluation from XML, or custom widget types are required.
plugin.restore_player_layout()
Requires plugin.define and capability ui.player_layout_restore. Clears only this plugin's session layout selection and returns to the layout saved in Settings. Another plugin's selection is preserved. Returns whether the effective layout ID changed, not whether an override existed. This does not restore global background options or maintain a stack of plugin selections.
plugin.set_player_layout(options)
Changes the look of the Player (Now Playing) screen. Every field is optional.
Background
| Field | Type | Meaning |
|---|---|---|
flat | boolean | true replaces the blurred cover background with a solid color. |
bg_color | 0xRRGGBB | The solid color for flat. Without it, the theme background is used. |
blur_radius | integer | Blur strength, 0 to 64. Default 5. |
blur_passes | integer | Blur passes, 0 to 16. Default 3. |
darken_num, darken_den | integers | Darkens the blurred cover by darken_num / darken_den. Set both. Default 1/2. |
Each call replaces all of these, so pass every option you want in the same call. They are global: they apply to every layout, including Default, and not only to one you ship. A layout that wants its own background should paint it (an opaque root) instead of relying on flat.
Whole layout
| Field | Type | Meaning |
|---|---|---|
xml | string | An XML layout file, relative to <SD card>/.plugins/. |
name | string | Name shown in Settings. Default: the file name without .xml. |
id | string | Internal id, 1 to 63 letters, digits, _, - or .; not default. Default: plugin.<file name without .xml>, other characters replaced by _. Longer ids are cut short. |
How to write the XML file, and which widget names the app needs, is explained in Player layouts.
- The file must be inside the
.pluginsfolder. Absolute paths,.., links leading outside the folder, or a missing file raise a Lua error. - If the file can't be used (invalid XML or a required widget missing), the default layout is shown instead.
- Called from top-level code, it only adds the layout to **Settings > Display
Player Layout > Layout**. Users pick it there like any other layout, and the choice is remembered while the plugin stays installed and enabled. If the plugin is disabled or removed, the default layout is shown instead.
- Called from a callback (a button, for example), the layout is selected right away for this session. If that changes the active layout, the app queues a Player-only rebuild on the UI loop. It preserves plugin Lua state, audio/DSP, queue, navigation history, and any other screen currently in front. When Player is visible, a retained frame covers it while its widgets are replaced. A rebuild delayed by an interaction stays queued and uses the latest request. The selection stays until the player restarts or the user picks another layout in Settings.
- The native layout picker and
plugin.restore_player_layout()use this same deferred Player-only rebuild path. They do not restart plugins or recreate other screens. - Check
ui.player_layout_xmlfirst if the plugin should also run on older firmware.
-- Solid dark background instead of the blurred cover
plugin.set_player_layout({ flat = true, bg_color = 0x101010 })
-- Offer a layout shipped with the plugin, with the same background
if plugin.has_capability("ui.player_layout_xml") then
plugin.set_player_layout({
xml = "player_layouts/clean.xml", name = "Clean",
flat = true, bg_color = 0x101010,
})
end
plugin.now_playing.set_image(name, path) / plugin.now_playing.set_text(name, text)
Updates a custom named widget in an XML Now Playing layout owned by this plugin. Requires plugin.define() and a layout registered with plugin.set_player_layout(). Check capabilities ui.now_playing.set_image and ui.now_playing.set_text; these are new in API 18.
Use an lv_image for images and an lv_label for text. Names must start with plugin_, contain only ASCII letters, digits, _, -, or ., and fit in 63 bytes. Native roles such as cover_img, title, and play_btn cannot be changed through these setters.
<lv_image name="plugin_artist_image" width="300" height="300" inner_align="contain" />
<lv_label name="plugin_caption" text="" />
plugin.now_playing.set_image("plugin_artist_image", "/Album/Artist/artist.png")
plugin.now_playing.set_text("plugin_caption", "Chapter 2")
- Image paths are absolute filesystem paths or relative to
<SD card>/.plugins/, like list icons. Pass a local image supported by the player's LVGL decoder, not a URL, XML image identifier, or anS:-prefixed LVGL path. Missing or unsupported images raise an error without replacing the previous value. The resolved filesystem path is limited to 511 bytes. Files are referenced, not copied: keep them available while the image is in use. - Text is literal UTF-8, up to 4095 bytes. Values and names cannot contain NUL.
- Both functions return
truewhen the value is accepted. Invalid arguments, a wrong widget type in the active owned layout, exhausted storage, or an inactive/undefined plugin raise a Lua error. - Updates are retained per plugin and widget name, even if its layout is not active or Now Playing has not been created. Matching widgets receive the latest value when the layout is created again. Missing widgets are skipped; widgets of the wrong type are skipped during creation. Different plugins' values never modify each other's layouts.
- Up to 32 named values per plugin and 128 across all plugins are retained. Passing
nilclears the current image or text and removes its retained value. On the next rebuild, the XML default applies again. Unloading the plugin clears its values. - This updates only the custom widget, not native cover art, its blurred background, or quick drawer artwork. To show a custom picture instead of the cover, hide the required native
cover_imgin your XML and place a custom image in the desired position.
plugin.refresh_theme()
Applies icon changes and the Home and launcher layouts, without disturbing anything else: other screens, navigation, playback and connections stay as they are. It runs after your callback returns. Use it after a batch of theme calls.
plugin.reload_ui()
Rebuilds every screen and restarts all plugins, without restarting the app or interrupting playback and connections. It runs after your callback returns, and the user lands on Home. Call it only in response to a user action, never unconditionally from top-level code (that would reload on every load; a second request during a reload is ignored).
plugin.register_list_item("display", "Theme", function()
plugin.show_list("Theme", { "Dark", "White" }, function(index)
apply_theme(index == 2 and "white" or "dark") -- your own theme calls
plugin.refresh_theme()
end)
end)
Writing a .theme file
A theme is a plain text file that you can write without a plugin. Put it in SD/Themes/ (subfolders up to two levels deep are scanned), name it with a lowercase .theme extension, and pick it under More → Themes. Files whose names start with a dot are ignored.
Each line is key=value. Blank lines, lines starting with #, and lines with no = are skipped. Unknown keys are ignored, so a theme written for a newer version still loads on an older one.
Colors are 0xRRGGBB (decimal also works).
The six required keys are:
| Key | Used for |
|---|---|
name | The name shown in the Themes list |
screen | Screen background |
card | Card background |
list_row | List row background |
text_primary | Main text color |
text_muted | Secondary text color |
A file missing any of them, or with a malformed value, is rejected and not shown in the list.
Optional keys:
| Key | Values | Effect |
|---|---|---|
icon_root | theme1, theme2, or a folder under SD/Themes/ | Folder the icons are taken from. theme1 and theme2 are the firmware's built-in icon sets. |
drawer_root | Same as icon_root | Icon folder for the drawer |
icon.<path> | Source file, relative to SD/Themes/ | Replaces one icon, for example icon.launcher/book.png=MyTheme/book.png |
home_mode | tile or list | Home screen style |
home_tile_gap, home_row_gap | Pixels | Spacing on Home |
home_order | Comma-separated tile ids | Home tile order. In tile mode, at most 6 tiles. |
submenu_mode | tile or list | Style of the Music, streaming and wireless launcher menus |
tile.<id>.<property> | See below | Styles one Home tile. Ids such as music and stream_media. |
Tile properties: bg_color, text_color, radius, height, width, align (left, center, right), text_size (small, medium, large, mono), accessory and icon (true or false).
Paths must be relative. They may not contain .., a backslash, or a leading slash, and the icon_root and drawer_root paths are checked the same way.
A minimal theme:
name=Night Blue
screen=0x0B1B2B
card=0x14304A
list_row=0x102638
text_primary=0xF2F6FA
text_muted=0x9FB3C8
icon_root=theme2
The published theme packages include complete examples such as White and Mountain Sunset.
Writing a theme
A Compás theme is a plain text .theme file. Put it in SD/Themes/ and choose it from More → Themes. Keep one setting on each key=value line. Blank lines, lines beginning with #, and lines without = are ignored. Keys are case-sensitive. There is no section syntax.
Start with the required colors
Every theme needs these six settings: a non-empty name shorter than 64 bytes, plus five colors. Colors accept decimal numbers or 0xRRGGBB values from 0 through 0xFFFFFF. For example, 0x1B2838 and 1779768 represent the same color.
name=Night Blue
screen=0x101820
card=0x1B2838
list_row=0x223449
text_primary=0xF4F7FA
text_muted=0xAAB8C7
If any required setting is missing or invalid, the theme is rejected. A later repeat of a setting replaces its earlier value.
Choose icon folders or replace individual images
icon_root sets the general icon folder. drawer_root can set a separate folder for quick drawer icons. Both can use the built-in theme1 or theme2 set, or a relative folder under Themes/. Leave a setting out to use the normal fallback. An empty value clears a previous value.
For a single replacement, write icon.<resource path>=<source file>. The path before = names the image the player requests; the value after = names the replacement file inside Themes/. For example:
icon.launcher/music.png=NightBlue/launcher/music.png
Here launcher/music.png is the destination resource path, while NightBlue/launcher/music.png is the source image. Use paths inside Themes/ for portable themes. The destination resource path must be relative: no leading /, backslashes, .., or control characters. Root and source values also reject backslashes, .., and control characters; the runtime resolver can accept an absolute source or root path, though that makes the theme specific to that device. Up to 32 individual replacements are supported. Repeating the same icon.<path> changes its source.
The player asks for resource paths at runtime, so there is no fixed complete list of valid destinations. Paths such as launcher/music.png are examples from current player lookups; future versions can add more.
Style Home tiles and launcher menus
Optional Home settings are:
| Setting | Values | What it changes |
|---|---|---|
home_mode | tile or list | Home layout style |
home_tile_gap | Nonnegative integer | Space between Home tiles |
home_row_gap | Nonnegative integer | Space between Home list rows |
home_order | Comma-separated tile IDs | Home tile order |
submenu_mode | tile or list | Music, Stream Media, and Wireless menus |
Tile IDs can contain letters, digits, ., _, and -, and must be shorter than 40 bytes. IDs depend on tiles registered by the player and plugins. In tile mode, home_order can list at most six unique IDs; in list mode, it can contain more. An empty home_order= clears the order.
Use tile.<id>.<property> to style a tile. Supported properties are:
| Property | Value |
|---|---|
bg_color, text_color | Color in the same format as the required colors |
radius, height, width | Nonnegative 32-bit integer |
align | left, center, or right |
text_size | small, medium, large, or mono |
accessory, icon | true or false |
For example, tile.music.bg_color=0x28415A changes the Music tile background. Unknown keys and unknown tile properties are ignored, which lets older players skip settings they do not understand.
Omitted Home settings leave the player's normal layout in place. submenu_mode applies one shared style to Music, Stream Media, and Wireless; it is separate from Home tile styling.
Package a theme for Plugin Store
A theme package uses the same store.json format as other plugins. description is required. category defaults to Tools, author to an empty value, and publish to true; preview and files are optional. Each files entry pairs a package src path with an install dest path. Theme packages commonly install the .theme file and its PNG preview into Themes/.
The package's Lua compatibility stub is only needed for older player versions; current players load .theme files directly. Store index fields such as plugin id, name, version, and api_min come from the plugin declaration. They describe the package/plugin, not the .theme file.
API index
Looking for a particular function, setting or widget? Choose a name to see how to use it.
Theme settings
carddrawer_roothome_modehome_orderhome_row_gaphome_tile_gapicon_rootlist_rownamescreensubmenu_modetext_mutedtext_primary
Theme colors
Colors set from Lua
set_background_color:cardset_background_color:list_rowset_background_color:screenset_text_color:mutedset_text_color:primary
Built-in color defaults
GUI_COLOR_BORDERGUI_COLOR_PANELGUI_COLOR_PRESSEDGUI_COLOR_PRIMARYGUI_COLOR_ROWGUI_COLOR_SCREENGUI_COLOR_SECONDARY
Icon and tile settings
icon.<path>tile.<id>.accessorytile.<id>.aligntile.<id>.bg_colortile.<id>.heighttile.<id>.icontile.<id>.radiustile.<id>.text_colortile.<id>.text_sizetile.<id>.width
Parsed theme values
carddrawer_roothas_homehas_home_modehas_home_orderhas_home_row_gaphas_home_tile_gaphas_launcherhas_submenu_modehomeicon_override_counticon_rootlauncherlist_rownamerelpathscreensourcetext_mutedtext_primarytheme_icon_override.relpath/source
Icon destinations
Icons with variable paths
%.*s/%s.png%s.png%s/Compas_%s.png%s/Compas_%s_%u.png%s_s.png%sfolder.jpg%sfolder.pngBREEZE_DARK_PREVIEWPLACEHOLDER_ASSETS:%s/%s.pngTHUMB_DEFAULT_ASSETkeyboard/%s_%c.pngplayer_layouts/%s.pngtopbar/%s_%s.png
Icon paths
boot_animation/en/0.jpgbreeze_rows/library_sorting.pngkeyboard/char.pngkeyboard/del.pngkeyboard/dot.pngkeyboard/enter.pngkeyboard/left.pngkeyboard/num.pngkeyboard/psk_show.pngkeyboard/right.pngkeyboard/space2.pngkeyboard/symbol.pngkeyboard/upper.pngnavigation/back.pngnavigation/chevron-right.pngnavigation/more.pngnavigation/reorder.pngnavigation/search.pngplaying_plane/airplay_logo_white.pngplaying_plane/btn_next.pngplaying_plane/btn_prev.pngplaying_plane/collect_out.pngplaying_plane/default_cover_565.pngplaying_plane/ic_more.pngplaying_plane/quality_waveform.pngplaylist_actions/trash.pngpull_down/blk.pngpull_down/sleep_switch.pngsettings/playback.pngstream_media/download.pngsub_back/bg_search.pngsub_back/btn_back.pngsub_back/close.pngtitlebar/breeze_refresh.pngtopbar/aac.pngtopbar/aptx.pngtopbar/aptx_hd.pngtopbar/breeze_play.pngtopbar/ldac.pngtopbar/sbc.pngtopbar/ssc.pngtopbar/uat.pngtouch_list/a_z_result_bg.pngtouch_list/del.pngtouch_list/list_default_album.pngvolume/vol.png
Theme package fields
API reference
This guide covers API 17. Older minimum versions are listed where known. For names you choose yourself, such as actions or image files, check the naming rules below.
Theme settings
card
Required 24-bit theme color.
- Type
- RGB color
- Required
- Yes
- Default
- none
- Applies to
- theme parser
drawer_root
Optional icon resource root; validated as a safe source path.
- Type
- relative path or built-in root
- Required
- No
- Default
- omitted / baseline
- Applies to
- theme parser
home_mode
Optional Home presentation mode.
- Type
- tile|list
- Required
- No
- Default
- omitted / baseline
- Applies to
- theme parser
home_order
Optional Home tile order; tile mode allows at most six.
- Type
- comma-separated tile IDs
- Required
- No
- Default
- omitted / baseline
- Applies to
- theme parser
home_row_gap
Optional Home spacing in pixels.
- Type
- integer
- Required
- No
- Default
- omitted / baseline
- Applies to
- theme parser
home_tile_gap
Optional Home spacing in pixels.
- Type
- integer
- Required
- No
- Default
- omitted / baseline
- Applies to
- theme parser
icon_root
Optional icon resource root; validated as a safe source path.
- Type
- relative path or built-in root
- Required
- No
- Default
- omitted / baseline
- Applies to
- theme parser
list_row
Required 24-bit theme color.
- Type
- RGB color
- Required
- Yes
- Default
- none
- Applies to
- theme parser
name
screen
Required 24-bit theme color.
- Type
- RGB color
- Required
- Yes
- Default
- none
- Applies to
- theme parser
text_muted
Required 24-bit theme color.
- Type
- RGB color
- Required
- Yes
- Default
- none
- Applies to
- theme parser
text_primary
Required 24-bit theme color.
- Type
- RGB color
- Required
- Yes
- Default
- none
- Applies to
- theme parser
Theme colors
card
Required RGB color slot; applied to native/plugin UI surfaces.
- Type
- 0xRRGGBB or decimal
- Required
- Yes
- Default
- none
- Applies to
- theme parser
list_row
Required RGB color slot; applied to native/plugin UI surfaces.
- Type
- 0xRRGGBB or decimal
- Required
- Yes
- Default
- none
- Applies to
- theme parser
screen
Required RGB color slot; applied to native/plugin UI surfaces.
- Type
- 0xRRGGBB or decimal
- Required
- Yes
- Default
- none
- Applies to
- theme parser
text_muted
Required RGB color slot; applied to native/plugin UI surfaces.
- Type
- 0xRRGGBB or decimal
- Required
- Yes
- Default
- none
- Applies to
- theme parser
text_primary
Required RGB color slot; applied to native/plugin UI surfaces.
- Type
- 0xRRGGBB or decimal
- Required
- Yes
- Default
- none
- Applies to
- theme parser
Colors set from Lua
set_background_color:card
Slot accepted by plugin.set_background_color(slot, rgb). This is a Lua argument, not an extra .theme key.
- Type
- RGB integer
- Required
- No
- Default
- current theme
- Applies to
- theme parser
set_background_color:list_row
Slot accepted by plugin.set_background_color(slot, rgb). This is a Lua argument, not an extra .theme key.
- Type
- RGB integer
- Required
- No
- Default
- current theme
- Applies to
- theme parser
set_background_color:screen
Slot accepted by plugin.set_background_color(slot, rgb). This is a Lua argument, not an extra .theme key.
- Type
- RGB integer
- Required
- No
- Default
- current theme
- Applies to
- theme parser
set_text_color:muted
Slot accepted by plugin.set_text_color(slot, rgb). This is a Lua argument, not an extra .theme key.
- Type
- RGB integer
- Required
- No
- Default
- current theme
- Applies to
- theme parser
set_text_color:primary
Slot accepted by plugin.set_text_color(slot, rgb). This is a Lua argument, not an extra .theme key.
- Type
- RGB integer
- Required
- No
- Default
- current theme
- Applies to
- theme parser
Built-in color defaults
GUI_COLOR_BORDER
- Type
- RGB integer
- Required
- No
- Default
- 0x535659
- Applies to
- theme parser
GUI_COLOR_PANEL
- Type
- RGB integer
- Required
- No
- Default
- 0x292C30
- Applies to
- theme parser
GUI_COLOR_PRESSED
- Type
- RGB integer
- Required
- No
- Default
- 0x393B3D
- Applies to
- theme parser
GUI_COLOR_PRIMARY
- Type
- RGB integer
- Required
- No
- Default
- 0xFCFCFC
- Applies to
- theme parser
GUI_COLOR_ROW
- Type
- RGB integer
- Required
- No
- Default
- 0x1D1F22
- Applies to
- theme parser
GUI_COLOR_SCREEN
- Type
- RGB integer
- Required
- No
- Default
- 0x141618
- Applies to
- theme parser
GUI_COLOR_SECONDARY
- Type
- RGB integer
- Required
- No
- Default
- 0xA1A9B1
- Applies to
- theme parser
Icon and tile settings
icon.<path>
Per-icon override: key suffix is runtime icon resource name; value is a source file under Themes/.
- Type
- safe relative paths
- Required
- No
- Default
- no override
- Applies to
- up to 32 entries
tile.<id>.accessory
Optional Home tile override property (accessory).
- Type
- boolean
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.align
Optional Home tile override property (align).
- Type
- enum
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.bg_color
Optional Home tile override property (bg_color).
- Type
- RGB color
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.height
Optional Home tile override property (height).
- Type
- integer
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.icon
Optional Home tile override property (icon).
- Type
- boolean
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.radius
Optional Home tile override property (radius).
- Type
- integer
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.text_color
Optional Home tile override property (text_color).
- Type
- RGB color
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.text_size
Optional Home tile override property (text_size).
- Type
- enum
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
tile.<id>.width
Optional Home tile override property (width).
- Type
- integer
- Required
- No
- Default
- baseline / unset
- Applies to
- each valid tile ID
Parsed theme values
card
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
drawer_root
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
has_home
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
has_home_mode
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
has_home_order
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
has_home_row_gap
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
has_home_tile_gap
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
has_launcher
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
home
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
icon_override_count
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
icon_root
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
launcher
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
list_row
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
name
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
relpath
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
screen
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
source
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
text_muted
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
text_primary
- Type
- native result field
- Required
- No
- Default
- zero-initialized unless populated
- Applies to
- theme parser
theme_icon_override.relpath/source
Stores destination resource path and source file for each .theme icon override.
- Type
- path pair
- Required
- No
- Default
- empty
- Applies to
- theme parser
Icon destinations
<runtime resource path>
Resolver compares the override relpath with the requested runtime resource path; no closed valid-name table is defined.
- Type
- safe relative resource path
- Required
- No
- Default
- firmware lookup
- Applies to
- per native icon lookup
Icons with variable paths
%.*s/%s.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
%s.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
%s/Compas_%s.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
%s/Compas_%s_%u.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
%s_s.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
%sfolder.jpg
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
%sfolder.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
BREEZE_DARK_PREVIEW
- Type
- resource path expression
- Required
- No
- Default
- macro-defined
- Applies to
- when this native call site runs
PLACEHOLDER_ASSET
- Type
- resource path expression
- Required
- No
- Default
- macro-defined
- Applies to
- when this native call site runs
S:%s/%s.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
THUMB_DEFAULT_ASSET
- Type
- resource path expression
- Required
- No
- Default
- macro-defined
- Applies to
- when this native call site runs
keyboard/%s_%c.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
player_layouts/%s.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
topbar/%s_%s.png
- Type
- resource path template
- Required
- No
- Default
- computed
- Applies to
- when this native call site runs
Icon paths
boot_animation/en/0.jpg
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
breeze_rows/library_sorting.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/char.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/del.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/dot.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/enter.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/left.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/num.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/psk_show.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/right.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/space2.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/symbol.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
keyboard/upper.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playing_plane/airplay_logo_white.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playing_plane/btn_next.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playing_plane/btn_prev.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playing_plane/collect_out.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playing_plane/default_cover_565.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playing_plane/ic_more.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playing_plane/quality_waveform.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
playlist_actions/trash.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
pull_down/blk.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
pull_down/sleep_switch.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
settings/playback.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
stream_media/download.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
sub_back/bg_search.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
sub_back/btn_back.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
sub_back/close.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
titlebar/breeze_refresh.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/aac.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/aptx.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/aptx_hd.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/breeze_play.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/ldac.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/sbc.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/ssc.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
topbar/uat.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
touch_list/a_z_result_bg.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
touch_list/del.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
touch_list/list_default_album.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
volume/vol.png
Literal native asset lookup path; this caller's request can be matched by icon.<path>. Observed example, not a closed allowlist.
- Type
- resource path
- Required
- No
- Default
- firmware asset
- Applies to
- when this native call site runs
Theme package fields
api_min
Minimum plugin API from plugin.define(), emitted in index; not a theme-file version.
- Type
- positive integer
- Required
- No
- Default
- required in plugin.define
- Applies to
- theme parser
author
Observed Plugin Store theme package metadata field.
- Type
- str
- Required
- No
- Default
- example value
- Applies to
- theme parser
category
Observed Plugin Store theme package metadata field.
- Type
- str
- Required
- No
- Default
- example value
- Applies to
- theme parser
description
Observed Plugin Store theme package metadata field.
- Type
- str
- Required
- No
- Default
- example value
- Applies to
- theme parser
files
Observed Plugin Store theme package metadata field.
- Type
- list
- Required
- No
- Default
- example value
- Applies to
- theme parser
files[].src/dest
Package file mapping; example installs .theme and preview beneath Themes/.
- Type
- relative path pair
- Required
- No
- Default
- example mapping
- Applies to
- theme parser
id
Plugin ID from plugin.define(), emitted in index.
- Type
- string
- Required
- No
- Default
- required in plugin.define
- Applies to
- theme parser
name
Plugin display name from plugin.define(), emitted in index.
- Type
- string
- Required
- No
- Default
- required in plugin.define
- Applies to
- theme parser
preview
Observed Plugin Store theme package metadata field.
- Type
- str
- Required
- No
- Default
- example value
- Applies to
- theme parser
preview.variants[]
Generated smaller preview image variants when present.
- Type
- object list
- Required
- No
- Default
- omitted when no variants
- Applies to
- theme parser
publish
Whether to publish this plugin in the generated index.
- Type
- boolean
- Required
- No
- Default
- true
- Applies to
- theme parser
size
Generated installed byte count in the store index.
- Type
- integer
- Required
- No
- Default
- generated
- Applies to
- theme parser
version
Plugin version from plugin.define(), emitted in index.
- Type
- dotted version
- Required
- No
- Default
- required in plugin.define
- Applies to
- theme parser