Skip to content

palette: a terminal is black in either theme, with its own ANSI colours - #24

Merged
aledbf merged 1 commit into
mainfrom
ui/terminal-dark
Nov 9, 2026
Merged

aledbf merged 1 commit into
mainfrom
ui/terminal-dark

Conversation

@aledbf

@aledbf aledbf commented Nov 9, 2026

Copy link
Copy Markdown
Member

The dashboard's terminal drew on the page's white in light mode, without a frame; a console reads as a console on black. This adds [terminal] to palette.toml: background, foreground, cursor, selection and the sixteen ANSI colours, the same in either theme.

task palette holds:

  • foreground on background, 7:1 (16.3)
  • each ANSI colour on background, 4.5:1; white and bright white 7:1 (lowest: bright black 5.5)
  • foreground on ANSI black (a cell's background) and on the selection, 7:1
  • the cursor on the background (3:1) and the background on the cursor (4.5:1)

dist/: --terminal-* (hex, since xterm reads them for its canvas) in dashboard.css's theme-independent :root, --spin-terminal-* in tokens.css, and terminal in tokens.json.

🤖 Generated with Claude Code

[terminal] holds a terminal's background, foreground, cursor and selection and
the sixteen ANSI colours. `task palette` holds the foreground (7:1) and each
colour (4.5:1; white at 7) on the background, the foreground on ANSI black and
on the selection, and the cursor both ways. dist/ writes them as
--terminal-* in dashboard.css, --spin-terminal-* in tokens.css, and under
"terminal" in tokens.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@aledbf
aledbf merged commit 6668a52 into main Nov 9, 2026
2 checks passed
@aledbf
aledbf deleted the ui/terminal-dark branch November 9, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant