mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Import Overleaf v1 theme from sharelatex/ace
This commit is contained in:
parent
40da785363
commit
b7be63f3a8
1 changed files with 72 additions and 0 deletions
72
services/web/public/js/ace-1.2.5/theme-overleaf.js
Normal file
72
services/web/public/js/ace-1.2.5/theme-overleaf.js
Normal file
|
@ -0,0 +1,72 @@
|
|||
ace.define("ace/theme/overleaf",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
|
||||
"use strict";
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-overleaf";
|
||||
exports.cssText = ".ace-overleaf .ace_gutter {\
|
||||
background: #f0f0f0;\
|
||||
color: #333;\
|
||||
}\
|
||||
.ace-overleaf .ace_print-margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
.ace-overleaf {\
|
||||
background-color: #FFFFFF;\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-overleaf .ace_cursor {\
|
||||
color: black;\
|
||||
}\
|
||||
.ace-overleaf .ace_marker-layer .ace_selection {\
|
||||
background: rgb(181, 213, 255);\
|
||||
}\
|
||||
.ace-overleaf.ace_multiselect .ace_selection.ace_start {\
|
||||
box-shadow: 0 0 3px 0px white;\
|
||||
}\
|
||||
.ace-overleaf .ace_marker-layer .ace_step {\
|
||||
background: rgb(252, 255, 0);\
|
||||
}\
|
||||
.ace-overleaf .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #cc7;\
|
||||
}\
|
||||
.ace-overleaf .ace_marker-layer .ace_active-line {\
|
||||
background: rgba(0, 0, 0, 0.07);\
|
||||
}\
|
||||
.ace-overleaf .ace_gutter-active-line {\
|
||||
background-color: #dcdcdc;\
|
||||
}\
|
||||
.ace-overleaf .ace_marker-layer .ace_selected-word {\
|
||||
background: rgb(250, 250, 255);\
|
||||
border: 1px solid rgb(200, 200, 250);\
|
||||
}\
|
||||
.ace-overleaf .ace_fold {\
|
||||
background-color: #6B72E6;\
|
||||
}\
|
||||
.ace-overleaf .ace_comment {\
|
||||
color: #0080FF;\
|
||||
font-style: italic;\
|
||||
}\
|
||||
.ace-overleaf .ace_storage,\
|
||||
.ace-overleaf .ace_keyword {\
|
||||
color: #3F7F7F;\
|
||||
}\
|
||||
.ace-overleaf .ace_variable,\
|
||||
.ace-overleaf .ace_string {\
|
||||
color: #5A5CAD;\
|
||||
}\
|
||||
";
|
||||
exports.$id = "ace/theme/overleaf";
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
(function() {
|
||||
ace.require(["ace/theme/overleaf"], function(m) {
|
||||
if (typeof module == "object" && typeof exports == "object" && module) {
|
||||
module.exports = m;
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
Loading…
Reference in a new issue