Skip to content

Commit

Permalink
add nnfx theme (#2571)
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan authored May 27, 2020
1 parent 3ff5169 commit f30dbf7
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,3 +286,4 @@ Contributors:
- G8t Guy <g8tguy@g8tguy.com>
- Samia Ali <samiaab1990@gmail.com>
- Alexandre Grison <a.grison@gmail.com>
- Jim Mason <jmason@ibinx.com>
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Version 10.1.0 (in progress)

New themes:

- *NNFX* by [Jim Mason][]

Parser Engine:

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


## Version 10.0.2
Expand Down
106 changes: 106 additions & 0 deletions src/styles/nnfx.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/**
* nnfx - a theme inspired by Netscape Navigator/Firefox
*
* @version 1.0.0
* @author (c) 2020 Jim Mason <jmason@ibinx.com>
* @license https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0
*/

.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #fff;
color: #000;
}

.xml .hljs-meta {
font-weight: bold;
font-style: italic;
color: #48b;
}

.hljs-comment,
.hljs-quote {
font-style: italic;
color: #070;
}

.hljs-name,
.hljs-keyword {
color: #808;
}

.hljs-name,
.hljs-attr {
font-weight: bold;
}

.hljs-string {
font-weight: normal;
}

.hljs-variable,
.hljs-template-variable {
color: #477;
}

.hljs-code,
.hljs-string,
.hljs-meta-string,
.hljs-number,
.hljs-regexp,
.hljs-link {
color: #00f;
}

.hljs-title,
.hljs-symbol,
.hljs-bullet,
.hljs-built_in,
.hljs-builtin-name {
color: #f40;
}

.hljs-section,
.hljs-meta {
color: #642;
}

.hljs-class .hljs-title,
.hljs-type {
color: #639;
}

.hljs-function .hljs-title,
.hljs-attr,
.hljs-subst {
color: #000;
}

.hljs-formula {
background-color: #eee;
font-style: italic;
}

.hljs-addition {
background-color: #beb;
}

.hljs-deletion {
background-color: #fbb;
}

.hljs-selector-id,
.hljs-selector-class {
color: #964;
}

.hljs-doctag,
.hljs-strong {
font-weight: bold;
}

.hljs-emphasis {
font-style: italic;
}

0 comments on commit f30dbf7

Please sign in to comment.