theme-github.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. ace.define("ace/theme/github",[], function(require, exports, module) {
  2. exports.isDark = false;
  3. exports.cssClass = "ace-github";
  4. exports.cssText = ".ace-github .ace_gutter {\
  5. background: #e8e8e8;\
  6. color: #AAA;\
  7. }\
  8. .ace-github {\
  9. background: #fff;\
  10. color: #000;\
  11. }\
  12. .ace-github .ace_keyword {\
  13. font-weight: bold;\
  14. }\
  15. .ace-github .ace_string {\
  16. color: #D14;\
  17. }\
  18. .ace-github .ace_variable.ace_class {\
  19. color: teal;\
  20. }\
  21. .ace-github .ace_constant.ace_numeric {\
  22. color: #099;\
  23. }\
  24. .ace-github .ace_constant.ace_buildin {\
  25. color: #0086B3;\
  26. }\
  27. .ace-github .ace_support.ace_function {\
  28. color: #0086B3;\
  29. }\
  30. .ace-github .ace_comment {\
  31. color: #998;\
  32. font-style: italic;\
  33. }\
  34. .ace-github .ace_variable.ace_language {\
  35. color: #0086B3;\
  36. }\
  37. .ace-github .ace_paren {\
  38. font-weight: bold;\
  39. }\
  40. .ace-github .ace_boolean {\
  41. font-weight: bold;\
  42. }\
  43. .ace-github .ace_string.ace_regexp {\
  44. color: #009926;\
  45. font-weight: normal;\
  46. }\
  47. .ace-github .ace_variable.ace_instance {\
  48. color: teal;\
  49. }\
  50. .ace-github .ace_constant.ace_language {\
  51. font-weight: bold;\
  52. }\
  53. .ace-github .ace_cursor {\
  54. color: black;\
  55. }\
  56. .ace-github.ace_focus .ace_marker-layer .ace_active-line {\
  57. background: rgb(255, 255, 204);\
  58. }\
  59. .ace-github .ace_marker-layer .ace_active-line {\
  60. background: rgb(245, 245, 245);\
  61. }\
  62. .ace-github .ace_marker-layer .ace_selection {\
  63. background: rgb(181, 213, 255);\
  64. }\
  65. .ace-github.ace_multiselect .ace_selection.ace_start {\
  66. box-shadow: 0 0 3px 0px white;\
  67. }\
  68. .ace-github.ace_nobold .ace_line > span {\
  69. font-weight: normal !important;\
  70. }\
  71. .ace-github .ace_marker-layer .ace_step {\
  72. background: rgb(252, 255, 0);\
  73. }\
  74. .ace-github .ace_marker-layer .ace_stack {\
  75. background: rgb(164, 229, 101);\
  76. }\
  77. .ace-github .ace_marker-layer .ace_bracket {\
  78. margin: -1px 0 0 -1px;\
  79. border: 1px solid rgb(192, 192, 192);\
  80. }\
  81. .ace-github .ace_gutter-active-line {\
  82. background-color : rgba(0, 0, 0, 0.07);\
  83. }\
  84. .ace-github .ace_marker-layer .ace_selected-word {\
  85. background: rgb(250, 250, 255);\
  86. border: 1px solid rgb(200, 200, 250);\
  87. }\
  88. .ace-github .ace_invisible {\
  89. color: #BFBFBF\
  90. }\
  91. .ace-github .ace_print-margin {\
  92. width: 1px;\
  93. background: #e8e8e8;\
  94. }\
  95. .ace-github .ace_indent-guide {\
  96. background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
  97. }";
  98. var dom = require("../lib/dom");
  99. dom.importCssString(exports.cssText, exports.cssClass);
  100. });
  101. (function() {
  102. ace.require(["ace/theme/github"], function(m) {
  103. if (typeof module == "object" && typeof exports == "object" && module) {
  104. module.exports = m;
  105. }
  106. });
  107. })();