mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-24 07:13:27 +00:00
628e0a84ab
Adds support for CSS media queries Bug: T167686 Bug: T170999 Change-Id: I553191a9b7ac9ce026a40ef9c317bb1171ec6fc1
83 lines
1.9 KiB
JavaScript
83 lines
1.9 KiB
JavaScript
ace.define("ace/theme/gruvbox",["require","exports","module","ace/lib/dom"], function(require, exports, module) {
|
|
|
|
exports.isDark = true;
|
|
exports.cssClass = "ace-gruvbox";
|
|
exports.cssText = ".ace-gruvbox .ace_gutter-active-line {\
|
|
background-color: #3C3836;\
|
|
}\
|
|
.ace-gruvbox {\
|
|
color: #EBDAB4;\
|
|
background-color: #1D2021;\
|
|
}\
|
|
.ace-gruvbox .ace_invisible {\
|
|
color: #504945;\
|
|
}\
|
|
.ace-gruvbox .ace_marker-layer .ace_selection {\
|
|
background: rgba(179, 101, 57, 0.75)\
|
|
}\
|
|
.ace-gruvbox.ace_multiselect .ace_selection.ace_start {\
|
|
box-shadow: 0 0 3px 0px #002240;\
|
|
}\
|
|
.ace-gruvbox .ace_keyword {\
|
|
color: #8ec07c;\
|
|
}\
|
|
.ace-gruvbox .ace_comment {\
|
|
font-style: italic;\
|
|
color: #928375;\
|
|
}\
|
|
.ace-gruvbox .ace-statement {\
|
|
color: red;\
|
|
}\
|
|
.ace-gruvbox .ace_variable {\
|
|
color: #84A598;\
|
|
}\
|
|
.ace-gruvbox .ace_variable.ace_language {\
|
|
color: #D2879B;\
|
|
}\
|
|
.ace-gruvbox .ace_constant {\
|
|
color: #C2859A;\
|
|
}\
|
|
.ace-gruvbox .ace_constant.ace_language {\
|
|
color: #C2859A;\
|
|
}\
|
|
.ace-gruvbox .ace_constant.ace_numeric {\
|
|
color: #C2859A;\
|
|
}\
|
|
.ace-gruvbox .ace_string {\
|
|
color: #B8BA37;\
|
|
}\
|
|
.ace-gruvbox .ace_support {\
|
|
color: #F9BC41;\
|
|
}\
|
|
.ace-gruvbox .ace_support.ace_function {\
|
|
color: #F84B3C;\
|
|
}\
|
|
.ace-gruvbox .ace_storage {\
|
|
color: #8FBF7F;\
|
|
}\
|
|
.ace-gruvbox .ace_keyword.ace_operator {\
|
|
color: #EBDAB4;\
|
|
}\
|
|
.ace-gruvbox .ace_punctuation.ace_operator {\
|
|
color: yellow;\
|
|
}\
|
|
.ace-gruvbox .ace_marker-layer .ace_active-line {\
|
|
background: #3C3836;\
|
|
}\
|
|
.ace-gruvbox .ace_marker-layer .ace_selected-word {\
|
|
border-radius: 4px;\
|
|
border: 8px solid #3f475d;\
|
|
}\
|
|
.ace-gruvbox .ace_print-margin {\
|
|
width: 5px;\
|
|
background: #3C3836;\
|
|
}\
|
|
.ace-gruvbox .ace_indent-guide {\
|
|
background: url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQUFD4z6Crq/sfAAuYAuYl+7lfAAAAAElFTkSuQmCC\") right repeat-y;\
|
|
}";
|
|
|
|
var dom = require("../lib/dom");
|
|
dom.importCssString(exports.cssText, exports.cssClass);
|
|
|
|
});
|