Skip to content

Commit

Permalink
doc: update syntax highlighting color for accessibility
Browse files Browse the repository at this point in the history
Previous contrast with background was 3.65, failing WCAG AA. This change
brings contrast to 4.50, passing WCAG AA.

PR-URL: nodejs#35063
Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
  • Loading branch information
Trott authored and joesepi committed Oct 22, 2020
1 parent cf76ba7 commit 53dd947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api_assets/hljs.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
.hljs-string,
.hljs-regexp,
.hljs-number {
color: #E54305;
color: #cf350d;
}

.hljs-doctag {
Expand Down

0 comments on commit 53dd947

Please sign in to comment.