Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.

Commit 8836310

Browse files
committed
feat(error): syntax and error highlighting
1 parent 79b04bc commit 8836310

13 files changed

+1310
-138
lines changed

bin/ion-dev.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
"@types/ws": "^0.0.34",
7575
"conventional-changelog-cli": "1.2.0",
7676
"github": "0.2.4",
77-
"highlight.js": "9.8.0",
7877
"ionic-cz-conventional-changelog": "1.0.0",
7978
"jasmine": "2.5.2",
8079
"mock-fs": "3.11.0",

src/highlight/github-gist.scss

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/**
2+
* GitHub Gist Theme
3+
* Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
4+
* https://highlightjs.org/
5+
*/
6+
7+
.hljs-comment,
8+
.hljs-meta {
9+
color: #969896;
10+
}
11+
12+
.hljs-string,
13+
.hljs-variable,
14+
.hljs-template-variable,
15+
.hljs-strong,
16+
.hljs-emphasis,
17+
.hljs-quote {
18+
color: #df5000;
19+
}
20+
21+
.hljs-keyword,
22+
.hljs-selector-tag,
23+
.hljs-type {
24+
color: #a71d5d;
25+
}
26+
27+
.hljs-literal,
28+
.hljs-symbol,
29+
.hljs-bullet,
30+
.hljs-attribute {
31+
color: #0086b3;
32+
}
33+
34+
.hljs-section,
35+
.hljs-name {
36+
color: #63a35c;
37+
}
38+
39+
.hljs-tag {
40+
color: #333333;
41+
}
42+
43+
.hljs-title,
44+
.hljs-attr,
45+
.hljs-selector-id,
46+
.hljs-selector-class,
47+
.hljs-selector-attr,
48+
.hljs-selector-pseudo {
49+
color: #795da3;
50+
}
51+
52+
.hljs-addition {
53+
color: #55a532;
54+
background-color: #eaffea;
55+
}
56+
57+
.hljs-deletion {
58+
color: #bd2c00;
59+
background-color: #ffecec;
60+
}
61+
62+
.hljs-link {
63+
text-decoration: underline;
64+
}

0 commit comments

Comments
 (0)