theme-github.js 2.4 KB

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