Skip to content

Commit

Permalink
(themes) add nnfx-dark theme (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
RocketMan authored Jun 1, 2020
1 parent debfdf7 commit c4c9772
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

New themes:

- *NNFX* by [Jim Mason][]
- *NNFX* and *NNFX-dark* by [Jim Mason][]
- *lioshi* by [lioshi][]

Parser Engine:
Expand Down
106 changes: 106 additions & 0 deletions src/styles/nnfx-dark.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/**
* nnfx dark - 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: #333;
color: #fff;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

0 comments on commit c4c9772

Please sign in to comment.