0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-24 12:10:08 +01:00
nodejs/doc/api_assets/hljs.css
Rich Trott 2b2208e01a 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 <DerekNonGeneric@inf.is>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2020-09-06 11:17:24 -07:00

31 lines
351 B
CSS

.hljs {
font-weight: normal;
font-style: normal;
}
.hljs-symbol {
color: #333;
}
.hljs-attribute,
.hljs-keyword {
color: #338;
}
.hljs-string,
.hljs-regexp,
.hljs-number {
color: #cf350d;
}
.hljs-doctag {
color: #040404;
}
.hljs-doctag .hljs-type,
.hljs-doctag .hljs-variable,
.hljs-comment {
color: #666;
font-weight: lighter;
}