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

Added new theme: Solarized Dark #129

Merged
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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,6 @@ Thank you so much for contributing!!

* [__Z-Touch__](themes/prism-z-touch.css) (by [Zeel Codder](https://github.com/zeel-codder))<br />
[![Z-Touch](screenshots/prism-z-touch.png)](themes/prism-z-touch.css)

* [__Solarized Dark Atom__](themes/prism-holi-theme.css) (by [Pranay Chauhan](https://github.com/PranayChauhan2516), based on [Solarized Dark Theme by Atom](https://github.com/atom/solarized-dark-syntax))<br />
[![Solarized Dark Atom](screenshots/prism-solarized-dark-atom.png)](themes/prism-solarized-dark-atom.css)
Binary file added screenshots/prism-solarized-dark-atom.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
143 changes: 143 additions & 0 deletions themes/prism-solarized-dark-atom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
/**
* Solarized dark atom theme for `prism.js`
* Based on Atom's `atom-dark` theme: https://github.com/atom/atom-dark-syntax
* @author Pranay Chauhan (@PranayChauhan2516)
*/

code[class*="language-"],
pre[class*="language-"] {
color: #839496;
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
font-family: Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
line-height: 1.5;

-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;

-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}

/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
border-radius: 0.3em;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #002b36;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #586e75;
}

.token.punctuation {
color: #93a1a1;
}

.namespace {
opacity: .7;
}

.token.property,
.token.keyword,
.token.tag {
color: #268bd2;
}

.token.class-name {
color: #FFFFB6;
text-decoration: underline;
}

.token.boolean,
.token.constant {
color: #b58900;
}

.token.symbol,
.token.deleted {
color: #dc322f;
}

.token.number {
color: #859900;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #859900;
}

.token.variable {
color: #268bd2;
}

.token.operator {
color: #EDEDED;
}

.token.function {
color: #268bd2;
}

.token.regex {
color: #E9C062;
}

.token.important {
color: #fd971f;
}

.token.entity {
color: #FFFFB6;
cursor: help;
}

.token.url {
color: #96CBFE;
}

.language-css .token.string,
.style .token.string {
color: #87C38A;
}

.token.important,
.token.bold {
font-weight: bold;
}

.token.italic {
font-style: italic;
}

.token.atrule,
.token.attr-value {
color: #F9EE98;
}