mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 12:41:40 +00:00
25b9a9be19
This required a refactor of all code that listen to events changes since the API has changed. See https://github.com/ajaxorg/ace/pull/1745 for more details.
104 lines
2.4 KiB
JavaScript
104 lines
2.4 KiB
JavaScript
ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
|
|
|
|
exports.isDark = false;
|
|
exports.cssClass = "ace-github";
|
|
exports.cssText = "\
|
|
.ace-github .ace_gutter {\
|
|
background: #e8e8e8;\
|
|
color: #AAA;\
|
|
}\
|
|
.ace-github {\
|
|
background: #fff;\
|
|
color: #000;\
|
|
}\
|
|
.ace-github .ace_keyword {\
|
|
font-weight: bold;\
|
|
}\
|
|
.ace-github .ace_string {\
|
|
color: #D14;\
|
|
}\
|
|
.ace-github .ace_variable.ace_class {\
|
|
color: teal;\
|
|
}\
|
|
.ace-github .ace_constant.ace_numeric {\
|
|
color: #099;\
|
|
}\
|
|
.ace-github .ace_constant.ace_buildin {\
|
|
color: #0086B3;\
|
|
}\
|
|
.ace-github .ace_support.ace_function {\
|
|
color: #0086B3;\
|
|
}\
|
|
.ace-github .ace_comment {\
|
|
color: #998;\
|
|
font-style: italic;\
|
|
}\
|
|
.ace-github .ace_variable.ace_language {\
|
|
color: #0086B3;\
|
|
}\
|
|
.ace-github .ace_paren {\
|
|
font-weight: bold;\
|
|
}\
|
|
.ace-github .ace_boolean {\
|
|
font-weight: bold;\
|
|
}\
|
|
.ace-github .ace_string.ace_regexp {\
|
|
color: #009926;\
|
|
font-weight: normal;\
|
|
}\
|
|
.ace-github .ace_variable.ace_instance {\
|
|
color: teal;\
|
|
}\
|
|
.ace-github .ace_constant.ace_language {\
|
|
font-weight: bold;\
|
|
}\
|
|
.ace-github .ace_cursor {\
|
|
color: black;\
|
|
}\
|
|
.ace-github.ace_focus .ace_marker-layer .ace_active-line {\
|
|
background: rgb(255, 255, 204);\
|
|
}\
|
|
.ace-github .ace_marker-layer .ace_active-line {\
|
|
background: rgb(245, 245, 245);\
|
|
}\
|
|
.ace-github .ace_marker-layer .ace_selection {\
|
|
background: rgb(181, 213, 255);\
|
|
}\
|
|
.ace-github.ace_multiselect .ace_selection.ace_start {\
|
|
box-shadow: 0 0 3px 0px white;\
|
|
border-radius: 2px;\
|
|
}\
|
|
.ace-github.ace_nobold .ace_line > span {\
|
|
font-weight: normal !important;\
|
|
}\
|
|
.ace-github .ace_marker-layer .ace_step {\
|
|
background: rgb(252, 255, 0);\
|
|
}\
|
|
.ace-github .ace_marker-layer .ace_stack {\
|
|
background: rgb(164, 229, 101);\
|
|
}\
|
|
.ace-github .ace_marker-layer .ace_bracket {\
|
|
margin: -1px 0 0 -1px;\
|
|
border: 1px solid rgb(192, 192, 192);\
|
|
}\
|
|
.ace-github .ace_gutter-active-line {\
|
|
background-color : rgba(0, 0, 0, 0.07);\
|
|
}\
|
|
.ace-github .ace_marker-layer .ace_selected-word {\
|
|
background: rgb(250, 250, 255);\
|
|
border: 1px solid rgb(200, 200, 250);\
|
|
}\
|
|
.ace-github .ace_invisible {\
|
|
color: #BFBFBF\
|
|
}\
|
|
.ace-github .ace_print-margin {\
|
|
width: 1px;\
|
|
background: #e8e8e8;\
|
|
}\
|
|
.ace-github .ace_indent-guide {\
|
|
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==\") right repeat-y;\
|
|
}";
|
|
|
|
var dom = require("../lib/dom");
|
|
dom.importCssString(exports.cssText, exports.cssClass);
|
|
});
|