Skip to content

Commit 26632c9

Browse files
Trottnodejs-github-bot
authored andcommitted
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: #39660 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Derek Lewis <[email protected]>
1 parent b00d1ae commit 26632c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api_assets/style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
--red1: #d60027;
1212
--red2: #d50027;
1313
--red3: #ca5010;
14-
--green1: #43853d;
14+
--green1: #3e7a38;
1515
--green2: #5a8147;
1616
--green3: #64de64;
1717
--green4: #99cc7d;

0 commit comments

Comments
 (0)