Files
amethyst/commonsUI/src
Vitor PamplonaandClaude Opus 5 a930fc97f8 design(browser): let the collapsed handle go quiet
The handle is on screen the whole time a page is, and almost nobody pulls it
down — it is there for when you are stuck on a site, not as a status display.
Tinting it with the Tor accent lit it up on every page, because onion routing
is the normal case here rather than the exception, and an accent that is
always on is one nobody reads.

So it spends colour only on what a reader should act on: plain HTTP keeps the
error colour, the console-error dot stays (5dp at 80%, down from a solid 7dp),
and everything else — Tor included — is the same muted grey. Tor is not hidden;
it keeps its badge inside the pill, where the address row says "Onion-routed"
in words for anyone who opens it.

I also tried dropping the handle's background, and put it back: on a dark page
it nearly vanished, and the point is to call less attention, not to be
undiscoverable.

`BrowserPillRenderTest` needed a note. Its "did anything render" guard is a flat
`distinct colours > 20` over the whole canvas, and `05-handles` — three small
bars on mostly empty space — fell to 18 once the accent came off. That guard was
in effect asserting the handle has a saturated accent, which is the thing being
removed. Rather than lower it for all eleven images, that one gets
`minColours = 12`: a blank render scores 1-3, so it still catches the failure
the guard exists for.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-26 18:02:53 -04:00
..