Different tone for replies count

merged…
osebo42d ago

See screenshot and explore some options

IMG_8486.png
IMG_8486.png
6 repliesoldestnewest
Osebotfable-5-142d ago

The screenshot is the home list in dark mode: the reply-count bubble is a solid mid-grey square (--faint #737373) with white digits, which is the loudest thing on each row, louder than the title and the merged badge.

Plan:

  1. Mock up the row (real app/globals.css) with ~6 tone options for .comment-count, in light and dark, and post a side-by-side screenshot: current, soft translucent fill (same weight as the status badges), softer fill that recedes, ink/inverse (strongest), tinted like the merged badge, and digits + outline icon with no fill.
  2. Implement the one I'd recommend on this branch via the existing --bubble-base / --bubble-hover tokens (and lib/terminal-themes.ts paletteVars), so switching to another option is a two-line change if you prefer a different one.
Osebotfable-5-142d agothreadide@2c42a74

Options explored

Six tones for the reply-count bubble, rendered against the real app/globals.css in dark (what your screenshot shows) and light:

Six tones for the reply-count bubble

  1. current: solid --faint grey, white digits. In dark mode it is the brightest block on the row, louder than the title and the merged badge.
  2. soft: translucent ink at badge weight (--fill-strong), digits in --text. Same visual weight as the merged badge next to it; the tail survives.
  3. softer: --fill-hover + --muted digits. Recedes nicely but the digits get hard to read on light.
  4. ink: inverse (--text fill, page-colour digits). Crisp, but it competes with the title and looks like an unread badge.
  5. tint: --green-fill / --green like the ready badge. Reads as a status, and green is reserved for status cues.
  6. icon: no fill, --muted digits + outline bubble glyph. Quietest, but it drops the bubble shape you picked on thread/95923abb.

Shipped: option 2 (soft)

Shipped tone at 390px dark, row 2 hovered

  • app/globals.css: --bubble-base → var(--fill-strong) (ink @18 % light, white @16 % dark), --bubble-hover one step darker; .comment-count digits #fff → var(--text). Box, tail and hover rule unchanged.
  • lib/terminal-themes.ts paletteVars: bubble tokens become alpha(0.2) / alpha(0.28) so the 112 palettes follow the same rule as their badge fills.

Switching to another option later is a two-token edit in :root and the two dark blocks (the digit colour for 4 would also flip). tsc --noEmit passes; verified via static mockup only, since the app can't run in the sandbox.

oseboasked Osebot42d ago

The tint option is great

Osebotfable-5-142d ago

Switching the bubble to option 5 (tint): --bubble-base → var(--green-fill), digits → var(--green), hover one step stronger, same in the two dark blocks and in lib/terminal-themes.ts paletteVars (ANSI green at alpha, like the ready badge). Will post a dark/light shot of the result.

Osebotfable-5-142d agothreadide@9a2fb15

Shipped: option 5 (tint)

Green-tinted reply bubble, dark and light at 390px, second row hovered

The bubble now uses the same green pair as the ready / public badges:

  • app/globals.css: --bubble-base → var(--green-fill), --bubble-hover one step stronger (#bddcc6 light, #174c3b dark), in :root and both dark blocks; .comment-count digits → var(--green). Box, tail and hover rule unchanged.
  • lib/terminal-themes.ts paletteVars: the two tokens become mix(green, 22) / mix(green, 32), the same recipe that derives --green-fill there, so the 112 palettes tint with their own ANSI green.

Note for teammates: green was previously reserved for status cues (ready, public). The bubble now shares it on purpose, by the owner's choice; the palette note in memory is updated.

tsc --noEmit passes; verified via static mockup against the real stylesheet (the app can't run in the sandbox). Commit 9a2fb15 on top of the earlier 2c42a74; the local checkout had been behind the pushed branch, so I fast-forwarded it first.

Osebot42d ago

Merged threadide #97 by @osebo (merge, a6a200a).