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

umputun / revdiff / 24265122100

10 Apr 2026 09:31PM UTC coverage: 88.166% (+0.02%) from 88.146%
24265122100

push

github

umputun
fix(ui): soften auto-derived word-diff bg shift for better contrast

The auto-derived WordAddBg/WordRemoveBg used a 0.15 HSL lightness
shift, which roughly doubled the lightness of the default palette's
very dark add/remove bgs (L≈0.11-0.15 → L≈0.26-0.30). The resulting
word-diff spans were visibly brighter than intended and crushed
contrast against syntax-highlighted text rendered on top of them.

Drop the shift to 0.08 so word-diff spans land at L≈0.19-0.23 — still
clearly distinguishable from the base line bg, but close enough that
the foreground text keeps its readable contrast.

Explicit WordAddBg/WordRemoveBg values and theme overrides are
unaffected; only the default auto-derivation path changes.

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

37 existing lines in 1 file now uncovered.

5692 of 6456 relevant lines covered (88.17%)

416.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

92.99
/app/ui/diffview.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc