Skip to content

Instantly share code, notes, and snippets.

@pongo
Created March 12, 2015 23:02
Show Gist options
  • Select an option

  • Save pongo/d6cf3e4dbd3e3623e545 to your computer and use it in GitHub Desktop.

Select an option

Save pongo/d6cf3e4dbd3e3623e545 to your computer and use it in GitHub Desktop.
Monokai theme for http://js2.coffee/
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("js2.coffee") {
.code-box:not(.focus) .CodeMirror, .code-box-popup:not(.focus) .CodeMirror {
opacity: 1 !important;
}
/* Based on Sublime Text's Monokai theme */
html, .cm-s-ambiance.CodeMirror {background: #272822; color: #f8f8f2;}
.cm-s-ambiance div.CodeMirror-selected {background: #49483E !important;}
.cm-s-ambiance.CodeMirror ::-moz-selection { background: rgba(73, 72, 62, .99); }
.cm-s-ambiance .CodeMirror-gutters {background: #272822; border-right: 0px;}
.cm-s-ambiance .CodeMirror-guttermarker { color: white; }
.cm-s-ambiance .CodeMirror-guttermarker-subtle { color: #d0d0d0; }
.cm-s-ambiance .CodeMirror-linenumber {color: #d0d0d0;}
.cm-s-ambiance .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}
.cm-s-ambiance span.cm-comment {color: #75715e;}
.cm-s-ambiance span.cm-atom {color: #ae81ff;}
.cm-s-ambiance span.cm-number {color: #ae81ff;}
.cm-s-ambiance span.cm-property, .cm-s-ambiance span.cm-attribute {color: #a6e22e;}
.cm-s-ambiance span.cm-keyword {color: #f92672;}
.cm-s-ambiance span.cm-string {color: #e6db74;}
.cm-s-ambiance span.cm-variable {color: #a6e22e;}
.cm-s-ambiance span.cm-variable-2 {color: #9effff;}
.cm-s-ambiance span.cm-def {color: #fd971f;}
.cm-s-ambiance span.cm-bracket {color: #f8f8f2;}
.cm-s-ambiance span.cm-tag {color: #f92672;}
.cm-s-ambiance span.cm-link {color: #ae81ff;}
.cm-s-ambiance span.cm-error {background: #f92672; color: #f8f8f0;}
.cm-s-ambiance .CodeMirror-activeline-background {background: #373831 !important;}
.cm-s-ambiance .CodeMirror-matchingbracket {
text-decoration: underline;
color: white !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment