From 26632c96a637e11759e6393ff68aeec1428468d7 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 4 Aug 2021 17:11:50 -0700 Subject: [PATCH] doc: fix color contrast issue in light mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is a color contrast issue with links in light mode on the API highlight background. This only appears in modules.md. This change fixes it without introducing other contrast issues in either light or dark mode. Previously, the color contrast for some text on modules.html was failing WCAG AA in light mode. PR-URL: https://github.com/nodejs/node/pull/39660 Reviewed-By: Antoine du Hamel Reviewed-By: Tobias Nießen Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Derek Lewis --- doc/api_assets/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api_assets/style.css b/doc/api_assets/style.css index b1c8a763a638aa..97215226d5582b 100644 --- a/doc/api_assets/style.css +++ b/doc/api_assets/style.css @@ -11,7 +11,7 @@ --red1: #d60027; --red2: #d50027; --red3: #ca5010; - --green1: #43853d; + --green1: #3e7a38; --green2: #5a8147; --green3: #64de64; --green4: #99cc7d;