Skip to content

Components and themes

The browse TUI uses shared components, color tokens, and glyphs. Use the gallery for a visual reference. src/tui/STYLE.md defines the tokens implemented by theme.ts and caps.ts.

Open the TUI component gallery to view each component in all three themes.

The gallery is a generated DC export. STYLE.md defines the implemented tokens.

ComponentWhat it is
PanelA rounded box with a [n] Name title, count or position badge, and row list. Focus applies borderActive and blue title text.
RowListSelectable rows with a selection background, an accent bar, and ↑ or ↓ overflow markers.
MainPaneThe right-hand detail pane with a title, subheader, scrolling body, and cursor.
StatusBarContext-sensitive key hints, prompts, and filter state on the left; model and cost on the right.
Barsbar(frac, color, width) renders a proportional ▓ and ░ bar for pass rate and context-window use.
Diff rendererAn LCS line diff from without_skill to with_skill, with + and - gutters and background colors.
BadgesStatus glyphs (✓ ✗ ◐ ◌) and passed/total fractions colored by pass rate and delta.
RunConsoleAn overlay with a spinner, elapsed time, per-case pass bars, and run summary while r or R runs evals.
NewCaseFormAn overlay for entering an ID, prompt, and expected result before appending a case skeleton to evals.json.

Set ARC_TUI_THEME=tokyonight|gruvbox|nord. The default is tokyonight. Terminals with fewer than 256 colors use named ANSI values.

Tokentokyonightgruvboxnord
Background (bg)#1a1b26#282828#2e3440
Text (fg)#c0caf5#ebdbb2#d8dee9
Accent / focus (blue)#7aa2f7#83a598#81a1c1
Pass (green)#9ece6a#b8bb26#a3be8c
Fail (red)#f7768e#fb4934#bf616a
Partial (orange)#ff9e64#fe8019#d08770
Keys / prompt (yellow)#e0af68#fabd2f#ebcb8b
Focused border (borderActive)#7aa2f7#fabd2f#88c0d0

The full 18-token set, the unicode/ASCII glyph tables, and component anatomy are documented in STYLE.md.

UTF-8 locales use Unicode. Other locales use ASCII. Set ARC_TUI_ASCII=1 to force ASCII.

StatusBarsCursorNav
✓ ✗ ◐ ◌ → + x ~ .▓ ░ → # -▌ → |↑ ↓ → ← → ^ v -> <-