diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-07 08:30:31 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-07 08:30:31 -0500 |
| commit | 8b3a07de8bd3d826cc2364360bd20817cea82579 (patch) | |
| tree | 00850d6298abb54ed48775c60e6aef8ff2bf8c45 /docs | |
| parent | 636c701efaddb38edba3922ee465423c07654583 (diff) | |
| download | dotemacs-8b3a07de8bd3d826cc2364360bd20817cea82579.tar.gz dotemacs-8b3a07de8bd3d826cc2364360bd20817cea82579.zip | |
fix(dupre): make diff-changed and diff-refine-changed legible
diff-refine-changed rendered the default foreground (#f0fef0) on the bright-gold yellow-1 (#ffd700) at WCAG contrast 1.35, unreadable wherever the face is a plain background, not inside diff-mode's own foreground overlay. diff-changed was weak too at 2.78.
Both now use the default foreground on the dark amber yellow-2 (#875f00), already in dupre's palette, for a contrast of 5.49. diff-refine-changed keeps its bold weight so it stays stronger than diff-changed. A WCAG-contrast test guards both faces from dropping below 4.5.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
