Status: available. The themes platform on the server (install, validate, activate, roll back, delete, export, overrides, settings, branding, custom CSS, the
Theme managergroup and theappearance:*permissions) and the Appearance screens in the admin panel ship together; the admin API is documented in the REST reference and the menus store under Menus. Players see nothing until the Show the active theme to players switch on the Themes page is on: the public site keeps the built-indefaultdesign whatever theme is active. No theme other thandefaultships with the product; the sample themes the product’s own test suite uses are not shipped.
Appearance is where you choose how the player-facing site looks: which theme is active, its settings and colours, your logo and favicon, the menus, and the contents of the sidebars. Appearance never changes the rules of the game, and it never changes the admin panel itself.
Table styles, which decide how an individual table is drawn, are under Games › Table Styles; see Tables. Pages and their content are under Site & Content › Pages; see Content & i18n.
Where it is
The Appearance pages are the first four items of the Site & Content group in the admin sidebar, and show when your group has the appearance:read permission. They are not hidden while themes are switched off for players, because the Themes page holds that switch.
| Item | What it does |
|---|---|
Themes (/admin/appearance/themes) | Install, preview, activate, roll back and delete themes |
Customise (/admin/appearance/customise) | Edit a theme’s settings, see its tokens, edit the custom CSS |
Branding (/admin/appearance/branding) | Logo, dark logo, favicon and social-sharing image |
Menus (/admin/appearance/menus) | The navigation menus and which location each one fills |
Permissions
| Permission | Default level | Allows |
|---|---|---|
appearance:read | a1 (Admin) | Open the Appearance pages |
appearance:edit | a1 (Admin) | Customise, Branding, Menus, custom CSS, activate and roll back a theme |
appearance:install | a (Super Admin) | Upload and delete theme archives |
A seeded group, Theme manager, has level a1 with override grants for appearance:install and appearance:edit, so you can give someone all of the Appearance pages without making them a super admin. See Groups & Permissions. The Demo group is denied these permissions.
Themes
The built-in theme is default: it is today’s design, it is the default on every install (fresh installs and upgrades both start on it), and it cannot be deleted, uploaded, exported or rolled back. It provides every page, part, section, page template and the standard table layout, so a child theme only changes what it overrides. Every other theme is an archive (.tgz) that you upload here.
The theme list
Each installed theme shows its name, slug, the theme it extends, version (and the previous version kept for rollback), source (built in, bundled with the product, uploaded, or provided by a plugin) and whether it is active. The actions on a row depend on your permissions: preview, customise and validate need appearance:read; activate, deactivate and roll back need appearance:edit; export and delete need appearance:install and are not shown without it.
Uploading a theme
- Click Upload theme (shown with
appearance:install) and choose a.tgzarchive. The archive may be at most 30 MB; the page refuses larger files before uploading. - The server validates the archive and the page shows the validation report: one row per finding with the rule, the severity and the
file:lineit refers to. A rejected archive is not installed. Validate on an installed theme re-runs the validator on its files and shows the same report. - An accepted archive appears in the list as Inactive. Uploading a newer version of an installed theme upgrades it and keeps the previous version for rollback; the version that is installed, and the previous version kept for rollback, cannot be uploaded again: the page shows the server’s reason in a red notice above the list. After Delete the theme can be uploaded again, any version included.
Preview, activate, roll back
- Preview opens the player site in a new tab showing that theme in your browser only; players see no change. The preview is a cookie on your admin session that lasts an hour; Stop preview ends it earlier. The preview ignores the player switch, so you can preview a theme before showing anything to players.
- Activate makes the theme the player theme. When the player switch is on, players’ browsers pick it up without a page reload.
- Roll back returns to the previous version of the same theme after an update. It asks first (Roll "{name}" back from {version} to {previous}?), confirmed with Roll back theme.
- Deactivate (on the active theme) returns the site to
default, also without a reload. - While another theme is active, the
defaultrow offers Preview (see today’s design in your browser only) and Activate (return every player to it, without a reload). Customise ondefaultlists its tokens (today’s palette) and the custom CSS editor; it declares no settings.
Delete and export
Export downloads the installed version as <slug>-<version>.tgz. Delete asks Delete "{name}"? and, confirmed with Delete theme, removes the files, the theme’s saved settings and the strings it added to Languages; the active theme, the built-in theme and a theme another theme extends cannot be deleted. Duplicating a theme is not offered: a copy would need a new slug, and a theme’s own part, section and string ids carry its slug (theme.<slug>.*), so the copy would not validate.
Child themes
A theme may extend another. The parent must be installed first, and a parent cannot be deleted while a child depends on it.
Table layouts and certification
A theme may ship its own table layout. A table mounts it only when all of these hold: the table’s style names the layout (Table layout in the Table Style editor, see Tables); the layout is Verified or you enabled it (see below); and the table is inside the seat counts, variants and modes the layout declares. Otherwise the table renders the standard layout, with the theme’s table tokens and skin. The Table Style editor says under Table layout whether the layout mounts and, if not, why. A theme can never replace the standard layout itself.
The Themes page shows each table layout as Verified, Enabled, not verified or Not enabled. Verified means the theme’s archive carried a certification record for exactly these files that the server verifies, which needs THEME_CERTIFICATION_KEY set on the server and the record signed with the same key. Otherwise an admin who can install themes can choose Enable on live tables, after previewing the theme and reading its validator warnings. A theme can’t change the rules of the game, which the server enforces, but a badly made or dishonest layout could mislead players or act for them, so only enable themes from a source you trust. The decision covers this version’s files: after an upgrade the table renders the standard layout until you enable the new version. Turn off, or a rollback to a version that isn’t verified or enabled, puts the standard layout back at once, on open tables too.
Themes shipped with the product
Official themes may ship inside the product image as pre-installed, inactive themes (source Bundled). They appear in the list and are activated like any other. None ships today.
Customise
Customise edits one theme, the active one by default; pick another in the Theme select (the Customise action on the Themes page opens that theme). What you see depends on the theme: each theme declares its own settings, and the form is built from that declaration.
- Settings grouped as the theme defines them: text, number, slider, switch, select, colour (
#rrggbbor#rrggbbaa) and image fields, with a field hidden while itsvisibleIfcondition does not hold. A number outside the range the theme allows, a colour in another format, or an image that is not a path on your site (starting with/uploads/or/themes/) is marked under the field and keeps Save off; empty an image field to use no image. Save stores the values that differ from the theme’s defaults; Reset to defaults puts every field back to the theme’s default, and Save then clears your values. Saved values reach players at once. Your values are kept per theme and survive updates. Leaving the page or picking another theme with unsaved settings or CSS asks first. - Tokens: the colours and other design values the theme sets, shown for reference.
- Custom CSS: your own CSS, applied after every theme while players are shown the active theme, saved with Save CSS. It is checked with the same rules as a theme stylesheet:
@import, Google Fonts,@layerblocks,url()with a full web address, adata:address or an address starting with/,expression(),behaviorand-moz-bindingare refused, and so are rules that hide a part of the game screen players need or put!importanton it. When a save is refused, the page lists each problem under the field with its line number and what to change. Open player pages pick up a change without a reload. - Sidebars (the ordered list of sections in the primary and secondary sidebars, shown by pages on the
sidebar-leftandsidebar-righttemplates) are set site-wide through the/api/v1/admin/appearance/sidebarsAPI; the Customise page does not edit them yet. A page may replace either list in its own editor under Site & Content › Pages (see Content & i18n).
Your saved values are kept per theme. Updating the theme keeps them; switching to another theme and back keeps them.
Branding
Players see these images only while Show the active theme to players is on under Themes; while it is off, the page says so above the images, with Open Themes.
Each asset has its own Upload (Replace once one is uploaded) and Remove. Remove asks first: your site stops showing the image straight away, and you can upload it again later. Files may be up to 2 MB. The logo and dark logo may be PNG, JPEG, WebP or SVG; the favicon PNG, SVG or ICO; the social-sharing image PNG, JPEG or WebP, because link previews cannot show SVG or ICO. Another format is refused with a message that names the formats.
| Asset | Used where |
|---|---|
| Logo | The header of themes that place a logo; the built-in design shows the site name instead |
| Dark logo | On dark backgrounds when the theme distinguishes them |
| Favicon | The browser tab |
| Social-sharing image | Link previews (og:image and twitter:image); see below |
The social-sharing image replaces the SEO image in the page’s og:image and twitter:image tags, as a full address on your site’s canonical URL (or the address the visitor is on). Without one, the SEO image is used when one is set through the settings API; otherwise the pages have no og:image or twitter:image tag at all, because there is no built-in default image. The site sets these tags in the browser, after the page has loaded: Facebook, X, LinkedIn, Slack and most other platforms read a shared page without running it, so their link previews do not show the image yet.
The site name is the SEO site title on the General tab of Settings; Branding does not have a second copy of it. Uploaded SVG files are refused when they contain scripts, event handlers, external references or foreign content.
Menus
Menus are lists of links you build here and assign to a Location (Header, Footer, Sidebar, Mobile menu, Account menu); the admin API is /admin/menus. Create a menu with a Menu name and a location (Create menu), then add items with Add item: a Link (label and URL, both required), a Page (pick the page it opens), a Dropdown, a Divider (no label) or a Heading. Once a menu has a dropdown, Place puts a new item at the Top level or Inside that dropdown; its items are listed under it. Each item has a Visible to rule (Everyone, Signed-in players, Signed-out visitors, Admins, Verified players, Players with a balance).
Every item, at the top level and inside a dropdown, has the same buttons: move up and move down (within its own list: a dropdown’s items are ordered among themselves), Edit, turn on or off, and remove. Edit changes the Label, the URL of a link or the Page of a page item, Visible to, and Shown on the site; an item that is off stays in the list with an Off badge and players do not see it. A path such as /lobby opens on the site; a full address opens in a new tab. In the built-in header, the items that do not fit on the line go into a More menu at the end of it (the split follows the width of the screen and the language). Your menu items go into More first, then links added by plugins, then the site’s own links such as Profile or Cashier; Lobby, the plugins’ status badges, the language list and Login or Logout always stay. When not even Lobby fits, the header shows the menu button instead, and the menu it opens lists every item; on phones it always does. A URL must be a path on your site that starts with /, a #section, or a full http://, https://, mailto: or tel: address; anything else (a javascript: or data: address, an address starting with //, a path without the leading /) is refused at the field. A link saved by an older version that does not follow this rule shows on the site as plain text, not as a link. Buttons on content pages and links in page sections follow the same rule. A whole menu can be turned on, turned off or deleted. Removing an item, turning a menu off, and deleting a menu each ask first; removing a dropdown also removes the items inside it. A theme declares which locations it renders. Links the product adds itself, such as the lobby or the cashier for signed-in players, and links added by plugins, are merged into the menu at its location, so a theme cannot lose them.
A Sidebar menu shows only where the active theme places a sidebar with a Menu section in it, on pages that use a sidebar template (Pages › Sidebars). Under a sidebar menu, and under Location when you choose Sidebar, the page says whether the active theme has sidebars at all; if it has none, players do not see the menu.
Earlier versions also offered an Admin sidebar location, which nothing on the site or in the admin ever showed. It is no longer offered. A menu that was assigned to it is kept, says Shown in: Not shown anywhere, and offers Move to with Move menu to put it in a real location, or you can delete it.
A page item resolves to its /pages/<slug> address; an inactive page drops out. Each location renders its first enabled menu (the navigation service ships a default header, footer and user menu; edit or disable those rather than adding a second menu at the same location); a later menu that is on for a taken location says Not shown under its name and names the menu players get. A page item whose page is gone says so in the list. Players see menus only while Show the active theme to players is on; while it is off, the page says so above the menus. While appearance is enabled, the product’s own header shows the header menu after its built-in links, the footer shows the footer menu above the copyright line, and the mobile drawer shows the mobile menu. A dropdown item renders as a label followed by its child links (the product’s own shell has no fly-out; a theme header may draw one), a Heading as a label that is not a link, and a Divider as a thin line between the items around it (a divider at the start or end of a menu, or right after another, is not drawn). The sidebar menu is rendered by the Menu sidebar section. A theme reads any location through useMenu. With appearance disabled nothing changes on the site.
Player protection links
Under the menus, Player protection links holds three links: Responsible gaming page, Problem gambling helpline and Licence, each with a Link text and an Address. Nothing is filled in for you: enter the helpline and the licence wording your licence requires. A link with no address is not shown. When Responsible gaming page has no address and you publish a page with the slug responsible-gaming, the link goes to that page. The links appear in a thin strip below the footer on every page of the player site, with the built-in design and with every theme (even a theme that shows no footer), whether or not Show the active theme to players is on. The same strip has a Cookies button that lists every cookie and browser storage item the site uses and why, and shows the version of the player site the visitor’s browser is running. The site sets no tracking or advertising cookies, so it shows no cookie consent banner.
Terms, privacy and other short addresses
/terms, /privacy, /responsible-gaming, /about and /contact open your page with the same slug (Site & Content › Pages). Until you publish that page, the address shows a short notice that the page is not published yet, with links to the game rules and the lobby, and a footer menu link to it is not shown, so players never meet a dead link. The default footer menu links to /about, /terms, /privacy and /contact: publish those pages and the links appear.
Player theme choice and colour scheme
Site & Content › Themes, the Player theme choice panel below the master switch. The four settings are saved together with Save player choice (one admin write).
| Setting | Meaning |
|---|---|
| Let players choose a theme | Off by default. When on (and Show the active theme to players is on), signed-in players get a Settings link in the player menu and a Settings page (/settings) with a theme picker and a colour-scheme choice. |
| Themes players may choose | The installed themes offered on that page, besides the site theme. Only installed themes can be listed; deleting a theme removes it from the list. |
| Default colour scheme | What guests and players without a choice of their own see. Theme default (the default, and what existing installs keep): the theme’s first declared scheme. Follow the device: light or dark to match the visitor’s device (prefers-color-scheme), switching live when the device changes, for themes that declare both schemes; a theme with one scheme keeps it. A player’s explicit choice still wins while players may choose. |
| Scheme for themes that declare none | Dark or light: the scheme of a theme whose manifest declares no colour scheme. |
The server decides which theme a player sees: their saved choice while the choice is on and the theme is still on the list (and installed), otherwise the site theme. A player cannot pick a theme outside the list, and while the choice is off the Settings page says so and the API refuses (403) any theme. A player can always go back to the site theme. Players who chose a theme that you later remove from the list get the site theme, with no action needed from them.
The colour scheme a player picks (dark, light, or match the device) applies only within the schemes the theme supports (colorSchemes in its manifest): a theme that offers one scheme keeps it. The page root carries data-color-scheme="dark|light" so theme CSS can target it. Guests, and players while the choice is off, get the Default colour scheme. With Follow the device, a player whose settings are created afterwards (a new player, or one who resets their settings) starts on Match my device; players who already have saved settings keep their saved scheme (the product stores dark by default, which cannot be told apart from a choice). The player’s saved scheme is read again from the server whenever the site is opened with a signed-in session, and until it arrives the Default colour scheme applies, so a new player is not held on the product’s placeholder dark. The scheme is applied before the page first paints, so a reload does not flash the other scheme.
A preview (above) still wins for the admin who started it. Theme choice changes what GET /api/v1/config/theme, theme.css and theme.js return for that player, so these responses are Cache-Control: private, no-cache with Vary: Cookie.
Table skins for players
Not yet available. Under Games › Table Styles you can mark table styles that players may pick when they create a private table. The list of allowed styles is an Appearance setting; the styles themselves are managed in Tables.
Live update
Activating, deactivating or rolling back a theme, and saving its settings, reach connected players at once through an appearance_updated event, without a page reload. Token values and custom CSS reach open pages the same way: the page re-reads the token stylesheet when the event arrives. Changes to the players’ theme choice (allowing or withdrawing it, or removing a theme from the list) also reach open pages at once: a player whose theme is no longer allowed is switched back to the site theme without a reload. A player whose session had to be refreshed when the page opened gets their own theme as soon as the refresh succeeds. On a multi-node install every node reads the current version from the database on each request, so no node serves a stale theme.
Refresh cached files
Browsers keep a theme’s files (its bundle and stylesheet) for up to a year and a plugin’s scripts for up to an hour, keyed by their address. A new theme version, or a version uploaded again with different files, already gets new addresses. If players still see an old look after an update, for example after a theme was deleted and the same version installed again on an older release, press Refresh cached files on the Themes page (permission appearance:edit). It starts a new cache generation: the addresses of the active theme’s files and of every plugin script and language file change, so each browser fetches them again on its next page load, whatever it had cached. Nothing is deleted and nothing else changes. You can press it as often as you like.
Troubleshooting
| Symptom | Likely cause |
|---|---|
A theme is installed and active but players still see default | The theme was built against a contract version the product does not accept, or its bundle failed to load; the product keeps default on purpose |
| A table shows the standard look although the active theme has its own table layout | A theme layout mounts only on tables whose style names it (Table layout in the Table Style editor), only when it is verified or enabled for the installed version on the Themes page, and only for tables inside the layout’s seat counts, variants and modes. The Table Style editor says under Table layout why a layout does not mount. After an upgrade, enable the new version again |
| The admin panel looks unchanged after activating a theme | Expected: the admin panel never takes theme colours |
Players still see default after Activate | The Show the active theme to players switch on the Themes page is off |
| A colour or custom CSS change does not show for a player | The player’s page could not receive the live update (no socket connection, for example); it appears after a reload |
| Players still see an old theme or plugin look after an update, even after reloading | Their browser kept the old files. Press Refresh cached files on the Themes page |
The preview tab shows default | The preview cookie expired (one hour) or Stop preview was pressed; start the preview again |