# Appearance

> Light and dark mode, accent color, terminal themes and colors, fonts, text sizes per display, the sidebar background, and reduce motion.

Settings › Appearance controls how Flow looks: light or dark, the accent color, the terminal palette, fonts and text sizes, the sidebar's background and how much Flow animates. Every change applies live, without a restart. A sidebar label can also carry its own terminal theme and sidebar background.

## Light and dark mode

`appearance.mode` picks the appearance: `system` (the default) follows macOS, `dark` and `light` keep Flow in one appearance. Terminal themes and sidebar backgrounds are chosen separately for each appearance, and the one for the current appearance applies.

Programs in your terminals can follow the switch too. A program that turns on color-scheme notifications (DEC private mode 2031, `CSI ? 2031 h`) is told whenever Flow's scheme flips between dark and light, and `CSI ? 996 n` asks for the current scheme. Editors and tools that support this protocol can then swap their own themes.

## Accent color

`accent` is the chrome's highlight color. `system` follows the macOS accent color; `blue`, `purple`, `pink`, `red`, `orange`, `yellow`, `green` and `graphite` override it. Flow derives all its chrome colors from the accent, so there are no separate chrome themes. The terminal's selection color is the accent too, unless a terminal theme sets its own.

## Terminal themes

Pick a palette per appearance under Settings › Appearance › Terminal colors:

| Setting | Choices | Default |
|---|---|---|
| `terminal.dark` | `default`, `solarized-dark`, `dracula`, `gruvbox-dark`, `nord`, `one-dark`, `tokyo-night`, `catppuccin-mocha`, `github-dark`, `github-dark-hc`, or a custom theme | `"default"` |
| `terminal.light` | `default`, `solarized-light`, `gruvbox-light`, `one-light`, `github-light`, `github-light-hc`, or a custom theme | `"default"` |

`default` is the adaptive palette: the standard ANSI colors on Flow's own terminal background. A preset sets the 16 ANSI colors plus foreground and background; the extended 256-color range stays standard.

> **Note:** Picking a theme clears the colors you edited for that appearance.

### Edit terminal colors

The **Terminal colors** editor lists every color with a swatch and a hex field, a Reset, and **Save as theme**:

1. Open Settings › Appearance and scroll to Terminal colors.
2. Click a swatch or type a `#rrggbb` value. The change shows in every pane at once.
3. Click **Save as theme** to keep the palette as a custom theme. It then appears in the theme list for that appearance.

Edited colors are stored as overrides: `terminal.dark.overrides` and `terminal.light.overrides` hold only the colors that differ from the theme, as `{"KEY": "#rrggbb"}`. Saved custom themes are stored in `terminal.custom`. The color keys are:

| Key | Color |
|---|---|
| `bg`, `fg` | background and foreground |
| `cursor` | the cursor (defaults to the foreground) |
| `sel` | the selection (defaults to the accent) |
| `ansi0`–`ansi15` | the 16 ANSI colors |

Flow reads these values leniently: a malformed entry, unknown key or bad hex value is skipped, never an error.

### A theme per label

A sidebar label can have its own terminal theme for each appearance. Open the label editor and choose its **Theme** tab (`⌘2` in the editor): the theme you pick shows window-wide while that label is selected in the spaces bar. It is stored as `terminal.label.LABEL_ID.dark` / `.light`, takes the same values as `terminal.dark` / `terminal.light`, and never uses your color overrides. "All sessions" and labels without their own theme use the base theme. See [Labels and spaces](https://flow.worldbreakstudios.com/docs/workspace/labels-and-spaces.md).

## Fonts

| Setting | Label | Default | Applies to |
|---|---|---|---|
| `appearance.ui_font` | App chrome font | `""` (each surface keeps its own face) | sidebar, tabs, palette and Dashboard |
| `appearance.mono_font` | Terminal font | `""` (Flow's default) | the terminal grid and code |

The pickers list the font families installed on your Mac, filtered as you type; the Terminal font picker offers monospaced families. Set a font back to `""` for the default:

```sh
flow-cli settings apply appearance.mono_font "JetBrains Mono"
flow-cli settings apply appearance.mono_font ""
```

A font change re-measures the terminal grid, as a size change does.

## Text size

| Setting | Label | Range | Default |
|---|---|---|---|
| `terminal.font_size` | Text size › Terminal | 8–40 px | `15` |
| `appearance.font_size` | Text size › App chrome | 8–40 px | `15` |
| `appearance.match_text_across_displays` | Match text size across displays | on / off | `true` |

`⌘=` and `⌘-` change the terminal size while a terminal is focused, and the App chrome size elsewhere. The App chrome size scales all of Flow's chrome, including the Settings window's list and controls.

With **Match text size across displays** on, Flow scales text by each display's pixel density so it looks the same physical size on a laptop panel, a 1080p monitor and a 4K monitor. The size you set (or zoom to) is exact on the display you set it on, and the others scale from it. A display that reports no usable density (a projector, a TV, a virtual display) shows the plain size.

## Sidebar background

The sidebar background is the ground painted under the window and the sidebar column. Set it per appearance in Settings › Appearance › Sidebar:

- the built-in default,
- a solid color,
- or a gradient of 2 or 3 colors at an angle,

each with an optional grain. Flow derives the sidebar's text and highlight colors from the background so they stay legible.

It is stored as one JSON object per appearance:

| Key | Holds |
|---|---|
| `appearance.sidebar_background.dark` / `.light` | the base background |
| `appearance.sidebar_background.label.LABEL_ID.dark` / `.light` | a label's own background (set in the label editor's Theme tab) |

```json
{ "kind": "gradient", "stops": ["#1e3a5f", "#3b1e5f"], "angle": 180, "noise": 0.2 }
```

| Field | Meaning |
|---|---|
| `kind` | `"solid"` (uses the first stop only) or `"gradient"` (2 or 3 stops; more keep the first 3) |
| `stops` | hex colors (`#rrggbb` or `#rgb`) |
| `angle` | degrees, as in CSS: 0 runs bottom to top, 90 left to right, 180 top to bottom |
| `noise` | grain intensity, 0 (none) to 1 |

A label without its own background uses the base one for that appearance. An absent or invalid value means the built-in default. To set one from a shell, write the whole object: `flow-cli settings set appearance.sidebar_background.dark '{"kind":"solid","stops":["#202830"]}'`.

## Reduce motion

`appearance.reduce_motion`: `system` (the default) follows the macOS Reduce Motion accessibility setting; `on` and `off` override it. With it on, Flow replaces movement with instant changes: folds, scroll glides, the Dashboard's marching-ants outline and close animations snap into place. Color flashes and fades stay, since they show you where something changed.

## All Appearance settings

| Setting | Label | Type | Default | What it does |
|---|---|---|---|---|
| `appearance.mode` | Theme › Mode | choice: `system`, `dark`, `light` | `"system"` | System follows macOS; Dark and Light keep flow in one appearance. |
| `accent` | Theme › Accent | choice: `system`, `blue`, `purple`, `pink`, `red`, `orange`, `yellow`, `green`, `graphite` | `"system"` | The chrome's highlight color. System follows macOS. |
| `appearance.horizontal_tabs` | Layout › Horizontal tabs | toggle | `false` | Show sessions as tabs across the top of the window instead of in the sidebar. |
| `appearance.reduce_motion` | Motion › Reduce motion | choice: `system`, `on`, `off` | `"system"` | System follows macOS's Reduce Motion accessibility setting. On replaces movement with instant changes. |
| `sidebar_background` | Sidebar › Sidebar background | editor | — | The sidebar's ground per appearance: the default, a solid colour or a gradient, with grain. |
| `terminal.font_size` | Text size › Terminal | number 8–40 px, step 1 | `15.0` | Font size of the terminal grid. ⌘= / ⌘− while a terminal is focused. |
| `appearance.font_size` | Text size › App chrome | number 8–40 px, step 1 | `15.0` | Tabs, sidebar and other UI. ⌘= / ⌘− elsewhere. |
| `appearance.match_text_across_displays` | Text size › Match text size across displays | toggle | `true` | Scale text by each display's pixel density so it looks the same size on every monitor. |
| `appearance.ui_font` | Text size › App chrome font | font family | `""` | Sidebar, tabs, palette and dashboard. Unset, each keeps its own face. |
| `appearance.mono_font` | Text size › Terminal font | font family | `""` | The terminal grid and code. |
| `dashboard.card_w` | Dashboard › Card width | number 240–1200 px, step 20 | `560.0` | Column pitch the grid aims for, px at the default text size. Smaller fits more sessions. |
| `dashboard.card_h` | Dashboard › Card height | number 170–990 px, step 20 | `430.0` | Row pitch the grid aims for, px at the default text size. Smaller fits more sessions. |
| `terminal.dark` | Terminal colors › Dark theme | choice: `default`, `solarized-dark`, `dracula`, `gruvbox-dark`, `nord`, `one-dark`, `tokyo-night`, `catppuccin-mocha`, `github-dark`, `github-dark-hc` | `"default"` | The terminal palette in dark appearance. Picking one clears that palette's edited colors. |
| `terminal.light` | Terminal colors › Light theme | choice: `default`, `solarized-light`, `gruvbox-light`, `one-light`, `github-light`, `github-light-hc` | `"default"` | The terminal palette in light appearance. Picking one clears that palette's edited colors. |
| `terminal_colors` | Terminal colors › Terminal colors | editor | — | Every terminal color, editable: swatches, hex values, Reset and Save as theme. |

Tab icons have their own section: see [Tab icons](https://flow.worldbreakstudios.com/docs/features/tab-icons.md).

## Limits

- There are no chrome color themes beyond the accent.
- A label's terminal theme ignores your color overrides.
- Terminal presets only change the 16 ANSI colors and the foreground and background.
