DocsThe terminal UI
Theme System
On this page
cass includes a sophisticated theming system with multiple presets, accessibility-aware color choices, and adaptive styling.
Theme Presets#
Cycle through 19 built-in theme presets with F2:
| Theme | Description | Best For |
|---|---|---|
| Tokyo Night (default) | Deep blues with restrained contrast | Low-light environments, extended sessions |
| Daylight | High-contrast light background | Bright environments, presentations |
| Catppuccin Mocha | Warm pastels, reduced eye strain | All-day coding, aesthetic preference |
| Dracula | Purple-accented dark theme | Popular among developers, familiar feel |
| Nord | Arctic-inspired cool tones | Calm, focused work sessions |
| Solarized Dark | Precisely tuned low-contrast palette | Long editing sessions, monitor-agnostic |
| Solarized Light | Solarized on a cream background | Paper-style readability in bright rooms |
| Monokai | Classic warm dark palette | Familiar Sublime/TextMate feel |
| Gruvbox Dark | Retro earth tones on dark | Warmer alternative to Tokyo Night |
| One Dark | Atom's signature balanced dark | Moderate contrast, friendly defaults |
| Rosé Pine | Soho-inspired muted roses | Gentle contrast, boutique look |
| Everforest | Forest-inspired green-brown palette | Calm, nature-adjacent mood |
| Kanagawa | Japanese ink-and-paper theme | Artistic, quietly distinctive |
| Ayu Mirage | Ayu's balanced muted dark | Blue-teal accents, relaxed contrast |
| Nightfox | Fox-inspired warm dark | Deep violets with orange highlights |
| Cyberpunk Aurora | Neon aurora on obsidian | Showy, high-saturation dark |
| Synthwave '84 | Retro neon magenta/cyan | 80s aesthetic, fun demos |
| High Contrast | Maximum readability | Accessibility needs, bright monitors |
| Colorblind | Deuteranopia/protanopia-safe palette | Color-vision-deficient users |
WCAG Accessibility#
Every theme preset is checked in the test suite against WCAG contrast ratios, with these floors:
- Body text on the background: at least 3:1, and 2.5:1 on raised surfaces
- Selected rows, muted text, focused borders: at least 3:1
These floors are below WCAG AA's 4.5:1 for body text, so cass does not claim AA conformance. At runtime, role and status badges pick whichever candidate foreground has the highest contrast against their background.
Role-Aware Message Styling#
Conversation messages are color-coded by role for quick visual parsing:
| Role | Visual Treatment | Purpose |
|---|---|---|
| User | Blue-tinted background, bold | Your input, easy to scan |
| Assistant | Green-tinted background | AI responses |
| System | Gray/muted background | Context, instructions |
| Tool | Orange-tinted background | Tool calls, file operations |
Each agent type (Claude, Codex, Cursor, etc.) also receives a subtle tint, making multi-agent result lists instantly scannable.
Adaptive Borders#
Border decorations adapt to terminal width and to render pressure:
| Condition | Style | Example |
|---|---|---|
| Narrow (<80 cols) | Square box-drawing | ┌─ content ─┐ |
| 80 cols and wider | Rounded corners | ╭─ content ─╮ |
| Frame budget under pressure | Square, then no borders | ┌─┐, then none |
There is no double-line tier. Ctrl+B toggles between rounded and square Unicode borders; both are box-drawing characters, not ASCII.