Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nnfx theme #2571

Merged
merged 3 commits into from
May 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;
}