Skip to content

Commit 6889266

Browse files
Added dark highlight css
1 parent 4421d43 commit 6889266

File tree

1 file changed

+78
-0
lines changed

1 file changed

+78
-0
lines changed

book/solvers-dark-highlight.css

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
/*
2+
* Solvers Light Theme
3+
*/
4+
5+
/* Comment */
6+
.hljs-comment,
7+
.hljs-quote {
8+
color: #575757;
9+
}
10+
11+
/* Red */
12+
.hljs-variable,
13+
.hljs-template-variable,
14+
.hljs-attribute,
15+
.hljs-tag,
16+
.hljs-name,
17+
.hljs-regexp,
18+
.hljs-link,
19+
.hljs-name,
20+
.hljs-selector-id,
21+
.hljs-selector-class {
22+
color: #d70025;
23+
}
24+
25+
/* Orange */
26+
.hljs-number,
27+
.hljs-meta,
28+
.hljs-built_in,
29+
.hljs-builtin-name,
30+
.hljs-literal,
31+
.hljs-type,
32+
.hljs-params {
33+
color: #b21e00;
34+
}
35+
36+
/* Green */
37+
.hljs-string,
38+
.hljs-symbol,
39+
.hljs-bullet {
40+
color: #008200;
41+
}
42+
43+
/* Blue */
44+
.hljs-title,
45+
.hljs-section {
46+
color: #0030f2;
47+
}
48+
49+
/* Purple */
50+
.hljs-keyword,
51+
.hljs-selector-tag {
52+
color: #9d00ec;
53+
}
54+
55+
.hljs {
56+
display: block;
57+
overflow-x: auto;
58+
background: #004052;
59+
color: #000;
60+
}
61+
62+
.hljs-emphasis {
63+
font-style: italic;
64+
}
65+
66+
.hljs-strong {
67+
font-weight: bold;
68+
}
69+
70+
.hljs-addition {
71+
color: #22863a;
72+
background-color: #f0fff4;
73+
}
74+
75+
.hljs-deletion {
76+
color: #b31d28;
77+
background-color: #ffeef0;
78+
}

0 commit comments

Comments
 (0)