Skip to content

Commit f30dbf7

Browse files
authored
add nnfx theme (#2571)
1 parent 3ff5169 commit f30dbf7

File tree

3 files changed

+112
-0
lines changed

3 files changed

+112
-0
lines changed

AUTHORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -286,3 +286,4 @@ Contributors:
286286
- G8t Guy <[email protected]>
287287
- Samia Ali <[email protected]>
288288
- Alexandre Grison <[email protected]>
289+
- Jim Mason <[email protected]>

CHANGES.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Version 10.1.0 (in progress)
22

3+
New themes:
4+
5+
- *NNFX* by [Jim Mason][]
6+
37
Parser Engine:
48

59
- (parser) Now escapes quotes in text content when escaping HTML (#2564) [Josh Goebel][]
@@ -53,6 +57,7 @@ Language Improvements:
5357
[Sergey Prokhorov]: https://github.com/seriyps
5458
[Nils Knappmeier]: https://github.com/nknapp
5559
[Martin (Lhoerion)]: https://github.com/Lhoerion
60+
[Jim Mason]: https://github.com/RocketMan
5661

5762

5863
## Version 10.0.2

src/styles/nnfx.css

+106
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
/**
2+
* nnfx - a theme inspired by Netscape Navigator/Firefox
3+
*
4+
* @version 1.0.0
5+
* @author (c) 2020 Jim Mason <[email protected]>
6+
* @license https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0
7+
*/
8+
9+
.hljs {
10+
display: block;
11+
overflow-x: auto;
12+
padding: 0.5em;
13+
background: #fff;
14+
color: #000;
15+
}
16+
17+
.xml .hljs-meta {
18+
font-weight: bold;
19+
font-style: italic;
20+
color: #48b;
21+
}
22+
23+
.hljs-comment,
24+
.hljs-quote {
25+
font-style: italic;
26+
color: #070;
27+
}
28+
29+
.hljs-name,
30+
.hljs-keyword {
31+
color: #808;
32+
}
33+
34+
.hljs-name,
35+
.hljs-attr {
36+
font-weight: bold;
37+
}
38+
39+
.hljs-string {
40+
font-weight: normal;
41+
}
42+
43+
.hljs-variable,
44+
.hljs-template-variable {
45+
color: #477;
46+
}
47+
48+
.hljs-code,
49+
.hljs-string,
50+
.hljs-meta-string,
51+
.hljs-number,
52+
.hljs-regexp,
53+
.hljs-link {
54+
color: #00f;
55+
}
56+
57+
.hljs-title,
58+
.hljs-symbol,
59+
.hljs-bullet,
60+
.hljs-built_in,
61+
.hljs-builtin-name {
62+
color: #f40;
63+
}
64+
65+
.hljs-section,
66+
.hljs-meta {
67+
color: #642;
68+
}
69+
70+
.hljs-class .hljs-title,
71+
.hljs-type {
72+
color: #639;
73+
}
74+
75+
.hljs-function .hljs-title,
76+
.hljs-attr,
77+
.hljs-subst {
78+
color: #000;
79+
}
80+
81+
.hljs-formula {
82+
background-color: #eee;
83+
font-style: italic;
84+
}
85+
86+
.hljs-addition {
87+
background-color: #beb;
88+
}
89+
90+
.hljs-deletion {
91+
background-color: #fbb;
92+
}
93+
94+
.hljs-selector-id,
95+
.hljs-selector-class {
96+
color: #964;
97+
}
98+
99+
.hljs-doctag,
100+
.hljs-strong {
101+
font-weight: bold;
102+
}
103+
104+
.hljs-emphasis {
105+
font-style: italic;
106+
}

0 commit comments

Comments
 (0)