theme-monokai.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
  2. exports.isDark = true;
  3. exports.cssClass = "ace-monokai";
  4. exports.cssText = ".ace-monokai .ace_gutter {\
  5. background: #2F3129;\
  6. color: #8F908A\
  7. }\
  8. .ace-monokai .ace_print-margin {\
  9. width: 1px;\
  10. background: #555651\
  11. }\
  12. .ace-monokai {\
  13. background-color: #272822;\
  14. color: #F8F8F2\
  15. }\
  16. .ace-monokai .ace_cursor {\
  17. color: #F8F8F0\
  18. }\
  19. .ace-monokai .ace_marker-layer .ace_selection {\
  20. background: #49483E\
  21. }\
  22. .ace-monokai.ace_multiselect .ace_selection.ace_start {\
  23. box-shadow: 0 0 3px 0px #272822;\
  24. }\
  25. .ace-monokai .ace_marker-layer .ace_step {\
  26. background: rgb(102, 82, 0)\
  27. }\
  28. .ace-monokai .ace_marker-layer .ace_bracket {\
  29. margin: -1px 0 0 -1px;\
  30. border: 1px solid #49483E\
  31. }\
  32. .ace-monokai .ace_marker-layer .ace_active-line {\
  33. background: #202020\
  34. }\
  35. .ace-monokai .ace_gutter-active-line {\
  36. background-color: #272727\
  37. }\
  38. .ace-monokai .ace_marker-layer .ace_selected-word {\
  39. border: 1px solid #49483E\
  40. }\
  41. .ace-monokai .ace_invisible {\
  42. color: #52524d\
  43. }\
  44. .ace-monokai .ace_entity.ace_name.ace_tag,\
  45. .ace-monokai .ace_keyword,\
  46. .ace-monokai .ace_meta.ace_tag,\
  47. .ace-monokai .ace_storage {\
  48. color: #F92672\
  49. }\
  50. .ace-monokai .ace_punctuation,\
  51. .ace-monokai .ace_punctuation.ace_tag {\
  52. color: #fff\
  53. }\
  54. .ace-monokai .ace_constant.ace_character,\
  55. .ace-monokai .ace_constant.ace_language,\
  56. .ace-monokai .ace_constant.ace_numeric,\
  57. .ace-monokai .ace_constant.ace_other {\
  58. color: #AE81FF\
  59. }\
  60. .ace-monokai .ace_invalid {\
  61. color: #F8F8F0;\
  62. background-color: #F92672\
  63. }\
  64. .ace-monokai .ace_invalid.ace_deprecated {\
  65. color: #F8F8F0;\
  66. background-color: #AE81FF\
  67. }\
  68. .ace-monokai .ace_support.ace_constant,\
  69. .ace-monokai .ace_support.ace_function {\
  70. color: #66D9EF\
  71. }\
  72. .ace-monokai .ace_fold {\
  73. background-color: #A6E22E;\
  74. border-color: #F8F8F2\
  75. }\
  76. .ace-monokai .ace_storage.ace_type,\
  77. .ace-monokai .ace_support.ace_class,\
  78. .ace-monokai .ace_support.ace_type {\
  79. font-style: italic;\
  80. color: #66D9EF\
  81. }\
  82. .ace-monokai .ace_entity.ace_name.ace_function,\
  83. .ace-monokai .ace_entity.ace_other,\
  84. .ace-monokai .ace_entity.ace_other.ace_attribute-name,\
  85. .ace-monokai .ace_variable {\
  86. color: #A6E22E\
  87. }\
  88. .ace-monokai .ace_variable.ace_parameter {\
  89. font-style: italic;\
  90. color: #FD971F\
  91. }\
  92. .ace-monokai .ace_string {\
  93. color: #E6DB74\
  94. }\
  95. .ace-monokai .ace_comment {\
  96. color: #75715E\
  97. }\
  98. .ace-monokai .ace_indent-guide {\
  99. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y\
  100. }";
  101. var dom = require("../lib/dom");
  102. dom.importCssString(exports.cssText, exports.cssClass);
  103. });