mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
95f7d3da24
Upgrade to Ace 1.2.9 GitOrigin-RevId: 8700f6decb530a0f0bbaefbe32a83893e8d91a90
121 lines
2.5 KiB
JavaScript
121 lines
2.5 KiB
JavaScript
ace.define("ace/theme/dracula",["require","exports","module","ace/lib/dom"], 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: #e8e8e8\
|
|
}\
|
|
.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 #3B3A32\
|
|
}\
|
|
.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 {\
|
|
border: 1px solid #44475a\
|
|
}\
|
|
.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\
|
|
}\
|
|
";
|
|
|
|
var dom = require("../lib/dom");
|
|
dom.importCssString(exports.cssText, exports.cssClass);
|
|
});
|