Skip to content

v0.1.18 — Sports card polish

Choose a tag to compare

@NebulaSleuth NebulaSleuth released this 23 Apr 03:11
· 249 commits to main since this release

Sports card visual pass

Two fixes.

Upcoming cards show the followed team's colors

"Sports On Later" cards no longer render empty score columns. Instead:

  • Solid team background when one followed team plays.
  • Diagonal split (skewed edge, no SVG dep) when both followed teams play each other — each half in that team's color.
  • Home-team fallback when following the whole league.
  • Text color switches white/black automatically via a luminance check so names stay legible on any team color. A subtle scrim at the bottom keeps the time + broadcast pill readable on bright backgrounds.
  • Time label is now today-aware: "7:00 PM", "Tomorrow 7:00 PM", "Fri 7:00 PM", or "Apr 26 7:00 PM".

Live cards keep their focus border

Style order was [card, cardFocused, cardLive] which meant the live-red tint overrode the focus-gold border — cards on the On Now shelf never looked focused even when they were. Reordered so focus wins.

Backend unchanged; version bumped for lock-step.