Mimir

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:

{
  "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

TokenUsed for
bgApp background
surface, surfaceSoftRails, panes, selected rows
fg, fgStrongBody text, headings
muted, dimMetadata, hints
border, borderActiveFrame and focus borders
accent, accentSoftSelection, focus, active rail entry
dangerErrors, critical health
successHealthy resources
warningElevated resources
hotHigh 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.