theme-twilight.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. ace.define("ace/theme/twilight",[], function(require, exports, module) {
  2. exports.isDark = true;
  3. exports.cssClass = "ace-twilight";
  4. exports.cssText = ".ace-twilight .ace_gutter {\
  5. background: #232323;\
  6. color: #E2E2E2\
  7. }\
  8. .ace-twilight .ace_print-margin {\
  9. width: 1px;\
  10. background: #232323\
  11. }\
  12. .ace-twilight {\
  13. background-color: #141414;\
  14. color: #F8F8F8\
  15. }\
  16. .ace-twilight .ace_cursor {\
  17. color: #A7A7A7\
  18. }\
  19. .ace-twilight .ace_marker-layer .ace_selection {\
  20. background: rgba(221, 240, 255, 0.20)\
  21. }\
  22. .ace-twilight.ace_multiselect .ace_selection.ace_start {\
  23. box-shadow: 0 0 3px 0px #141414;\
  24. }\
  25. .ace-twilight .ace_marker-layer .ace_step {\
  26. background: rgb(102, 82, 0)\
  27. }\
  28. .ace-twilight .ace_marker-layer .ace_bracket {\
  29. margin: -1px 0 0 -1px;\
  30. border: 1px solid rgba(255, 255, 255, 0.25)\
  31. }\
  32. .ace-twilight .ace_marker-layer .ace_active-line {\
  33. background: rgba(255, 255, 255, 0.031)\
  34. }\
  35. .ace-twilight .ace_gutter-active-line {\
  36. background-color: rgba(255, 255, 255, 0.031)\
  37. }\
  38. .ace-twilight .ace_marker-layer .ace_selected-word {\
  39. border: 1px solid rgba(221, 240, 255, 0.20)\
  40. }\
  41. .ace-twilight .ace_invisible {\
  42. color: rgba(255, 255, 255, 0.25)\
  43. }\
  44. .ace-twilight .ace_keyword,\
  45. .ace-twilight .ace_meta {\
  46. color: #CDA869\
  47. }\
  48. .ace-twilight .ace_constant,\
  49. .ace-twilight .ace_constant.ace_character,\
  50. .ace-twilight .ace_constant.ace_character.ace_escape,\
  51. .ace-twilight .ace_constant.ace_other,\
  52. .ace-twilight .ace_heading,\
  53. .ace-twilight .ace_markup.ace_heading,\
  54. .ace-twilight .ace_support.ace_constant {\
  55. color: #CF6A4C\
  56. }\
  57. .ace-twilight .ace_invalid.ace_illegal {\
  58. color: #F8F8F8;\
  59. background-color: rgba(86, 45, 86, 0.75)\
  60. }\
  61. .ace-twilight .ace_invalid.ace_deprecated {\
  62. text-decoration: underline;\
  63. font-style: italic;\
  64. color: #D2A8A1\
  65. }\
  66. .ace-twilight .ace_support {\
  67. color: #9B859D\
  68. }\
  69. .ace-twilight .ace_fold {\
  70. background-color: #AC885B;\
  71. border-color: #F8F8F8\
  72. }\
  73. .ace-twilight .ace_support.ace_function {\
  74. color: #DAD085\
  75. }\
  76. .ace-twilight .ace_list,\
  77. .ace-twilight .ace_markup.ace_list,\
  78. .ace-twilight .ace_storage {\
  79. color: #F9EE98\
  80. }\
  81. .ace-twilight .ace_entity.ace_name.ace_function,\
  82. .ace-twilight .ace_meta.ace_tag,\
  83. .ace-twilight .ace_variable {\
  84. color: #AC885B\
  85. }\
  86. .ace-twilight .ace_string {\
  87. color: #8F9D6A\
  88. }\
  89. .ace-twilight .ace_string.ace_regexp {\
  90. color: #E9C062\
  91. }\
  92. .ace-twilight .ace_comment {\
  93. font-style: italic;\
  94. color: #5F5A60\
  95. }\
  96. .ace-twilight .ace_variable {\
  97. color: #7587A6\
  98. }\
  99. .ace-twilight .ace_xml-pe {\
  100. color: #494949\
  101. }\
  102. .ace-twilight .ace_indent-guide {\
  103. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y\
  104. }";
  105. var dom = require("../lib/dom");
  106. dom.importCssString(exports.cssText, exports.cssClass);
  107. });
  108. (function() {
  109. ace.require(["ace/theme/twilight"], function(m) {
  110. if (typeof module == "object" && typeof exports == "object" && module) {
  111. module.exports = m;
  112. }
  113. });
  114. })();