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

(themes) add nnfx-dark theme #2584

Merged
merged 1 commit into from
Jun 1, 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
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 <[email protected]>
* @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 {
joshgoebel marked this conversation as resolved.
Show resolved Hide resolved
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;
}