Skip to content

v4.8.1 — the send button is readable when the workspace is dark - #2

Merged
DeyangChan merged 1 commit into
mainfrom
release/v4.8.1
Aug 4, 2026
Merged

v4.8.1 — the send button is readable when the workspace is dark#2
DeyangChan merged 1 commit into
mainfrom
release/v4.8.1

Conversation

@DeyangChan

Copy link
Copy Markdown
Contributor
  • The comment composer's send button is readable in dark mode. Its label was
    fixed to white while its background follows --ink, which is the text colour
    and therefore near-white under a dark theme. The button rendered as a blank
    white box, at a contrast of 1.12:1. The label now follows --surface, the
    pairing the rest of the interface already uses, giving 15.70:1 in dark and
    leaving light mode exactly as it was.
    Contrast on the button label, measured from the token values in tokens.css:
Theme Before (#fff) After (var(--surface))
Light 17.90:1 17.90:1 — unchanged
Dark 1.12:1 15.70:1

Not verified visually — the Chrome extension was disconnected. The numbers come from the real token values, not from a render.


Release PR for 4.8.1.

🤖 Generated with Claude Code

The composer's send button sets its background to --ink and its label to a
fixed white. --ink is the text colour, so under a dark theme it is near-white
(#f1f2f4) and the label disappeared into the button: white on white, 1.12:1.
The button rendered as a blank box with no word on it, and the only way to
know it was Send was to have used it in light mode first.

The label now follows --surface, which is the pairing the rest of the
interface already uses for anything sitting on --ink — the shell's dark banner
and its update line both do. That gives 15.70:1 in dark, and light mode is
untouched because --surface is #ffffff there, exactly what was hardcoded.

Every other fixed white label in the pages sits on --brand, --mk, --note or
--keep, which stay mid-tone in both themes. --ink was the only token that
inverts, so this was the only place the fault could occur.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@DeyangChan
DeyangChan merged commit 4e6d7d9 into main Aug 4, 2026
4 checks passed
@DeyangChan
DeyangChan deleted the release/v4.8.1 branch August 4, 2026 16:19
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