Skip to content

Commit

Permalink
doc: fix color contrast issue in light mode
Browse files Browse the repository at this point in the history
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 <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>
  • Loading branch information
Trott authored and danielleadams committed Aug 16, 2021
1 parent 0be15ce commit 4700f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api_assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
--red1: #d60027;
--red2: #d50027;
--red3: #ca5010;
--green1: #43853d;
--green1: #3e7a38;
--green2: #5a8147;
--green3: #64de64;
--green4: #99cc7d;
Expand Down

0 comments on commit 4700f1e

Please sign in to comment.