aboutsummaryrefslogtreecommitdiff
path: root/docs/design
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-07 08:30:31 -0500
committerCraig Jennings <c@cjennings.net>2026-06-07 08:30:31 -0500
commit871bb3ab771b6235cbbeb4e4122e65c601c182b1 (patch)
treec752f2aad8cec3538cadb3b038a883ca11561d4a /docs/design
parenta98eed7cbc1ff7a8fc374b735ec8632bd57d8a96 (diff)
downloaddotemacs-871bb3ab771b6235cbbeb4e4122e65c601c182b1.tar.gz
dotemacs-871bb3ab771b6235cbbeb4e4122e65c601c182b1.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/design')
0 files changed, 0 insertions, 0 deletions