diff --git a/static/style.css b/static/style.css index 937af26..b3f6ef7 100644 --- a/static/style.css +++ b/static/style.css @@ -49,8 +49,14 @@ --slab-rule: #c2c8d2; --good: #16853f; - --good-text: #127034; - --warning: #a86200; + /* These two are the TEXT colour inside severity pills, which sit on a 15% + tint of themselves — a much lighter ground than the white they were + first picked against. Measured in place, the original pair came in at + 4.38:1 and 3.37:1, both under the 4.5:1 AA floor for 12px text, on the + labels that carry this app's actual verdict. Darkened until they pass + with margin. */ + --good-text: #0d5c2a; + --warning: #8a5000; /* Deliberately darker and browner than --brand so a severity red never reads as the brand red sitting next to it. */ --critical: #8f1d1d;