anvilsign in

collin/mahjong · 65869214

White, the way a tile is

Collin Richards · 2026-08-25 08:33 UTC · 658692144a4a8888840e6ef537afda770792693e · parent 366ba77f · browse files

modifiedsrc/styles.css+5 −1
⋯ 629 unchanged lines
630630 padding: 2px 1px;
631631 gap: 0;
632632 border-radius: calc(var(--tile-w) * 0.1);
633- background: linear-gradient(180deg, var(--ivory), var(--ivory-edge));
633+ /* The white the tiles themselves are, not the bone the panels are: a tile's
634+ face is white and its sides are the two greys in `LOOK` (ui/tileArt.ts),
635+ and the bottom stop here is that same `sideLight`, so a button standing in
636+ the row reads as one more tile rather than as a card lying beside them. */
637+ background: linear-gradient(180deg, #ffffff, #d7d7d7);
634638 color: var(--ink);
635639 border: none;
636640 box-shadow: 0 2px 3px rgba(0, 0, 0, 0.45), inset 0 calc(var(--tile-w) * -0.06) 0 rgba(0, 0, 0, 0.09);
⋯ 1967 unchanged lines