diff --git a/kitchen-sink.html b/kitchen-sink.html index 551df8c5..1140d2a4 100644 --- a/kitchen-sink.html +++ b/kitchen-sink.html @@ -78,6 +78,7 @@ + @@ -279,4 +280,4 @@ PACKAGE--> - + \ No newline at end of file diff --git a/lib/ace/theme/chaos.css b/lib/ace/theme/chaos.css new file mode 100644 index 00000000..a2b6c9eb --- /dev/null +++ b/lib/ace/theme/chaos.css @@ -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; +} \ No newline at end of file diff --git a/lib/ace/theme/chaos.js b/lib/ace/theme/chaos.js new file mode 100644 index 00000000..9ee83720 --- /dev/null +++ b/lib/ace/theme/chaos.js @@ -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); + +}); \ No newline at end of file