0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 03:07:54 +01:00

doc: fix color contrast issue in light mode

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 <duhamelantoine1995@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
This commit is contained in:
Rich Trott 2021-08-04 17:11:50 -07:00 committed by Node.js GitHub Bot
parent b00d1ae5ba
commit 26632c96a6

View File

@ -11,7 +11,7 @@
--red1: #d60027;
--red2: #d50027;
--red3: #ca5010;
--green1: #43853d;
--green1: #3e7a38;
--green2: #5a8147;
--green3: #64de64;
--green4: #99cc7d;