---
title: "Themes"
description: "Mimir themes: built-in palettes, JSON plugin files, color tokens and the Alt+T cycle."
canonical_url: "https://mimir.atnatewos.dev/docs/themes"
markdown_url: "https://mimir.atnatewos.dev/docs/themes.md"
last_updated: "2026-12-06"
x_farming_labs_generated_preamble: true
---

# Themes
URL: /docs/themes
LLM index: /llms.txt
Description: Mimir themes: built-in palettes, JSON plugin files, color tokens and the Alt+T cycle.

# Themes

Palettes are data. Built-in themes ship with the app; anything else is a small
JSON file in `$XDG_CONFIG_HOME/mimir/themes/`.

## Built-in

`dark` (the default), `light`, `nord`, `gruvbox`, `catppuccin`, `dracula`,
`monokai`, `everforest` and `ayu`.

`Alt+T` cycles through everything loaded; `ui.theme` sets the one to start with.
The palette lists every theme, and hovering a row paints it without saving it,
so a palette that matches the terminal can be tried before Enter applies it.

## Writing a plugin

Create `~/.config/mimir/themes/ocean.json`:

```json
{
  "id": "ocean",
  "name": "Ocean",
  "dark": true,
  "colors": {
    "bg": "#0b1220",
    "surface": "#111a2b",
    "fg": "#c3d3e8",
    "accent": "#5eb0ef"
  }
}
```

- `id` is normalized to lowercase words joined by dashes; a plugin may not take
  a built-in id.
- `dark` picks the base palette whose missing tokens are inherited (`true` by
  default, so partial palettes are safe).
- `colors` accepts the tokens below, all `#rrggbb`.

A malformed file is skipped with no effect on the other plugins or on startup.
Plugins are reloaded when the app starts; restart after adding one.

## Tokens

| Token | Used for |
| --- | --- |
| `bg` | App background |
| `surface`, `surfaceSoft` | Rails, panes, selected rows |
| `fg`, `fgStrong` | Body text, headings |
| `muted`, `dim` | Metadata, hints |
| `border`, `borderActive` | Frame and focus borders |
| `accent`, `accentSoft` | Selection, focus, active rail entry |
| `danger` | Errors, critical health |
| `success` | Healthy resources |
| `warning` | Elevated resources |
| `hot` | High load |

The last three are optional. A theme without them inherits the base palette's
severity colors, which is why an old plugin keeps working - and why health
colors stay meaningful in every theme instead of becoming decorative.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
Docs-scoped sitemap: [/docs/sitemap.md](/docs/sitemap.md).
Well-known sitemap: [/.well-known/sitemap.md](/.well-known/sitemap.md).
