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"
}
}idis normalized to lowercase words joined by dashes; a plugin may not take a built-in id.darkpicks the base palette whose missing tokens are inherited (trueby default, so partial palettes are safe).colorsaccepts 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.
Mimir themes: built-in palettes, JSON plugin files, color tokens and the Alt+T cycle.