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: #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 committed Sep 6, 2020
1 parent 53f7d3e commit 2b2208e
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 2b2208e

Please sign in to comment.