theme-dracula.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. ace.define("ace/theme/dracula",[], function(require, exports, module) {
  2. exports.isDark = true;
  3. exports.cssClass = "ace-dracula";
  4. exports.cssText = "\
  5. .ace-dracula .ace_gutter {\
  6. background: #282a36;\
  7. color: rgb(144,145,148)\
  8. }\
  9. .ace-dracula .ace_print-margin {\
  10. width: 1px;\
  11. background: #44475a\
  12. }\
  13. .ace-dracula {\
  14. background-color: #282a36;\
  15. color: #f8f8f2\
  16. }\
  17. .ace-dracula .ace_cursor {\
  18. color: #f8f8f0\
  19. }\
  20. .ace-dracula .ace_marker-layer .ace_selection {\
  21. background: #44475a\
  22. }\
  23. .ace-dracula.ace_multiselect .ace_selection.ace_start {\
  24. box-shadow: 0 0 3px 0px #282a36;\
  25. border-radius: 2px\
  26. }\
  27. .ace-dracula .ace_marker-layer .ace_step {\
  28. background: rgb(198, 219, 174)\
  29. }\
  30. .ace-dracula .ace_marker-layer .ace_bracket {\
  31. margin: -1px 0 0 -1px;\
  32. border: 1px solid #a29709\
  33. }\
  34. .ace-dracula .ace_marker-layer .ace_active-line {\
  35. background: #44475a\
  36. }\
  37. .ace-dracula .ace_gutter-active-line {\
  38. background-color: #44475a\
  39. }\
  40. .ace-dracula .ace_marker-layer .ace_selected-word {\
  41. box-shadow: 0px 0px 0px 1px #a29709;\
  42. border-radius: 3px;\
  43. }\
  44. .ace-dracula .ace_fold {\
  45. background-color: #50fa7b;\
  46. border-color: #f8f8f2\
  47. }\
  48. .ace-dracula .ace_keyword {\
  49. color: #ff79c6\
  50. }\
  51. .ace-dracula .ace_constant.ace_language {\
  52. color: #bd93f9\
  53. }\
  54. .ace-dracula .ace_constant.ace_numeric {\
  55. color: #bd93f9\
  56. }\
  57. .ace-dracula .ace_constant.ace_character {\
  58. color: #bd93f9\
  59. }\
  60. .ace-dracula .ace_constant.ace_character.ace_escape {\
  61. color: #ff79c6\
  62. }\
  63. .ace-dracula .ace_constant.ace_other {\
  64. color: #bd93f9\
  65. }\
  66. .ace-dracula .ace_support.ace_function {\
  67. color: #8be9fd\
  68. }\
  69. .ace-dracula .ace_support.ace_constant {\
  70. color: #6be5fd\
  71. }\
  72. .ace-dracula .ace_support.ace_class {\
  73. font-style: italic;\
  74. color: #66d9ef\
  75. }\
  76. .ace-dracula .ace_support.ace_type {\
  77. font-style: italic;\
  78. color: #66d9ef\
  79. }\
  80. .ace-dracula .ace_storage {\
  81. color: #ff79c6\
  82. }\
  83. .ace-dracula .ace_storage.ace_type {\
  84. font-style: italic;\
  85. color: #8be9fd\
  86. }\
  87. .ace-dracula .ace_invalid {\
  88. color: #F8F8F0;\
  89. background-color: #ff79c6\
  90. }\
  91. .ace-dracula .ace_invalid.ace_deprecated {\
  92. color: #F8F8F0;\
  93. background-color: #bd93f9\
  94. }\
  95. .ace-dracula .ace_string {\
  96. color: #f1fa8c\
  97. }\
  98. .ace-dracula .ace_comment {\
  99. color: #6272a4\
  100. }\
  101. .ace-dracula .ace_variable {\
  102. color: #50fa7b\
  103. }\
  104. .ace-dracula .ace_variable.ace_parameter {\
  105. font-style: italic;\
  106. color: #ffb86c\
  107. }\
  108. .ace-dracula .ace_entity.ace_other.ace_attribute-name {\
  109. color: #50fa7b\
  110. }\
  111. .ace-dracula .ace_entity.ace_name.ace_function {\
  112. color: #50fa7b\
  113. }\
  114. .ace-dracula .ace_entity.ace_name.ace_tag {\
  115. color: #ff79c6\
  116. }\
  117. .ace-dracula .ace_invisible {\
  118. color: #626680;\
  119. }\
  120. .ace-dracula .ace_indent-guide {\
  121. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y\
  122. }";
  123. exports.$selectionColorConflict = true;
  124. var dom = require("../lib/dom");
  125. dom.importCssString(exports.cssText, exports.cssClass);
  126. });
  127. (function() {
  128. ace.require(["ace/theme/dracula"], function(m) {
  129. if (typeof module == "object" && typeof exports == "object" && module) {
  130. module.exports = m;
  131. }
  132. });
  133. })();