PR-C0: card-style no-video tiles (border + backdrop label) #3
Loading…
Reference in a new issue
No description provided.
Delete branch "j4k-card-style-no-video-tiles"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the half of upstream coracle/flotilla#343 asking that no-video participant tiles "stand against the background... use a card style."
Root cause: in VideoCallContent.svelte, the videoTile outer div is bg-surface and the panel (panelChrome) is also bg-surface, so no-video tiles had zero contrast against their container.
Changes (src/app/components/VideoCallContent.svelte, videoTile snippet only):
border border-line border-solidon the no-video state only (!tile.track). Video-on tiles unchanged (shadow-sm kept on both; video pixels supply their own contrast).tile.track ? 'bg-surface/80' : 'bg-backdrop/80'so the label reads against the bg-surface tile on no-video.On-system tokens only (border-line / bg-backdrop defined in base.css + clay/flat/navy themes). No grid/tiling/layout changes — that is PR-C1.
Verification:
pnpm dev(sibling @welshman/* packages unlinked). Please eyeball a mixed video-on/off call before merging.Upstream ref: https://gitea.coracle.social/coracle/flotilla/issues/343
get rid of the tile.track ternary. There is something funky with the layout. With two video tiles displayed the top one has a taller shadow than the bottom one. And the top one's shadow looks diagonally cropped in the bottom right corner. The bottom ones shadow looks uncropped and it comes to a sharp point instead of a rounded edge.
Pull request closed