View raw

1 /* ========================================================================== 2 Syntax highlighting theme: Zenburn Dark (high contrast variant) 3 4 Based on the Zenburn palette by Jani Nurminen, with a darker background 5 for improved readability on dark page backgrounds. 6 7 Background #2c2c2c | Foreground #dcdccc 8 9 Palette: 10 red #cc9393 | bright red #dca3a3 11 green #7f9f7f | bright green #bfebbf 12 yellow #f0dfaf | dim yellow #e0cf9f 13 blue #8cd0d3 | dim blue #7cb8bb 14 orange #dfaf8f | bright orange #ecbcbc 15 magenta #dc8cc3 | dim magenta #c0bed1 16 cyan #93e0e3 17 fg+1 #ffffef | fg+2 #e0e0d0 18 bg+1 #3f3f3f | bg+2 #4f4f4f 19 comment #7f9f7f (green, italic) 20 ========================================================================== */ 21 22 /* Keywords: control flow, storage, operators */ 23 [class*="-keyword"] { 24 color: #f0dfaf; 25 } 26 27 [class*="-storage-type"], 28 [class*="-storage-modifier"] { 29 color: #f0dfaf; 30 } 31 32 /* Strings */ 33 [class*="-string"] { 34 color: #cc9393; 35 } 36 37 /* Comments */ 38 [class*="-comment"] { 39 color: #7f9f7f; 40 font-style: italic; 41 } 42 43 /* Constants: numbers, booleans, language constants */ 44 [class*="-constant-numeric"], 45 [class*="-constant-language"] { 46 color: #8cd0d3; 47 } 48 49 [class*="-constant-character"] { 50 color: #dca3a3; 51 } 52 53 /* Entity names: functions, classes, types, tags */ 54 [class*="-entity-name-function"] { 55 color: #93e0e3; 56 } 57 58 [class*="-entity-name-type"] { 59 color: #dfaf8f; 60 } 61 62 [class*="-entity-name-tag"] { 63 color: #e0cf9f; 64 } 65 66 [class*="-entity-other-attribute-name"] { 67 color: #8cd0d3; 68 } 69 70 /* Support: built-in functions, types */ 71 [class*="-support-function"] { 72 color: #93e0e3; 73 } 74 75 [class*="-support-type"] { 76 color: #dfaf8f; 77 } 78 79 [class*="-support-class"] { 80 color: #dfaf8f; 81 } 82 83 /* Variables */ 84 [class*="-variable-language"], 85 [class*="-variable-other-constant"] { 86 color: #8cd0d3; 87 } 88 89 [class*="-variable-parameter"] { 90 color: #dcdccc; 91 } 92 93 /* Punctuation — subdued foreground */ 94 [class*="-punctuation"] { 95 color: #dcdccc; 96 } 97 98 /* Meta — structural, inherits from parent or children */ 99 [class*="-meta"] { 100 /* no color override */ 101 } 102 103 /* Markup (markdown, HTML) */ 104 [class*="-markup-heading"] { 105 color: #dfaf8f; 106 font-weight: bold; 107 } 108 109 [class*="-markup-bold"] { 110 color: #f0dfaf; 111 font-weight: bold; 112 } 113 114 [class*="-markup-italic"] { 115 color: #8cd0d3; 116 font-style: italic; 117 } 118 119 [class*="-markup-inline-raw"], 120 [class*="-markup-fenced-code"] { 121 color: #93e0e3; 122 } 123 124 [class*="-markup-deleted"] { 125 color: #dca3a3; 126 background-color: rgba(220, 163, 163, 0.1); 127 } 128 129 [class*="-markup-inserted"] { 130 color: #bfebbf; 131 background-color: rgba(127, 159, 127, 0.12); 132 } 133 134 /* Diff specific */ 135 [class*="-punctuation-definition-inserted"], 136 [class*="-markup-inserted"] { 137 color: #bfebbf; 138 } 139 140 [class*="-punctuation-definition-deleted"], 141 [class*="-markup-deleted"] { 142 color: #dca3a3; 143 } 144