Skip to content

Commit c7916c4

Browse files
authored
Merge pull request #225 from integer32llc/update-hljs
Update to highlight.js 9.10.0
2 parents 677fa42 + 56f597b commit c7916c4

File tree

2 files changed

+25
-62
lines changed

2 files changed

+25
-62
lines changed

src/theme/highlight.css

Lines changed: 22 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -12,96 +12,59 @@
1212

1313

1414
/* Atelier-Dune Comment */
15-
.hljs-comment {
15+
.hljs-comment,
16+
.hljs-quote {
1617
color: #AAA;
1718
}
1819

1920
/* Atelier-Dune Red */
2021
.hljs-variable,
21-
22+
.hljs-template-variable,
23+
.hljs-attribute,
2224
.hljs-tag,
25+
.hljs-name,
2326
.hljs-regexp,
27+
.hljs-link,
2428
.hljs-name,
25-
.ruby .hljs-constant,
26-
.xml .hljs-tag .hljs-title,
27-
.xml .hljs-pi,
28-
.xml .hljs-doctype,
29-
.html .hljs-doctype,
30-
.css .hljs-id,
31-
.css .hljs-class,
32-
.css .hljs-pseudo {
29+
.hljs-selector-id,
30+
.hljs-selector-class {
3331
color: #d73737;
3432
}
3533

3634
/* Atelier-Dune Orange */
3735
.hljs-number,
38-
.hljs-preprocessor,
36+
.hljs-meta,
3937
.hljs-built_in,
38+
.hljs-builtin-name,
4039
.hljs-literal,
41-
.hljs-params,
42-
.hljs-attribute,
43-
.hljs-constant {
40+
.hljs-type,
41+
.hljs-params {
4442
color: #b65611;
4543
}
4644

47-
/* Atelier-Dune Yellow */
48-
.ruby .hljs-class .hljs-title,
49-
.css .hljs-rule .hljs-attribute {
50-
color: #ae9513;
51-
}
52-
5345
/* Atelier-Dune Green */
5446
.hljs-string,
55-
.hljs-value,
56-
.hljs-inheritance,
57-
.ruby .hljs-symbol,
58-
.xml .hljs-cdata {
59-
color: #2a9292;
60-
}
61-
62-
/* Atelier-Dune Aqua */
63-
.hljs-title,
64-
.css .hljs-hexcolor {
65-
color: #1fad83;
47+
.hljs-symbol,
48+
.hljs-bullet {
49+
color: #60ac39;
6650
}
6751

6852
/* Atelier-Dune Blue */
69-
.hljs-function,
70-
.python .hljs-decorator,
71-
.python .hljs-title,
72-
.ruby .hljs-function .hljs-title,
73-
.ruby .hljs-title .hljs-keyword,
74-
.perl .hljs-sub,
75-
.javascript .hljs-title,
76-
.coffeescript .hljs-title {
53+
.hljs-title,
54+
.hljs-section {
7755
color: #6684e1;
7856
}
7957

8058
/* Atelier-Dune Purple */
8159
.hljs-keyword,
82-
.javascript .hljs-function {
60+
.hljs-selector-tag {
8361
color: #b854d4;
8462
}
8563

86-
.coffeescript .javascript,
87-
.javascript .xml,
88-
.tex .hljs-formula,
89-
.xml .javascript,
90-
.xml .vbscript,
91-
.xml .css,
92-
.xml .hljs-cdata {
93-
opacity: 0.5;
94-
}
95-
96-
/* markdown */
97-
.hljs-header {
98-
color: #A30000;
99-
}
100-
101-
.hljs-link_label {
102-
color: #33CCCC;
64+
.hljs-emphasis {
65+
font-style: italic;
10366
}
10467

105-
.hljs-link_url {
106-
color: #CC66FF;
68+
.hljs-strong {
69+
font-weight: bold;
10770
}

src/theme/highlight.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)