You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

121 lines
2.5 KiB

12 months ago
  1. ace.define("ace/theme/dracula",["require","exports","module","ace/lib/dom"], function(acequire, 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: #e8e8e8\
  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 #3B3A32\
  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. border: 1px solid #44475a\
  42. }\
  43. .ace-dracula .ace_fold {\
  44. background-color: #50fa7b;\
  45. border-color: #f8f8f2\
  46. }\
  47. .ace-dracula .ace_keyword {\
  48. color: #ff79c6\
  49. }\
  50. .ace-dracula .ace_constant.ace_language {\
  51. color: #bd93f9\
  52. }\
  53. .ace-dracula .ace_constant.ace_numeric {\
  54. color: #bd93f9\
  55. }\
  56. .ace-dracula .ace_constant.ace_character {\
  57. color: #bd93f9\
  58. }\
  59. .ace-dracula .ace_constant.ace_character.ace_escape {\
  60. color: #ff79c6\
  61. }\
  62. .ace-dracula .ace_constant.ace_other {\
  63. color: #bd93f9\
  64. }\
  65. .ace-dracula .ace_support.ace_function {\
  66. color: #8be9fd\
  67. }\
  68. .ace-dracula .ace_support.ace_constant {\
  69. color: #6be5fd\
  70. }\
  71. .ace-dracula .ace_support.ace_class {\
  72. font-style: italic;\
  73. color: #66d9ef\
  74. }\
  75. .ace-dracula .ace_support.ace_type {\
  76. font-style: italic;\
  77. color: #66d9ef\
  78. }\
  79. .ace-dracula .ace_storage {\
  80. color: #ff79c6\
  81. }\
  82. .ace-dracula .ace_storage.ace_type {\
  83. font-style: italic;\
  84. color: #8be9fd\
  85. }\
  86. .ace-dracula .ace_invalid {\
  87. color: #F8F8F0;\
  88. background-color: #ff79c6\
  89. }\
  90. .ace-dracula .ace_invalid.ace_deprecated {\
  91. color: #F8F8F0;\
  92. background-color: #bd93f9\
  93. }\
  94. .ace-dracula .ace_string {\
  95. color: #f1fa8c\
  96. }\
  97. .ace-dracula .ace_comment {\
  98. color: #6272a4\
  99. }\
  100. .ace-dracula .ace_variable {\
  101. color: #50fa7b\
  102. }\
  103. .ace-dracula .ace_variable.ace_parameter {\
  104. font-style: italic;\
  105. color: #ffb86c\
  106. }\
  107. .ace-dracula .ace_entity.ace_other.ace_attribute-name {\
  108. color: #50fa7b\
  109. }\
  110. .ace-dracula .ace_entity.ace_name.ace_function {\
  111. color: #50fa7b\
  112. }\
  113. .ace-dracula .ace_entity.ace_name.ace_tag {\
  114. color: #ff79c6\
  115. }\
  116. ";
  117. var dom = acequire("../lib/dom");
  118. dom.importCssString(exports.cssText, exports.cssClass);
  119. });