Merge pull request #1156 from ajaxorg/theme/chaos

Added chaos theme
This commit is contained in:
Garen Torikian 2012-12-13 16:30:28 -08:00
commit 00d764ed3d
3 changed files with 161 additions and 1 deletions

View file

@ -78,6 +78,7 @@
</optgroup>
<optgroup label="Dark">
<option value="ace/theme/ambiance">Ambiance</option>
<option value="ace/theme/chaos">Chaos</option>
<option value="ace/theme/clouds_midnight">Clouds Midnight</option>
<option value="ace/theme/cobalt">Cobalt</option>
<option value="ace/theme/idle_fingers">idleFingers</option>
@ -279,4 +280,4 @@
PACKAGE-->
</body>
</html>
</html>

126
lib/ace/theme/chaos.css Normal file
View file

@ -0,0 +1,126 @@
.ace-chaos .ace_gutter {
background: #141414;
color: #595959;
border-right: 1px solid #282828;
}
.ace-chaos .ace_gutter-cell.ace_warning {
background-image: none;
background: #FC0;
border-left: none;
padding-left: 0;
color: #000;
}
.ace-chaos .ace_gutter-cell.ace_error {
background-position: -6px center;
background-image: none;
background: #F10;
border-left: none;
padding-left: 0;
color: #000;
}
.ace-chaos .ace_print_margin {
width: 1px;
background: #e8e8e8;
}
.ace-chaos .ace_scroller {
background-color: #161616;
}
.ace-chaos .ace_text-layer {
cursor: text;
color: #E6E1DC;
}
.ace-chaos .ace_cursor {
border-left: 2px solid #FFFFFF;
}
.ace-chaos .ace_cursor.ace_overwrite {
border-left: 0px;
border-bottom: 1px solid #FFFFFF;
}
.ace-chaos .ace_marker-layer .ace_selection {
background: rgba(90, 90, 90, 0.3);
}
.ace-chaos .ace_marker-layer .ace_step {
background: rgb(198, 219, 174);
}
.ace-chaos .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #FCE94F;
}
.ace-chaos .ace_marker-layer .ace_active-line {
background: #333;
}
.ace-chaos .ace_gutter-active-line {
background-color: #222;
}
.ace-chaos .ace_invisible {
color: #404040;
}
.ace-chaos .ace_keyword {
color:#00698F;
}
.ace-chaos .ace_keyword.ace_operator {
color:#FF308F;
}
.ace-chaos .ace_constant {
color:#1EDAFB;
}
.ace-chaos .ace_constant.ace_language {
color:#FDC251;
}
.ace-chaos .ace_constant.ace_library {
color:#8DFF0A;
}
.ace-chaos .ace_constant.ace_numeric {
color:#58C554;
}
.ace-chaos .ace_invalid {
color:#FFFFFF;
background-color:#990000;
}
.ace-chaos .ace_invalid.ace_deprecated {
color:#FFFFFF;
background-color:#990000;
}
.ace-chaos .ace_support {
color: #999;
}
.ace-chaos .ace_support.ace_function {
color:#00AEEF;
}
.ace-chaos .ace_function {
color:#00AEEF;
}
.ace-chaos .ace_string {
color:#58C554;
}
.ace-chaos .ace_comment {
color:#555;
font-style:italic;
padding-bottom: 0px;
}
.ace-chaos .ace_variable {
color:#997744;
}
.ace-chaos .ace_meta.ace_tag {
color:#BE53E6;
}
.ace-chaos .ace_entity.ace_other.ace_attribute-name {
color:#FFFF89;
}
.ace-chaos .ace_markup.ace_underline {
text-decoration: underline;
}
.ace-chaos .ace_fold {
background: #222;
border-radius: 3px;
color: #7AF;
border: none;
}
.ace-chaos .ace_fold:hover {
background: #CCC !important;
color: #000 !important;
}
.ace_fold-widget {
height: 10px;
background-position: 3px 3px;
}

33
lib/ace/theme/chaos.js Normal file
View file

@ -0,0 +1,33 @@
/* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright 2011 Irakli Gozalishvili. All rights reserved.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
* ***** END LICENSE BLOCK ***** */
define(function(require, exports, module) {
exports.isDark = true;
exports.cssClass = "ace-chaos";
exports.cssText = require("../requirejs/text!./chaos.css");
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});