Skip to content

fix(pokemon): the PVP league name needs 5:1, not 3.5:1 - #802

Merged
hokiepokedad2 merged 3 commits into
developfrom
fix/800-pvp-league-contrast
Aug 24, 2026
Merged

fix(pokemon): the PVP league name needs 5:1, not 3.5:1#802
hokiepokedad2 merged 3 commits into
developfrom
fix/800-pvp-league-contrast

Conversation

@hokiepokedad2

@hokiepokedad2 hokiepokedad2 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #801 (issue #800).

That PR moved the league name from #f57f17 to the cp-pill #e65100 and its comment claimed the new colour cleared 4.5:1. Measured on the dev deployment, against the band's #f5f5f5, it is 3.48:1 — better than the 2.4:1 it replaced, and enough for large text, but this label is 12px at weight 500, so 4.5:1 is the bar.

#bf360c (deep orange 900) measures 5.08:1. The comment now carries the measured ratios rather than an assumed one.

The rank range that #800 was actually about is unaffected: rgba(0, 0, 0, 0.64) on that band, verified rendering in dark mode on dev.

@github-actions github-actions Bot added the fix label Aug 24, 2026
#801 moved the league name from #f57f17 to the cp-pill #e65100 and its comment claimed
that cleared 4.5:1. Measured on the dev deployment against the band's #f5f5f5 it is
3.48:1 -- an improvement on 2.4:1, and enough for large text, but this label is 12px.
#bf360c measures 5.08:1.

Ratios in the comment are now the measured ones.
@hokiepokedad2
hokiepokedad2 force-pushed the fix/800-pvp-league-contrast branch from 64558e8 to 0ae5b86 Compare August 24, 2026 01:33
#801 and #802 fix the same band on the same card for the same issue, and each wrote
its own bullet with an identical lead sentence. Keeping both would publish the fix
twice under one issue number.

#802's wording supersedes: it describes the league name as darker rather than merely
having gained contrast, which is what the 5:1 ratio actually did.
@hokiepokedad2
hokiepokedad2 merged commit d6c183e into develop Aug 24, 2026
6 checks passed
@hokiepokedad2
hokiepokedad2 deleted the fix/800-pvp-league-contrast branch August 24, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant