0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-27 22:16:50 +01:00
nodejs/doc/api_assets/hljs.css
Ajay Poshak 9ff555b7a2 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-07 14:22:07 +01:00

48 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);
}