theme-terminal.js 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. ace.define("ace/theme/terminal",[], function(require, exports, module) {
  2. exports.isDark = true;
  3. exports.cssClass = "ace-terminal-theme";
  4. exports.cssText = ".ace-terminal-theme .ace_gutter {\
  5. background: #1a0005;\
  6. color: steelblue\
  7. }\
  8. .ace-terminal-theme .ace_print-margin {\
  9. width: 1px;\
  10. background: #1a1a1a\
  11. }\
  12. .ace-terminal-theme {\
  13. background-color: black;\
  14. color: #DEDEDE\
  15. }\
  16. .ace-terminal-theme .ace_cursor {\
  17. color: #9F9F9F\
  18. }\
  19. .ace-terminal-theme .ace_marker-layer .ace_selection {\
  20. background: #424242\
  21. }\
  22. .ace-terminal-theme.ace_multiselect .ace_selection.ace_start {\
  23. box-shadow: 0 0 3px 0px black;\
  24. }\
  25. .ace-terminal-theme .ace_marker-layer .ace_step {\
  26. background: rgb(0, 0, 0)\
  27. }\
  28. .ace-terminal-theme .ace_marker-layer .ace_bracket {\
  29. background: #090;\
  30. }\
  31. .ace-terminal-theme .ace_marker-layer .ace_bracket-start {\
  32. background: #090;\
  33. }\
  34. .ace-terminal-theme .ace_marker-layer .ace_bracket-unmatched {\
  35. margin: -1px 0 0 -1px;\
  36. border: 1px solid #900\
  37. }\
  38. .ace-terminal-theme .ace_marker-layer .ace_active-line {\
  39. background: #2A2A2A\
  40. }\
  41. .ace-terminal-theme .ace_gutter-active-line {\
  42. background-color: #2A112A\
  43. }\
  44. .ace-terminal-theme .ace_marker-layer .ace_selected-word {\
  45. border: 1px solid #424242\
  46. }\
  47. .ace-terminal-theme .ace_invisible {\
  48. color: #343434\
  49. }\
  50. .ace-terminal-theme .ace_keyword,\
  51. .ace-terminal-theme .ace_meta,\
  52. .ace-terminal-theme .ace_storage,\
  53. .ace-terminal-theme .ace_storage.ace_type,\
  54. .ace-terminal-theme .ace_support.ace_type {\
  55. color: tomato\
  56. }\
  57. .ace-terminal-theme .ace_keyword.ace_operator {\
  58. color: deeppink\
  59. }\
  60. .ace-terminal-theme .ace_constant.ace_character,\
  61. .ace-terminal-theme .ace_constant.ace_language,\
  62. .ace-terminal-theme .ace_constant.ace_numeric,\
  63. .ace-terminal-theme .ace_keyword.ace_other.ace_unit,\
  64. .ace-terminal-theme .ace_support.ace_constant,\
  65. .ace-terminal-theme .ace_variable.ace_parameter {\
  66. color: #E78C45\
  67. }\
  68. .ace-terminal-theme .ace_constant.ace_other {\
  69. color: gold\
  70. }\
  71. .ace-terminal-theme .ace_invalid {\
  72. color: yellow;\
  73. background-color: red\
  74. }\
  75. .ace-terminal-theme .ace_invalid.ace_deprecated {\
  76. color: #CED2CF;\
  77. background-color: #B798BF\
  78. }\
  79. .ace-terminal-theme .ace_fold {\
  80. background-color: #7AA6DA;\
  81. border-color: #DEDEDE\
  82. }\
  83. .ace-terminal-theme .ace_entity.ace_name.ace_function,\
  84. .ace-terminal-theme .ace_support.ace_function,\
  85. .ace-terminal-theme .ace_variable {\
  86. color: #7AA6DA\
  87. }\
  88. .ace-terminal-theme .ace_support.ace_class,\
  89. .ace-terminal-theme .ace_support.ace_type {\
  90. color: #E7C547\
  91. }\
  92. .ace-terminal-theme .ace_heading,\
  93. .ace-terminal-theme .ace_string {\
  94. color: #B9CA4A\
  95. }\
  96. .ace-terminal-theme .ace_entity.ace_name.ace_tag,\
  97. .ace-terminal-theme .ace_entity.ace_other.ace_attribute-name,\
  98. .ace-terminal-theme .ace_meta.ace_tag,\
  99. .ace-terminal-theme .ace_string.ace_regexp,\
  100. .ace-terminal-theme .ace_variable {\
  101. color: #D54E53\
  102. }\
  103. .ace-terminal-theme .ace_comment {\
  104. color: orangered\
  105. }\
  106. .ace-terminal-theme .ace_indent-guide {\
  107. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLBWV/8PAAK4AYnhiq+xAAAAAElFTkSuQmCC) right repeat-y;\
  108. }\
  109. ";
  110. var dom = require("../lib/dom");
  111. dom.importCssString(exports.cssText, exports.cssClass);
  112. });
  113. (function() {
  114. ace.require(["ace/theme/terminal"], function(m) {
  115. if (typeof module == "object" && typeof exports == "object" && module) {
  116. module.exports = m;
  117. }
  118. });
  119. })();