Commit 4de15d1806

4de15d180669ff0f616917f6c0c95e40427efbfa

parent: 20b06b791b

Verified · cmc ci/build: success

cmc <hello@cleberg.net> · 2026-08-26 23:12 UTC

web: pick the dark accent against the lightest ground it lands on

It was chosen against the page background, but a link wrapping inline
code sits on a code chip at #161616, where #5b6bff measured 4.30:1.

Layout: unified · split

internal/web/static/style.css +5 −1
@@ -111,7 +111,11 @@
111 --fill-subtle: #161616; 111 --fill-subtle: #161616;
112 --diff-add: #0d2a18; 112 --diff-add: #0d2a18;
113 --diff-del: #2c1113; 113 --diff-del: #2c1113;
114 --accent: #5b6bff; /* 4.71:1 — pure #0000f0 is 2.13:1 here */ 114 --accent: #6272ff; /* pure #0000f0 is 2.13:1 here. Picked against
115 the lightest ground it lands on, not the page:
116 a link wrapping inline code sits on #161616,
117 where the old #5b6bff was 4.30:1. Now 4.63:1
118 there and 5.06:1 on the page. */
115 --accent-fg: #ffffff; 119 --accent-fg: #ffffff;
116 --fill: #0000f0; /* fills stay pure; white on it clears 9:1 */ 120 --fill: #0000f0; /* fills stay pure; white on it clears 9:1 */
117 --mark: #ff6b3d; 121 --mark: #ff6b3d;