From 23788bca67f188dd00d273804a65d4796b86d78c Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 29 Jun 2016 15:13:24 +0200 Subject: [PATCH] add 'ansuz' theme because I'm horribly vain --- www/code/theme/ansuz.css | 87 ++++++++++++++++++++++++++++++++++++++++ www/code/themes.js | 1 + 2 files changed, 88 insertions(+) create mode 100644 www/code/theme/ansuz.css diff --git a/www/code/theme/ansuz.css b/www/code/theme/ansuz.css new file mode 100644 index 000000000..59ea1e889 --- /dev/null +++ b/www/code/theme/ansuz.css @@ -0,0 +1,87 @@ +.cm-s-ansuz.CodeMirror, +.cm-s-ansuz .CodeMirror-gutters { + background-color: #2E3436 !important; + color: #719FC9 !important; + border: none; +} +.cm-s-ansuz .CodeMirror-gutters { + color: #2E3436; +} +.cm-s-ansuz .CodeMirror-cursor { + border-left: solid thin #f8f8f0; +} +.cm-s-ansuz .CodeMirror-linenumber { + color: #8AE234; +} +.cm-s-ansuz.CodeMirror-focused div.CodeMirror-selected { + background: rgba(255, 255, 255, 0.1); +} +.cm-s-ansuz .CodeMirror-line::selection, +.cm-s-ansuz .cm-s-transition .CodeMirror-line > span::selection, +.cm-s-ansuz .cm-s-transition .CodeMirror-line > span > span::selection { + background: rgba(255, 255, 255, 0.1); +} +.cm-s-ansuz .CodeMirror-line::-moz-selection, +.cm-s-ansuz .cm-s-transition .CodeMirror-line > span::-moz-selection, +.cm-s-ansuz .cm-s-transition .CodeMirror-line > span > span::-moz-selection { + background: rgba(255, 255, 255, 0.1); +} +.cm-s-ansuz span.cm-comment { + color: #50FA7B; +} +.cm-s-ansuz span.cm-string, +.cm-s-ansuz .cm-s-transition span.cm-string-2 { + color: #f1fa8c; +} +.cm-s-ansuz span.cm-number { + color: #bd93f9; +} +.cm-s-ansuz span.cm-variable { + color: #9292e4; +} +.cm-s-ansuz span.cm-variable-2 { + color: white; +} +.cm-s-ansuz span.cm-def { + color: #ffb86c; +} +.cm-s-ansuz span.cm-keyword { + color: ff79c6; +} +.cm-s-ansuz span.cm-operator { + color: ff79c6; +} +.cm-s-ansuz span.cm-keyword { + color: ff79c6; +} +.cm-s-ansuz span.cm-atom { + color: #bd93f9; +} +.cm-s-ansuz span.cm-meta { + color: #719FC9; +} +.cm-s-ansuz span.cm-tag { + color: ff79c6; +} +.cm-s-ansuz span.cm-attribute { + color: #50fa7b; +} +.cm-s-ansuz span.cm-qualifier { + color: #50fa7b; +} +.cm-s-ansuz span.cm-property { + color: #66d9ef; +} +.cm-s-ansuz span.cm-builtin { + color: #50fa7b; +} +.cm-s-ansuz span.cm-variable-3 { + color: #50fa7b; +} +.cm-s-ansuz .CodeMirror-activeline-background { + background: rgba(255, 255, 255, 0.1); +} +.cm-s-ansuz .CodeMirror-matchingbracket { + text-decoration: underline; + color: white !important; +} diff --git a/www/code/themes.js b/www/code/themes.js index 237459ff5..c58c65bd8 100644 --- a/www/code/themes.js +++ b/www/code/themes.js @@ -5,6 +5,7 @@ define(function () { "abcdef abcdef.css", "ambiance-mobile ambiance-mobile.css", "ambiance ambiance.css", + "ansuz ansuz.css", "base16-dark base16-dark.css", "base16-light base16-light.css", "bespin bespin.css",