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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
  • Loading branch information
Trott authored and richardlau committed Sep 7, 2020
1 parent 6d0d5b2 commit 83a3e3b
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 83a3e3b

Please sign in to comment.