new sublime theme
This commit is contained in:
parent
a2e05ac438
commit
22f802a9ff
2 changed files with 182 additions and 0 deletions
142
lib/ace/theme/sublime.css
Normal file
142
lib/ace/theme/sublime.css
Normal file
|
|
@ -0,0 +1,142 @@
|
|||
.ace-sublime .ace_gutter {
|
||||
background: #dddddd;
|
||||
color: #666666
|
||||
}
|
||||
|
||||
.ace-sublime .ace_print-margin {
|
||||
width: 1px;
|
||||
background: #555651
|
||||
}
|
||||
|
||||
.ace-sublime {
|
||||
background-color: #eeeeee;
|
||||
color: #333333
|
||||
}
|
||||
|
||||
.ace-sublime .ace_cursor {
|
||||
color: #333
|
||||
}
|
||||
|
||||
.ace-sublime .ace_marker-layer .ace_selection {
|
||||
background: #BAD6FD;
|
||||
border-radius: 4px
|
||||
}
|
||||
|
||||
.ace-sublime.ace_multiselect .ace_selection.ace_start {
|
||||
border-radius: 4px
|
||||
}
|
||||
|
||||
.ace-sublime .ace_marker-layer .ace_step {
|
||||
background: #444444
|
||||
}
|
||||
|
||||
.ace-sublime .ace_marker-layer .ace_bracket {
|
||||
margin: -1px 0 0 -1px;
|
||||
border: 1px solid #49483E;
|
||||
background: #FFF799
|
||||
}
|
||||
|
||||
.ace-sublime .ace_marker-layer .ace_active-line {
|
||||
background: #e5e5e5
|
||||
}
|
||||
|
||||
.ace-sublime .ace_gutter-active-line {
|
||||
background-color: #eeeeee
|
||||
}
|
||||
|
||||
.ace-sublime .ace_marker-layer .ace_selected-word {
|
||||
border: 1px solid #555555;
|
||||
border-radius:4px
|
||||
}
|
||||
|
||||
.ace-sublime .ace_invisible {
|
||||
color: #999999
|
||||
}
|
||||
|
||||
.ace-sublime .ace_entity.ace_name.ace_tag,
|
||||
.ace-sublime .ace_keyword,
|
||||
.ace-sublime .ace_meta.ace_tag,
|
||||
.ace-sublime .ace_storage {
|
||||
color: #0000FF
|
||||
}
|
||||
|
||||
.ace-sublime .ace_punctuation,
|
||||
.ace-sublime .ace_punctuation.ace_tag {
|
||||
color: #000
|
||||
}
|
||||
|
||||
.ace-sublime .ace_constant {
|
||||
color: #333333;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.ace-sublime .ace_constant.ace_character,
|
||||
.ace-sublime .ace_constant.ace_language,
|
||||
.ace-sublime .ace_constant.ace_numeric,
|
||||
.ace-sublime .ace_constant.ace_other {
|
||||
color: #0066FF;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.ace-sublime .ace_constant.ace_numeric{
|
||||
font-weight: 100
|
||||
}
|
||||
|
||||
.ace-sublime .ace_invalid {
|
||||
color: #F8F8F0;
|
||||
background-color: #F92672
|
||||
}
|
||||
|
||||
.ace-sublime .ace_invalid.ace_deprecated {
|
||||
color: #F8F8F0;
|
||||
background-color: #AE81FF
|
||||
}
|
||||
|
||||
.ace-sublime .ace_support.ace_constant,
|
||||
.ace-sublime .ace_support.ace_function {
|
||||
color: #333333;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.ace-sublime .ace_fold {
|
||||
background-color: #464646;
|
||||
border-color: #F8F8F2
|
||||
}
|
||||
|
||||
.ace-sublime .ace_storage.ace_type,
|
||||
.ace-sublime .ace_support.ace_class,
|
||||
.ace-sublime .ace_support.ace_type {
|
||||
color: #3333fc;
|
||||
font-weight: 700
|
||||
}
|
||||
|
||||
.ace-sublime .ace_entity.ace_name.ace_function,
|
||||
.ace-sublime .ace_entity.ace_other,
|
||||
.ace-sublime .ace_entity.ace_other.ace_attribute-name,
|
||||
.ace-sublime .ace_variable {
|
||||
color: #3366cc;
|
||||
font-style: italic
|
||||
}
|
||||
|
||||
.ace-sublime .ace_variable.ace_parameter {
|
||||
font-style: italic;
|
||||
color: #2469E0
|
||||
}
|
||||
|
||||
.ace-sublime .ace_string {
|
||||
color: #a55f03
|
||||
}
|
||||
|
||||
.ace-sublime .ace_comment {
|
||||
color: #777777;
|
||||
font-style: italic
|
||||
}
|
||||
|
||||
.ace-sublime .ace_fold-widget {
|
||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==);
|
||||
}
|
||||
|
||||
.ace-sublime .ace_indent-guide {
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y
|
||||
}
|
||||
|
||||
40
lib/ace/theme/sublime.js
Normal file
40
lib/ace/theme/sublime.js
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Distributed under the BSD license:
|
||||
*
|
||||
* Copyright (c) 2010, Ajax.org B.V.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of Ajax.org B.V. nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
define(function(require, exports, module) {
|
||||
|
||||
exports.isDark = false;
|
||||
exports.cssClass = "ace-sublime";
|
||||
exports.cssText = require("../requirejs/text!./sublime.css");
|
||||
|
||||
var dom = require("../lib/dom");
|
||||
dom.importCssString(exports.cssText, exports.cssClass);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue