UNPKG

@phoenix-plugin-registry/solarized-dark-theme

Version:
204 lines (173 loc) 3.4 kB
/* Define some variables used in multiple places */ @base03: #002b36; @base02: #073642; @base01: #586e75; @base00: #657b83; @base0: #839496; @base1: #93a1a1; @base2: #eee8d5; @base3: #fdf6e3; @yellow: #b58900; @orange: #cb4b16; @red: #dc322f; @magenta: #d33682; @violet: #6c71c4; @blue: #268bd2; @cyan: #2aa198; @green: #859900; /* Code Styling */ .CodeMirror, .CodeMirror-scroll { background-color: @base03; color: @base0; } .CodeMirror-focused .CodeMirror-activeline-background { background: @base02; } &.show-line-padding .CodeMirror-focused .CodeMirror-activeline-background { box-shadow: inset 15px 0 0 0 @base02; } .CodeMirror-focused .CodeMirror-activeline { .CodeMirror-gutter-elt { background: rgba(0, 0, 0, 0.2); color: @base0; } .inline-widget .CodeMirror-gutter-elt { color: @base0; } } .cm-atom, .cm-string, .cm-string-2, .cm-hr { color: @cyan; } .cm-number, .cm-attribute, .cm-plus { color: @green; } .cm-def, .cm-property { color: @violet; } .cm-variable-2, .cm-variable-3 { color: @base0; } .cm-comment { color: @base01; } .cm-error, .cm-minus, .cm-builtin { color: @red; } .cm-header, .cm-variable { color: @magenta; } .cm-link, { color: @orange; text-decoration: none; } .cm-rangeinfo, .cm-operator { color: @yellow; } .cm-keyword, .cm-qualifier, .cm-tag, .cm-meta, .cm-quote, .cm-bracket { color: @blue; } /* Extra CSS */ .CodeMirror-searching { background-color: @green; &.searching-current-match { background-color: @magenta; } } .CodeMirror-cursor { border-left: 1px solid @base1 !important; } .CodeMirror-gutters { background-color: @base03; border-right: none; } .CodeMirror-linenumber { color: @base01; } .CodeMirror .CodeMirror-selected { background: @base01; } .CodeMirror-focused .CodeMirror-selected { background: @base02; } .CodeMirror-matchingbracket { background-color: @magenta; color: @base02 !important; font-weight: bold; } .CodeMirror-matchingtag { background-color: @base00; color: @base03 !important; } .CodeMirror-overwrite .CodeMirror-cursor { border-left: none !important; border-bottom: 1px solid @green; } /* Extra stuff */ .CodeMirror { .CodeMirror { background: transparent; } .CodeMirror .CodeMirror-gutters { background: transparent; border-right: none; } .CodeMirror .CodeMirror-activeline-background { background: transparent; } .CodeMirror .CodeMirror-activeline .CodeMirror-gutter-elt { background: transparent; color: @base0; } .CodeMirror-focused .CodeMirror-activeline-background { background: @base02; } .CodeMirror-focused .CodeMirror-activeline { .CodeMirror-gutter-elt { background: rgba(0, 0, 0, 0.2); color: @base0; } } } .CodeMirror-foldgutter-open:after { color: @base01; } .CodeMirror-foldgutter-folded:after { color: @base00; } .CodeMirror.over-gutter, .CodeMirror-activeline { .CodeMirror-foldgutter-open:after { color: @base0; } } .CodeMirror-foldmarker { border-color: @base03; color: @base03; background-color: @base00; } /* Non-editor styling */ .image-view, .not-editor { background-color: @base03; } .view-pane .image-view { color: @base0; }