node/doc/api_assets/hljs.css
Ajay Poshak a956fb3fdd
doc: add dark mode
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/36313
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2021-01-12 07:10:48 -05:00

47 lines
659 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;
}
.dark-mode .hljs-number,
.dark-mode .hljs-string,
.dark-mode .hljs-regexp {
color: var(--green4);
}
.dark-mode .hljs-keyword,
.dark-mode .hljs-attribute {
color: #66d9ef;
}
.dark-mode .hljs-doctag .hljs-type,
.dark-mode .hljs-doctag .hljs-variable,
.dark-mode .hljs-comment {
color: var(--gray7);
}