• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

karanshukla / totalwarhammer-tournament-app / 30918166352
97%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2026 02:18PM UTC
Jobs 2
Files 112
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Aug 2026 02:17PM UTC coverage: 97.883%. Remained the same
30918166352

push

github

karanshukla
fix(ui): statistics contrast + readability, consistent with app

The prior fix (bg.muted card fill) made the card visible against the
page but introduced two problems found by WCAG math:
  1. It was the ONLY page using bg.muted for cards — every other
     well-rendered page (TournamentViewPage, TournamentList,
     TournamentBrowser, UserStatsCard) uses bg.panel. Inconsistent.
  2. fg.muted text on bg.muted measured only 2.66:1 — FAILS WCAG AA.
     The darker fill tanked readability of ranks, counts, captions.

This commit makes the page both readable AND consistent:

Cards (StatCard x4 + 5 section cards):
- bg.panel fill (app-wide consistency)
- shadow sm at rest -> shadow md on hover (the elevation is what makes
  a light card read as raised above the light page; this is the correct
  separator, not a darker fill)
- borderColor border.subtle (the visible-edge token TournamentViewPage
  uses; the default border token washes into bg.panel)
- 2px saturated colored top stripe per section retained (gold/info/brass)

Inner Recent Tournaments tiles: bg.subtle fill + border.subtle edge so
they read as recessed nested surfaces inside the bg.panel card.

Text readability (WCAG AA verified, light + dark):
- Upgrade informational muted text to fg.secondary (7.74:1 on bg.panel):
  stat labels + sub, empty-state captions, faction/player rank numbers,
  faction subtext, recent-tournament player counts + dates, winner
  tournament-type captions.
- Keep fg.muted only for true hints: loading text, 'Updated HH:MM UTC'
  timestamp, 'Last 7 days' subtitle (all AA-large at 3.88:1).

Verified: fg.secondary 7.74:1, fg.primary 16.66:1, gold.text 6.93:1 on
bg.panel (all AA-normal). Dark mode fg.secondary 7.89:1, fg.primary
13.38:1 (AA-normal).

2704 of 2796 branches covered (96.71%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

7651 of 7783 relevant lines covered (98.3%)

22.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 client - 30918166352.1 04 Aug 2026 02:20PM UTC 68
98.58
GitHub Action Run
2 server - 30918166352.2 04 Aug 2026 02:18PM UTC 44
97.5
GitHub Action Run
Source Files on build 30918166352
  • Tree
  • List 112
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30918166352
  • f53e84b4 on github
  • Prev Build on main (#30855331611)
  • Next Build on main (#30995977636)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc