Skip to Content
Simulacra

Custom themes

Duplicate a theme to make it your own, recolour its fourteen base colours while watching the contrast checks, and import or export themes as JSON.

Every theme is built from fourteen base colours; the app derives all its other colours from them. Bundled themes are read-only, so to change colours you duplicate one and edit the copy.

The CUSTOM THEME card editing Nord (Custom): Duplicate, Reset to preset and Delete, a grid of fourteen colour pickers with their hex values, and the CONTRAST (WCAG 2.1) list
Editing a custom theme.

The CUSTOM THEME card

PartBundled theme activeCustom theme active
StatusBundled themes are read-only. Duplicate one to edit its colors.Editing … with the theme's name
ButtonsDuplicate, filled: the way to an editable copyDuplicate and Reset to preset outlined, Delete in red
Colour pickersHiddenFourteen, in two even columns across the card: each swatch, its name and hex value
CONTRAST (WCAG 2.1)ShownShown, updated as you pick
The CUSTOM THEME card on a bundled theme: the read-only message, the Duplicate button and the contrast list
A bundled theme can only be duplicated.

Make a theme your own

Start from the closest theme

Click its card in the gallery, for example Nord.

Duplicate it

Click Duplicate. A copy named Nord (Custom) appears under YOUR THEMES and becomes active.

Recolour

Click a colour swatch, pick a colour, and the app redraws with it. The hex value beside the swatch updates.

Check the contrast

Watch the contrast list below the pickers. Aim for AA or better on every row.

Every edit is saved at once. Duplicating a custom theme copies its current colours too.

The fourteen base colours

PickerJSON keyUsed for
BackgroundbgThe app background and the sidebars
SurfacesurfaceCards
ElevatedelevatedDialogs, menus and other raised surfaces
BorderborderOutlines and dividers
TextfgMain text
Muted textfg_mutedSecondary text and hints; the Slate tint
AccentaccentThe brand colour: primary buttons, the active item, focused fields
Second accentaccent_2The accent of your personas
AgentagentThe accent of agents
SuccesssuccessConfirmations; the Mint tint
WarningwarningWarnings; the Amber tint
DangerdangerErrors and destructive actions; the Rose tint
InfoinfoInformation and the focus ring; the Sky and Violet tints
SelectionselectionSelected text

Contrast checks

The contrast list of a Nord copy whose muted text is nearly the background colour: Text on background 10.84:1 AAA, the three Muted text pairs at 1.69:1, 1.90:1 and 1.36:1 each marked Fail, Accent label on accent 10.50:1 AAA
Each pair with its ratio and grade.

The list measures the colours you picked, as the WCAG 2.1 contrast ratio (4.50:1), and grades each pair:

PairAA fromAAA from
Text on background, on surface, on elevated4.5:17:1
Muted text on background, on surface, on elevated4.5:17:1
Accent label on accent (the text on filled buttons)3:14.5:1

Below AA the badge reads Fail, outlined in red. The grades are advice: nothing stops you from keeping a failing colour.

Reset or delete

ButtonWhat it does
Reset to presetPuts back the colours (and mode) of the bundled theme the custom theme was duplicated from. An imported theme has no bundled origin, so its colours stay.
DeleteDeletes the active custom theme at once, without asking. The app switches to the bundled theme it came from, or to Simulacra Midnight.

Import and export

The IMPORT & EXPORT card with Copy JSON, Paste JSON, Save file… and Open file… buttons
IMPORT & EXPORT.
ButtonWhat it does
Copy JSONCopies the active theme, with your edits, as JSON. Toast: Theme JSON copied to the clipboard.
Paste JSONReads a theme from the clipboard, adds it to your themes and switches to it. Toast: Imported ….
Save file…Saves the active theme as a .json file named after its id. Toast: Theme saved.
Open file…Picks a Theme JSON file and imports it like Paste JSON.

A theme file looks like the bundled ones:

{
  "id": "nord",
  "name": "Nord",
  "mode": "dark",
  "credit": "Arctic Ice Studio (MIT)",
  "colors": {
    "bg": "#2e3440", "surface": "#272c36", "elevated": "#3b4252", "border": "#434c5e",
    "fg": "#eceff4", "fg_muted": "#a9b0be", "accent": "#88c0d0", "accent_2": "#b48ead",
    "agent": "#81a1c1", "success": "#a3be8c", "warning": "#ebcb8b", "danger": "#bf616a",
    "info": "#5e81ac", "selection": "#434c5e"
  }
}
  • mode is dark or light; credit may be left out.
  • All fourteen colours are required, each written #rgb, #rrggbb or #rrggbbaa.
  • An imported theme always gets a fresh id of its own (custom-1, custom-2, …), so it never replaces another theme.

Tips and limits

  • Import errors. A malformed file is refused with Could not import the theme: … and the reason, such as an invalid hex colour or a missing colour. An empty clipboard says The clipboard does not contain text.
  • Share a theme by sending the saved file; the other person uses Open file….

On this page