From 83a3e3b68180e677de59ade46db2fa46584c86d9 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 4 Sep 2020 21:59:38 -0700 Subject: [PATCH] doc: update syntax highlighting color for accessibility Previous contrast with background was 3.65, failing WCAG AA. This change brings contrast to 4.50, passing WCAG AA. PR-URL: https://github.com/nodejs/node/pull/35063 Reviewed-By: Derek Lewis Reviewed-By: Luigi Pinca Reviewed-By: Myles Borins --- doc/api_assets/hljs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api_assets/hljs.css b/doc/api_assets/hljs.css index e944148b835ee2..026a93e194efc3 100644 --- a/doc/api_assets/hljs.css +++ b/doc/api_assets/hljs.css @@ -15,7 +15,7 @@ .hljs-string, .hljs-regexp, .hljs-number { - color: #E54305; + color: #cf350d; } .hljs-doctag {