night-owl.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. /*
  2. Night Owl for highlight.js (c) Carl Baxter <carl@cbax.tech>
  3. An adaptation of Sarah Drasner's Night Owl VS Code Theme
  4. https://github.com/sdras/night-owl-vscode-theme
  5. Copyright (c) 2018 Sarah Drasner
  6. Permission is hereby granted, free of charge, to any person obtaining a copy
  7. of this software and associated documentation files (the "Software"), to deal
  8. in the Software without restriction, including without limitation the rights
  9. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  10. copies of the Software, and to permit persons to whom the Software is
  11. furnished to do so, subject to the following conditions:
  12. The above copyright notice and this permission notice shall be included in all
  13. copies or substantial portions of the Software.
  14. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  19. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  20. SOFTWARE.
  21. */
  22. .hljs {
  23. display: block;
  24. overflow-x: auto;
  25. padding: 0.5em;
  26. background: #011627;
  27. color: #d6deeb;
  28. }
  29. /* General Purpose */
  30. .hljs-keyword {
  31. color: #c792ea;
  32. font-style: italic;
  33. }
  34. .hljs-built_in {
  35. color: #addb67;
  36. font-style: italic;
  37. }
  38. .hljs-type {
  39. color: #82aaff;
  40. }
  41. .hljs-literal {
  42. color: #ff5874;
  43. }
  44. .hljs-number {
  45. color: #F78C6C;
  46. }
  47. .hljs-regexp {
  48. color: #5ca7e4;
  49. }
  50. .hljs-string {
  51. color: #ecc48d;
  52. }
  53. .hljs-subst {
  54. color: #d3423e;
  55. }
  56. .hljs-symbol {
  57. color: #82aaff;
  58. }
  59. .hljs-class {
  60. color: #ffcb8b;
  61. }
  62. .hljs-function {
  63. color: #82AAFF;
  64. }
  65. .hljs-title {
  66. color: #DCDCAA;
  67. font-style: italic;
  68. }
  69. .hljs-params {
  70. color: #7fdbca;
  71. }
  72. /* Meta */
  73. .hljs-comment {
  74. color: #637777;
  75. font-style: italic;
  76. }
  77. .hljs-doctag {
  78. color: #7fdbca;
  79. }
  80. .hljs-meta {
  81. color: #82aaff;
  82. }
  83. .hljs-meta-keyword {
  84. color: #82aaff;
  85. }
  86. .hljs-meta-string {
  87. color: #ecc48d;
  88. }
  89. /* Tags, attributes, config */
  90. .hljs-section {
  91. color: #82b1ff;
  92. }
  93. .hljs-tag,
  94. .hljs-name,
  95. .hljs-builtin-name {
  96. color: #7fdbca;
  97. }
  98. .hljs-attr {
  99. color: #7fdbca;
  100. }
  101. .hljs-attribute {
  102. color: #80cbc4;
  103. }
  104. .hljs-variable {
  105. color: #addb67;
  106. }
  107. /* Markup */
  108. .hljs-bullet {
  109. color: #d9f5dd;
  110. }
  111. .hljs-code {
  112. color: #80CBC4;
  113. }
  114. .hljs-emphasis {
  115. color: #c792ea;
  116. font-style: italic;
  117. }
  118. .hljs-strong {
  119. color: #addb67;
  120. font-weight: bold;
  121. }
  122. .hljs-formula {
  123. color: #c792ea;
  124. }
  125. .hljs-link {
  126. color: #ff869a;
  127. }
  128. .hljs-quote {
  129. color: #697098;
  130. font-style: italic;
  131. }
  132. /* CSS */
  133. .hljs-selector-tag {
  134. color: #ff6363;
  135. }
  136. .hljs-selector-id {
  137. color: #fad430;
  138. }
  139. .hljs-selector-class {
  140. color: #addb67;
  141. font-style: italic;
  142. }
  143. .hljs-selector-attr,
  144. .hljs-selector-pseudo {
  145. color: #c792ea;
  146. font-style: italic;
  147. }
  148. /* Templates */
  149. .hljs-template-tag {
  150. color: #c792ea;
  151. }
  152. .hljs-template-variable {
  153. color: #addb67;
  154. }
  155. /* diff */
  156. .hljs-addition {
  157. color: #addb67ff;
  158. font-style: italic;
  159. }
  160. .hljs-deletion {
  161. color: #EF535090;
  162. font-style: italic;
  163. }