mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-12-20 18:52:41 +00:00
d4cc23f606
Change-Id: I31eeb56eec4995e1bff8248e5c1d4df7f20ad48b
110 lines
2.7 KiB
JavaScript
110 lines
2.7 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;\
|
|
}\
|
|
.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);
|
|
}); (function() {
|
|
ace.require(["ace/theme/github"], function(m) {
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
module.exports = m;
|
|
}
|
|
});
|
|
})();
|
|
|