generate tomorrow themes
This commit is contained in:
parent
5a7eabbd19
commit
76a41147ef
8 changed files with 1323 additions and 8 deletions
|
|
@ -18,13 +18,13 @@ body {
|
|||
|
||||
#logo {
|
||||
padding: 15px;
|
||||
margin-left: 65px;
|
||||
margin-left: 70px;
|
||||
}
|
||||
|
||||
#editor {
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
left: 280px;
|
||||
left: 300px;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
background: white;
|
||||
|
|
|
|||
|
|
@ -114,6 +114,11 @@
|
|||
<option value="ace/theme/solarized_light">Solarized Light</option>
|
||||
<option value="ace/theme/textmate" selected="selected">TextMate</option>
|
||||
<option value="ace/theme/twilight">Twilight</option>
|
||||
<option value="ace/theme/tomorrow">Tomorrow</option>
|
||||
<option value="ace/theme/tomorrow_night">Tomorrow Night</option>
|
||||
<option value="ace/theme/tomorrow_night_blue">Tomorrow Night Blue</option>
|
||||
<option value="ace/theme/tomorrow_night_bright">Tomorrow Night Bright</option>
|
||||
<option value="ace/theme/tomorrow_night_eighties">Tomorrow Night 80s</option>
|
||||
<option value="ace/theme/vibrant_ink">Vibrant Ink</option>
|
||||
</select>
|
||||
</td>
|
||||
|
|
|
|||
261
lib/ace/theme/tomorrow.js
Normal file
261
lib/ace/theme/tomorrow.js
Normal file
|
|
@ -0,0 +1,261 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Ajax.org Code Editor (ACE).
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Ajax.org B.V.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2010
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Fabian Jakobs <fabian AT ajax DOT org>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
define(function(require, exports, module) {
|
||||
|
||||
var dom = require("pilot/dom");
|
||||
|
||||
var cssText = ".ace-tomorrow .ace_editor {\
|
||||
border: 2px solid rgb(159, 159, 159);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_editor.ace_focus {\
|
||||
border: 2px solid #327fbd;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_gutter {\
|
||||
width: 50px;\
|
||||
background: #e8e8e8;\
|
||||
color: #333;\
|
||||
overflow : hidden;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_gutter-layer {\
|
||||
width: 100%;\
|
||||
text-align: right;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_gutter-layer .ace_gutter-cell {\
|
||||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_scroller {\
|
||||
background-color: #FFFFFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_text-layer {\
|
||||
cursor: text;\
|
||||
color: #4D4D4C;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_cursor {\
|
||||
border-left: 2px solid #AEAFAD;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_cursor.ace_overwrite {\
|
||||
border-left: 0px;\
|
||||
border-bottom: 1px solid #AEAFAD;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_marker-layer .ace_selection {\
|
||||
background: #D6D6D6;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #D1D1D1;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_marker-layer .ace_active_line {\
|
||||
background: #EFEFEF;\
|
||||
}\
|
||||
\
|
||||
\
|
||||
.ace-tomorrow .ace_invisible {\
|
||||
color: #D1D1D1;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_keyword {\
|
||||
color:#8959A8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_keyword.ace_operator {\
|
||||
color:#3E999F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_constant {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_constant.ace_language {\
|
||||
color:#F5871F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_constant.ace_library {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_constant.ace_numeric {\
|
||||
color:#F5871F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_invalid {\
|
||||
color:#FFFFFF;\
|
||||
background-color:#C82829;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_invalid.ace_illegal {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_invalid.ace_deprecated {\
|
||||
color:#FFFFFF;\
|
||||
background-color:#8959A8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_support {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_support.ace_function {\
|
||||
color:#4271AE;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_function.ace_buildin {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_string {\
|
||||
color:#718C00;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_string.ace_regexp {\
|
||||
color:#C82829;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_comment {\
|
||||
color:#8E908C;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_comment.ace_doc {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_comment.ace_doc.ace_tag {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_variable {\
|
||||
color:#C82829;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_variable.ace_language {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_xml_pe {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_meta {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_meta.ace_tag {\
|
||||
color:#C82829;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_meta.ace_tag.ace_input {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_entity.ace_other.ace_attribute-name {\
|
||||
color:#C82829;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_entity.ace_name {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_entity.ace_name.ace_function {\
|
||||
color:#4271AE;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_underline {\
|
||||
text-decoration:underline;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_heading {\
|
||||
color:#718C00;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_heading.ace_1 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_heading.ace_2 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_heading.ace_3 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_heading.ace_4 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_heading.ace_5 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_heading.ace_6 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_markup.ace_list {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow .ace_collab.ace_user1 {\
|
||||
\
|
||||
}";
|
||||
|
||||
// import CSS once
|
||||
dom.importCssString(cssText);
|
||||
|
||||
exports.cssClass = "ace-tomorrow";
|
||||
});
|
||||
261
lib/ace/theme/tomorrow_night.js
Normal file
261
lib/ace/theme/tomorrow_night.js
Normal file
|
|
@ -0,0 +1,261 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Ajax.org Code Editor (ACE).
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Ajax.org B.V.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2010
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Fabian Jakobs <fabian AT ajax DOT org>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
define(function(require, exports, module) {
|
||||
|
||||
var dom = require("pilot/dom");
|
||||
|
||||
var cssText = ".ace-tomorrow-night .ace_editor {\
|
||||
border: 2px solid rgb(159, 159, 159);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_editor.ace_focus {\
|
||||
border: 2px solid #327fbd;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_gutter {\
|
||||
width: 50px;\
|
||||
background: #e8e8e8;\
|
||||
color: #333;\
|
||||
overflow : hidden;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_gutter-layer {\
|
||||
width: 100%;\
|
||||
text-align: right;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_gutter-layer .ace_gutter-cell {\
|
||||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_scroller {\
|
||||
background-color: #1D1F21;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_text-layer {\
|
||||
cursor: text;\
|
||||
color: #C5C8C6;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_cursor {\
|
||||
border-left: 2px solid #AEAFAD;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_cursor.ace_overwrite {\
|
||||
border-left: 0px;\
|
||||
border-bottom: 1px solid #AEAFAD;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_marker-layer .ace_selection {\
|
||||
background: #373B41;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #4B4E55;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_marker-layer .ace_active_line {\
|
||||
background: #282A2E;\
|
||||
}\
|
||||
\
|
||||
\
|
||||
.ace-tomorrow-night .ace_invisible {\
|
||||
color: #4B4E55;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_keyword {\
|
||||
color:#B294BB;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_keyword.ace_operator {\
|
||||
color:#8ABEB7;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_constant {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_constant.ace_language {\
|
||||
color:#DE935F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_constant.ace_library {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_constant.ace_numeric {\
|
||||
color:#DE935F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_invalid {\
|
||||
color:#CED2CF;\
|
||||
background-color:#DF5F5F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_invalid.ace_illegal {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_invalid.ace_deprecated {\
|
||||
color:#CED2CF;\
|
||||
background-color:#B798BF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_support {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_support.ace_function {\
|
||||
color:#81A2BE;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_function.ace_buildin {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_string {\
|
||||
color:#B5BD68;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_string.ace_regexp {\
|
||||
color:#CC6666;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_comment {\
|
||||
color:#969896;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_comment.ace_doc {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_comment.ace_doc.ace_tag {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_variable {\
|
||||
color:#CC6666;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_variable.ace_language {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_xml_pe {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_meta {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_meta.ace_tag {\
|
||||
color:#CC6666;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_meta.ace_tag.ace_input {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name {\
|
||||
color:#CC6666;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_entity.ace_name {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_entity.ace_name.ace_function {\
|
||||
color:#81A2BE;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_underline {\
|
||||
text-decoration:underline;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_heading {\
|
||||
color:#B5BD68;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_heading.ace_1 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_heading.ace_2 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_heading.ace_3 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_heading.ace_4 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_heading.ace_5 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_heading.ace_6 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_markup.ace_list {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night .ace_collab.ace_user1 {\
|
||||
\
|
||||
}";
|
||||
|
||||
// import CSS once
|
||||
dom.importCssString(cssText);
|
||||
|
||||
exports.cssClass = "ace-tomorrow-night";
|
||||
});
|
||||
261
lib/ace/theme/tomorrow_night_blue.js
Normal file
261
lib/ace/theme/tomorrow_night_blue.js
Normal file
|
|
@ -0,0 +1,261 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Ajax.org Code Editor (ACE).
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Ajax.org B.V.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2010
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Fabian Jakobs <fabian AT ajax DOT org>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
define(function(require, exports, module) {
|
||||
|
||||
var dom = require("pilot/dom");
|
||||
|
||||
var cssText = ".ace-tomorrow-night-blue .ace_editor {\
|
||||
border: 2px solid rgb(159, 159, 159);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_editor.ace_focus {\
|
||||
border: 2px solid #327fbd;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_gutter {\
|
||||
width: 50px;\
|
||||
background: #e8e8e8;\
|
||||
color: #333;\
|
||||
overflow : hidden;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_gutter-layer {\
|
||||
width: 100%;\
|
||||
text-align: right;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_gutter-layer .ace_gutter-cell {\
|
||||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_scroller {\
|
||||
background-color: #002451;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_text-layer {\
|
||||
cursor: text;\
|
||||
color: #FFFFFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_cursor {\
|
||||
border-left: 2px solid #FFFFFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_cursor.ace_overwrite {\
|
||||
border-left: 0px;\
|
||||
border-bottom: 1px solid #FFFFFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_marker-layer .ace_selection {\
|
||||
background: #003F8E;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #404F7D;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_marker-layer .ace_active_line {\
|
||||
background: #00346E;\
|
||||
}\
|
||||
\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_invisible {\
|
||||
color: #404F7D;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_keyword {\
|
||||
color:#EBBBFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_keyword.ace_operator {\
|
||||
color:#99FFFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_constant {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_constant.ace_language {\
|
||||
color:#FFC58F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_constant.ace_library {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_constant.ace_numeric {\
|
||||
color:#FFC58F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_invalid {\
|
||||
color:#FFFFFF;\
|
||||
background-color:#F99DA5;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_invalid.ace_illegal {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_invalid.ace_deprecated {\
|
||||
color:#FFFFFF;\
|
||||
background-color:#EBBBFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_support {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_support.ace_function {\
|
||||
color:#BBDAFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_function.ace_buildin {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_string {\
|
||||
color:#D1F1A9;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_string.ace_regexp {\
|
||||
color:#FF9DA4;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_comment {\
|
||||
color:#7285B7;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_comment.ace_doc {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_comment.ace_doc.ace_tag {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_variable {\
|
||||
color:#FF9DA4;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_variable.ace_language {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_xml_pe {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_meta {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_meta.ace_tag {\
|
||||
color:#FF9DA4;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_meta.ace_tag.ace_input {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name {\
|
||||
color:#FF9DA4;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_entity.ace_name {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function {\
|
||||
color:#BBDAFF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_underline {\
|
||||
text-decoration:underline;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_heading {\
|
||||
color:#D1F1A9;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_heading.ace_1 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_heading.ace_2 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_heading.ace_3 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_heading.ace_4 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_heading.ace_5 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_heading.ace_6 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_markup.ace_list {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-blue .ace_collab.ace_user1 {\
|
||||
\
|
||||
}";
|
||||
|
||||
// import CSS once
|
||||
dom.importCssString(cssText);
|
||||
|
||||
exports.cssClass = "ace-tomorrow-night-blue";
|
||||
});
|
||||
261
lib/ace/theme/tomorrow_night_bright.js
Normal file
261
lib/ace/theme/tomorrow_night_bright.js
Normal file
|
|
@ -0,0 +1,261 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Ajax.org Code Editor (ACE).
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Ajax.org B.V.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2010
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Fabian Jakobs <fabian AT ajax DOT org>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
define(function(require, exports, module) {
|
||||
|
||||
var dom = require("pilot/dom");
|
||||
|
||||
var cssText = ".ace-tomorrow-night-bright .ace_editor {\
|
||||
border: 2px solid rgb(159, 159, 159);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_editor.ace_focus {\
|
||||
border: 2px solid #327fbd;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_gutter {\
|
||||
width: 50px;\
|
||||
background: #e8e8e8;\
|
||||
color: #333;\
|
||||
overflow : hidden;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_gutter-layer {\
|
||||
width: 100%;\
|
||||
text-align: right;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_gutter-layer .ace_gutter-cell {\
|
||||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_scroller {\
|
||||
background-color: #000000;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_text-layer {\
|
||||
cursor: text;\
|
||||
color: #DEDEDE;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_cursor {\
|
||||
border-left: 2px solid #9F9F9F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_cursor.ace_overwrite {\
|
||||
border-left: 0px;\
|
||||
border-bottom: 1px solid #9F9F9F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_marker-layer .ace_selection {\
|
||||
background: #424242;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #343434;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_marker-layer .ace_active_line {\
|
||||
background: #2A2A2A;\
|
||||
}\
|
||||
\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_invisible {\
|
||||
color: #343434;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_keyword {\
|
||||
color:#C397D8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_keyword.ace_operator {\
|
||||
color:#70C0B1;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_constant {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_constant.ace_language {\
|
||||
color:#E78C45;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_constant.ace_library {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_constant.ace_numeric {\
|
||||
color:#E78C45;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_invalid {\
|
||||
color:#CED2CF;\
|
||||
background-color:#DF5F5F;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_invalid.ace_illegal {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_invalid.ace_deprecated {\
|
||||
color:#CED2CF;\
|
||||
background-color:#B798BF;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_support {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_support.ace_function {\
|
||||
color:#7AA6DA;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_function.ace_buildin {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_string {\
|
||||
color:#B9CA4A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_string.ace_regexp {\
|
||||
color:#D54E53;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_comment {\
|
||||
color:#969896;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_comment.ace_doc {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_comment.ace_doc.ace_tag {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_variable {\
|
||||
color:#D54E53;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_variable.ace_language {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_xml_pe {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_meta {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_meta.ace_tag {\
|
||||
color:#D54E53;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_meta.ace_tag.ace_input {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name {\
|
||||
color:#D54E53;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_entity.ace_name {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function {\
|
||||
color:#7AA6DA;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_underline {\
|
||||
text-decoration:underline;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_heading {\
|
||||
color:#B9CA4A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_heading.ace_1 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_heading.ace_2 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_heading.ace_3 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_heading.ace_4 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_heading.ace_5 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_heading.ace_6 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_markup.ace_list {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-bright .ace_collab.ace_user1 {\
|
||||
\
|
||||
}";
|
||||
|
||||
// import CSS once
|
||||
dom.importCssString(cssText);
|
||||
|
||||
exports.cssClass = "ace-tomorrow-night-bright";
|
||||
});
|
||||
261
lib/ace/theme/tomorrow_night_eighties.js
Normal file
261
lib/ace/theme/tomorrow_night_eighties.js
Normal file
|
|
@ -0,0 +1,261 @@
|
|||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is Ajax.org Code Editor (ACE).
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Ajax.org B.V.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2010
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Fabian Jakobs <fabian AT ajax DOT org>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
||||
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
define(function(require, exports, module) {
|
||||
|
||||
var dom = require("pilot/dom");
|
||||
|
||||
var cssText = ".ace-tomorrow-night-eighties .ace_editor {\
|
||||
border: 2px solid rgb(159, 159, 159);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_editor.ace_focus {\
|
||||
border: 2px solid #327fbd;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_gutter {\
|
||||
width: 50px;\
|
||||
background: #e8e8e8;\
|
||||
color: #333;\
|
||||
overflow : hidden;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_gutter-layer {\
|
||||
width: 100%;\
|
||||
text-align: right;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_gutter-layer .ace_gutter-cell {\
|
||||
padding-right: 6px;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_print_margin {\
|
||||
width: 1px;\
|
||||
background: #e8e8e8;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_scroller {\
|
||||
background-color: #2D2D2D;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_text-layer {\
|
||||
cursor: text;\
|
||||
color: #CCCCCC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_cursor {\
|
||||
border-left: 2px solid #CCCCCC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_cursor.ace_overwrite {\
|
||||
border-left: 0px;\
|
||||
border-bottom: 1px solid #CCCCCC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_marker-layer .ace_selection {\
|
||||
background: #515151;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_marker-layer .ace_step {\
|
||||
background: rgb(198, 219, 174);\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_marker-layer .ace_bracket {\
|
||||
margin: -1px 0 0 -1px;\
|
||||
border: 1px solid #6A6A6A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_marker-layer .ace_active_line {\
|
||||
background: #393939;\
|
||||
}\
|
||||
\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_invisible {\
|
||||
color: #6A6A6A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_keyword {\
|
||||
color:#CC99CC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_keyword.ace_operator {\
|
||||
color:#66CCCC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_constant {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_constant.ace_language {\
|
||||
color:#F99157;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_constant.ace_library {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_constant.ace_numeric {\
|
||||
color:#F99157;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_invalid {\
|
||||
color:#CDCDCD;\
|
||||
background-color:#F2777A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_invalid.ace_illegal {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_invalid.ace_deprecated {\
|
||||
color:#CDCDCD;\
|
||||
background-color:#CC99CC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_support {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_support.ace_function {\
|
||||
color:#6699CC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_function.ace_buildin {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_string {\
|
||||
color:#99CC99;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_string.ace_regexp {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_comment {\
|
||||
color:#999999;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_comment.ace_doc {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_comment.ace_doc.ace_tag {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_variable {\
|
||||
color:#F2777A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_variable.ace_language {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_xml_pe {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_meta {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_meta.ace_tag {\
|
||||
color:#F2777A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_meta.ace_tag.ace_input {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name {\
|
||||
color:#F2777A;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_entity.ace_name {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function {\
|
||||
color:#6699CC;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_underline {\
|
||||
text-decoration:underline;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_heading {\
|
||||
color:#99CC99;\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_heading.ace_1 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_heading.ace_2 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_heading.ace_3 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_heading.ace_4 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_heading.ace_5 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_heading.ace_6 {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_markup.ace_list {\
|
||||
\
|
||||
}\
|
||||
\
|
||||
.ace-tomorrow-night-eighties .ace_collab.ace_user1 {\
|
||||
\
|
||||
}";
|
||||
|
||||
// import CSS once
|
||||
dom.importCssString(cssText);
|
||||
|
||||
exports.cssClass = "ace-tomorrow-night-eighties";
|
||||
});
|
||||
|
|
@ -6,7 +6,7 @@ function plistToJson(el) {
|
|||
throw new Error("not a plist!");
|
||||
|
||||
return $plistParse(el.selectSingleNode("dict"));
|
||||
};
|
||||
}
|
||||
|
||||
function $plistParse(el) {
|
||||
if (el.tagName == "dict") {
|
||||
|
|
@ -31,7 +31,7 @@ function $plistParse(el) {
|
|||
}
|
||||
else if (el.tagName == "array") {
|
||||
var arr = [];
|
||||
var childNodes = el.childNodes;
|
||||
var childNodes = el.childNodes;
|
||||
for (var i=0, l=childNodes.length; i<l; i++) {
|
||||
var child = childNodes[i];
|
||||
if (child.nodeType !== 1)
|
||||
|
|
@ -51,7 +51,7 @@ function $plistParse(el) {
|
|||
function parseTheme(themeXml) {
|
||||
try {
|
||||
return plistToJson(xml.parseFromString(themeXml).documentElement);
|
||||
} catch(e) { return }
|
||||
} catch(e) { return; }
|
||||
}
|
||||
|
||||
var supportedScopes = {
|
||||
|
|
@ -135,7 +135,7 @@ function extractStyles(theme) {
|
|||
}
|
||||
|
||||
return colors;
|
||||
};
|
||||
}
|
||||
|
||||
function parseColor(color) {
|
||||
if (color.length == 7)
|
||||
|
|
@ -183,7 +183,7 @@ function createTheme(name, styles, cssTemplate, jsTemplate) {
|
|||
css: '"' + css.replace(/\\/, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\\n") + '"',
|
||||
cssClass: "ace-" + hyphenate(name)
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
function hyphenate(str) {
|
||||
return str.replace(/([A-Z])/g, "-$1").replace(/_/g, "-").toLowerCase();
|
||||
|
|
@ -207,8 +207,13 @@ var themes = {
|
|||
"kr_theme": "krTheme",
|
||||
"solarized_light": "Solarized-light",
|
||||
"solarized_dark": "Solarized-dark",
|
||||
"tomorrow": "Tomorrow",
|
||||
"tomorrow_night": "Tomorrow-Night",
|
||||
"tomorrow_night_blue": "Tomorrow-Night-Blue",
|
||||
"tomorrow_night_bright": "Tomorrow-Night-Bright",
|
||||
"tomorrow_night_eighties": "Tomorrow-Night-Eighties",
|
||||
"vibrant_ink": "Vibrant Ink"
|
||||
}
|
||||
};
|
||||
|
||||
for (var name in themes) {
|
||||
console.log("Converting " + name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue