theme-github.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. border-radius: 2px;\
  69. }\
  70. .ace-github.ace_nobold .ace_line > span {\
  71. font-weight: normal !important;\
  72. }\
  73. .ace-github .ace_marker-layer .ace_step {\
  74. background: rgb(252, 255, 0);\
  75. }\
  76. .ace-github .ace_marker-layer .ace_stack {\
  77. background: rgb(164, 229, 101);\
  78. }\
  79. .ace-github .ace_marker-layer .ace_bracket {\
  80. margin: -1px 0 0 -1px;\
  81. border: 1px solid rgb(192, 192, 192);\
  82. }\
  83. .ace-github .ace_gutter-active-line {\
  84. background-color : rgba(0, 0, 0, 0.07);\
  85. }\
  86. .ace-github .ace_marker-layer .ace_selected-word {\
  87. background: rgb(250, 250, 255);\
  88. border: 1px solid rgb(200, 200, 250);\
  89. }\
  90. .ace-github .ace_invisible {\
  91. color: #BFBFBF\
  92. }\
  93. .ace-github .ace_print-margin {\
  94. width: 1px;\
  95. background: #e8e8e8;\
  96. }\
  97. .ace-github .ace_indent-guide {\
  98. background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
  99. }";
  100. var dom = require("../lib/dom");
  101. dom.importCssString(exports.cssText, exports.cssClass);
  102. });