mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
350e2ac38f
Upgrade to Ace v1.4.5 GitOrigin-RevId: 7ab7ba24c0bfc927567fbd4196e05a1c3f26d283
136 lines
No EOL
3.1 KiB
JavaScript
136 lines
No EOL
3.1 KiB
JavaScript
ace.define("ace/theme/dracula",[], function(require, exports, module) {
|
|
|
|
exports.isDark = true;
|
|
exports.cssClass = "ace-dracula";
|
|
exports.cssText = "\
|
|
.ace-dracula .ace_gutter {\
|
|
background: #282a36;\
|
|
color: rgb(144,145,148)\
|
|
}\
|
|
.ace-dracula .ace_print-margin {\
|
|
width: 1px;\
|
|
background: #44475a\
|
|
}\
|
|
.ace-dracula {\
|
|
background-color: #282a36;\
|
|
color: #f8f8f2\
|
|
}\
|
|
.ace-dracula .ace_cursor {\
|
|
color: #f8f8f0\
|
|
}\
|
|
.ace-dracula .ace_marker-layer .ace_selection {\
|
|
background: #44475a\
|
|
}\
|
|
.ace-dracula.ace_multiselect .ace_selection.ace_start {\
|
|
box-shadow: 0 0 3px 0px #282a36;\
|
|
border-radius: 2px\
|
|
}\
|
|
.ace-dracula .ace_marker-layer .ace_step {\
|
|
background: rgb(198, 219, 174)\
|
|
}\
|
|
.ace-dracula .ace_marker-layer .ace_bracket {\
|
|
margin: -1px 0 0 -1px;\
|
|
border: 1px solid #a29709\
|
|
}\
|
|
.ace-dracula .ace_marker-layer .ace_active-line {\
|
|
background: #44475a\
|
|
}\
|
|
.ace-dracula .ace_gutter-active-line {\
|
|
background-color: #44475a\
|
|
}\
|
|
.ace-dracula .ace_marker-layer .ace_selected-word {\
|
|
box-shadow: 0px 0px 0px 1px #a29709;\
|
|
border-radius: 3px;\
|
|
}\
|
|
.ace-dracula .ace_fold {\
|
|
background-color: #50fa7b;\
|
|
border-color: #f8f8f2\
|
|
}\
|
|
.ace-dracula .ace_keyword {\
|
|
color: #ff79c6\
|
|
}\
|
|
.ace-dracula .ace_constant.ace_language {\
|
|
color: #bd93f9\
|
|
}\
|
|
.ace-dracula .ace_constant.ace_numeric {\
|
|
color: #bd93f9\
|
|
}\
|
|
.ace-dracula .ace_constant.ace_character {\
|
|
color: #bd93f9\
|
|
}\
|
|
.ace-dracula .ace_constant.ace_character.ace_escape {\
|
|
color: #ff79c6\
|
|
}\
|
|
.ace-dracula .ace_constant.ace_other {\
|
|
color: #bd93f9\
|
|
}\
|
|
.ace-dracula .ace_support.ace_function {\
|
|
color: #8be9fd\
|
|
}\
|
|
.ace-dracula .ace_support.ace_constant {\
|
|
color: #6be5fd\
|
|
}\
|
|
.ace-dracula .ace_support.ace_class {\
|
|
font-style: italic;\
|
|
color: #66d9ef\
|
|
}\
|
|
.ace-dracula .ace_support.ace_type {\
|
|
font-style: italic;\
|
|
color: #66d9ef\
|
|
}\
|
|
.ace-dracula .ace_storage {\
|
|
color: #ff79c6\
|
|
}\
|
|
.ace-dracula .ace_storage.ace_type {\
|
|
font-style: italic;\
|
|
color: #8be9fd\
|
|
}\
|
|
.ace-dracula .ace_invalid {\
|
|
color: #F8F8F0;\
|
|
background-color: #ff79c6\
|
|
}\
|
|
.ace-dracula .ace_invalid.ace_deprecated {\
|
|
color: #F8F8F0;\
|
|
background-color: #bd93f9\
|
|
}\
|
|
.ace-dracula .ace_string {\
|
|
color: #f1fa8c\
|
|
}\
|
|
.ace-dracula .ace_comment {\
|
|
color: #6272a4\
|
|
}\
|
|
.ace-dracula .ace_variable {\
|
|
color: #50fa7b\
|
|
}\
|
|
.ace-dracula .ace_variable.ace_parameter {\
|
|
font-style: italic;\
|
|
color: #ffb86c\
|
|
}\
|
|
.ace-dracula .ace_entity.ace_other.ace_attribute-name {\
|
|
color: #50fa7b\
|
|
}\
|
|
.ace-dracula .ace_entity.ace_name.ace_function {\
|
|
color: #50fa7b\
|
|
}\
|
|
.ace-dracula .ace_entity.ace_name.ace_tag {\
|
|
color: #ff79c6\
|
|
}\
|
|
.ace-dracula .ace_invisible {\
|
|
color: #626680;\
|
|
}\
|
|
.ace-dracula .ace_indent-guide {\
|
|
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y\
|
|
}";
|
|
exports.$selectionColorConflict = true;
|
|
|
|
var dom = require("../lib/dom");
|
|
dom.importCssString(exports.cssText, exports.cssClass);
|
|
});
|
|
(function() {
|
|
ace.require(["ace/theme/dracula"], function(m) {
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
module.exports = m;
|
|
}
|
|
});
|
|
})();
|
|
|