Skip to content

Commit c4c9772

Browse files
authored
(themes) add nnfx-dark theme (#2584)
1 parent debfdf7 commit c4c9772

File tree

2 files changed

+107
-1
lines changed

2 files changed

+107
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
New themes:
44

5-
- *NNFX* by [Jim Mason][]
5+
- *NNFX* and *NNFX-dark* by [Jim Mason][]
66
- *lioshi* by [lioshi][]
77

88
Parser Engine:

src/styles/nnfx-dark.css

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
/**
2+
* nnfx dark - a theme inspired by Netscape Navigator/Firefox
3+
*
4+
* @version 1.0.0
5+
* @author (c) 2020 Jim Mason <jmason@ibinx.com>
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: #333;
14+
color: #fff;
15+
}
16+
17+
.xml .hljs-meta {
18+
font-weight: bold;
19+
font-style: italic;
20+
color: #69f;
21+
}
22+
23+
.hljs-comment,
24+
.hljs-quote {
25+
font-style: italic;
26+
color: #9c6;
27+
}
28+
29+
.hljs-name,
30+
.hljs-keyword {
31+
color: #a7a;
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: #588;
46+
}
47+
48+
.hljs-code,
49+
.hljs-string,
50+
.hljs-meta-string,
51+
.hljs-number,
52+
.hljs-regexp,
53+
.hljs-link {
54+
color: #bce;
55+
}
56+
57+
.hljs-title,
58+
.hljs-symbol,
59+
.hljs-bullet,
60+
.hljs-built_in,
61+
.hljs-builtin-name {
62+
color: #d40;
63+
}
64+
65+
.hljs-section,
66+
.hljs-meta {
67+
color: #a85;
68+
}
69+
70+
.hljs-class .hljs-title,
71+
.hljs-type {
72+
color: #96c;
73+
}
74+
75+
.hljs-function .hljs-title,
76+
.hljs-attr,
77+
.hljs-subst {
78+
color: #fff;
79+
}
80+
81+
.hljs-formula {
82+
background-color: #eee;
83+
font-style: italic;
84+
}
85+
86+
.hljs-addition {
87+
background-color: #797;
88+
}
89+
90+
.hljs-deletion {
91+
background-color: #c99;
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)