fix bug in converter and add two new themes

This commit is contained in:
nightwing 2013-10-30 17:33:54 +04:00
commit 4d88770435
25 changed files with 346 additions and 51 deletions

View file

@ -8,7 +8,7 @@
background: #232323
}
.ace-clouds-midnight{
.ace-clouds-midnight {
background-color: #191919;
color: #929292
}
@ -109,5 +109,5 @@
}
.ace-clouds-midnight .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -106,6 +106,17 @@
color: #0088FF
}
.ace-cobalt .ace_heading,
.ace-cobalt .ace_markup.ace_heading {
color: #C8E4FD;
background-color: #001221
}
.ace-cobalt .ace_list,
.ace-cobalt .ace_markup.ace_list {
background-color: #130D26
}
.ace-cobalt .ace_variable {
color: #CCCCCC
}
@ -118,15 +129,6 @@
color: #9EFFFF
}
.ace-cobalt .ace_heading {
color: #C8E4FD;
background-color: #001221
}
.ace-cobalt .ace_list {
background-color: #130D26
}
.ace-cobalt .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHCLSvkPAAP3AgSDTRd4AAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -90,6 +90,7 @@
}
.ace-dawn .ace_list,
.ace-dawn .ace_markup.ace_list,
.ace-dawn .ace_support.ace_function {
color: #693A17
}
@ -112,14 +113,15 @@
color: #5A525F
}
.ace-dawn .ace_heading,
.ace-dawn .ace_markup.ace_heading {
color: #19356D
}
.ace-dawn .ace_variable {
color: #234A97
}
.ace-dawn .ace_heading {
color: #19356D
}
.ace-dawn .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYLh/5+x/AAizA4hxNNsZAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -109,5 +109,5 @@
}
.ace-idle-fingers .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjLyZYiPj/8PAAreAwAI1+g0AAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -0,0 +1,140 @@
.ace-katzenmilch .ace_gutter,
/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: ) */
.ace-katzenmilch .ace_gutter {
background: #e8e8e8;
color: #333
}
.ace-katzenmilch .ace_print-margin {
width: 1px;
background: #e8e8e8
}
.ace-katzenmilch {
background-color: #f3f2f3;
color: rgba(15, 0, 9, 1.0)
}
.ace-katzenmilch .ace_cursor {
border-left: 2px solid #100011
}
.ace-katzenmilch .ace_overwrite-cursors .ace_cursor {
border-left: 0px;
border-bottom: 1px solid #100011
}
.ace-katzenmilch .ace_marker-layer .ace_selection {
background: rgba(100, 5, 208, 0.27)
}
.ace-katzenmilch.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #f3f2f3;
border-radius: 2px
}
.ace-katzenmilch .ace_marker-layer .ace_step {
background: rgb(198, 219, 174)
}
.ace-katzenmilch .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #000000
}
.ace-katzenmilch .ace_marker-layer .ace_active-line {
background: rgb(232, 242, 254)
}
.ace-katzenmilch .ace_gutter-active-line {
background-color: rgb(232, 242, 254)
}
.ace-katzenmilch .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(100, 5, 208, 0.27)
}
.ace-katzenmilch .ace_fold {
background-color: rgba(2, 95, 73, 0.97);
border-color: rgba(15, 0, 9, 1.0)
}
.ace-katzenmilch .ace_keyword {
color: #674Aa8;
rbackground-color: rgba(163, 170, 216, 0.055)
}
.ace-katzenmilch .ace_constant.ace_language {
color: #7D7e52;
rbackground-color: rgba(189, 190, 130, 0.059)
}
.ace-katzenmilch .ace_constant.ace_numeric {
color: rgba(79, 130, 123, 0.93);
rbackground-color: rgba(119, 194, 187, 0.059)
}
.ace-katzenmilch .ace_constant.ace_character,
.ace-katzenmilch .ace_constant.ace_other {
color: rgba(2, 95, 105, 1.0);
rbackground-color: rgba(127, 34, 153, 0.063)
}
.ace-katzenmilch .ace_support.ace_function {
color: #9D7e62;
rbackground-color: rgba(189, 190, 130, 0.039)
}
.ace-katzenmilch .ace_support.ace_class {
color: rgba(239, 106, 167, 1.0);
rbackground-color: rgba(239, 106, 167, 0.063)
}
.ace-katzenmilch .ace_storage {
color: rgba(123, 92, 191, 1.0);
rbackground-color: rgba(139, 93, 223, 0.051)
}
.ace-katzenmilch .ace_invalid {
color: #DFDFD5;
rbackground-color: #CC1B27
}
.ace-katzenmilch .ace_string {
color: #5a5f9b;
rbackground-color: rgba(170, 175, 219, 0.035)
}
.ace-katzenmilch .ace_comment {
font-style: italic;
color: rgba(64, 79, 80, 0.67);
rbackground-color: rgba(95, 15, 255, 0.0078)
}
.ace-katzenmilch .ace_entity.ace_name.ace_function,
.ace-katzenmilch .ace_variable {
color: rgba(2, 95, 73, 0.97);
rbackground-color: rgba(34, 255, 73, 0.12)
}
.ace-katzenmilch .ace_variable.ace_language {
color: #316fcf;
rbackground-color: rgba(58, 175, 255, 0.039)
}
.ace-katzenmilch .ace_variable.ace_parameter {
font-style: italic;
color: rgba(51, 150, 159, 0.87);
rbackground-color: rgba(5, 214, 249, 0.043)
}
.ace-katzenmilch .ace_entity.ace_other.ace_attribute-name {
color: rgba(73, 70, 194, 0.93);
rbackground-color: rgba(73, 134, 194, 0.035)
}
.ace-katzenmilch .ace_entity.ace_name.ace_tag {
color: #3976a2;
rbackground-color: rgba(73, 166, 210, 0.039)
}

View file

@ -0,0 +1,39 @@
/* ***** 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-katzenmilch";
exports.cssText = require("../requirejs/text!./katzenmilch.css");
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -106,6 +106,11 @@
color: #D1A796
}
.ace-kr-theme .ace_list,
.ace-kr-theme .ace_markup.ace_list {
background-color: #0F0040
}
.ace-kr-theme .ace_variable.ace_language {
color: #FF80E1
}
@ -114,10 +119,6 @@
color: #BABD9C
}
.ace-kr-theme .ace_list {
background-color: #0F0040
}
.ace-kr-theme .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y
}

68
lib/ace/theme/kuroir.css Normal file
View file

@ -0,0 +1,68 @@
/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: 467560D0-6ACE-4409-82FD-4791420837AC) */
.ace-kuroir .ace_gutter {
background: #e8e8e8;
color: #333;
}
.ace-kuroir .ace_print-margin {
width: 1px;
background: #e8e8e8;
}
.ace-kuroir {
background-color: #E8E9E8;
color: #363636;
}
.ace-kuroir .ace_cursor {
color: #202020;
}
.ace-kuroir .ace_marker-layer .ace_selection {
background: rgba(245, 170, 0, 0.57);
}
.ace-kuroir.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #E8E9E8;
border-radius: 2px;
}
.ace-kuroir .ace_marker-layer .ace_step {
background: rgb(198, 219, 174);
}
.ace-kuroir .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid rgba(0, 0, 0, 0.29);
}
.ace-kuroir .ace_marker-layer .ace_active-line {
background: rgba(203, 220, 47, 0.22);
}
.ace-kuroir .ace_gutter-active-line {
background-color: rgba(203, 220, 47, 0.22);
}
.ace-kuroir .ace_marker-layer .ace_selected-word {
border: 1px solid rgba(245, 170, 0, 0.57);
}
.ace-kuroir .ace_fold {
background-color: ;
border-color: #363636;
}
.ace-kuroir .ace_constant{color:#CD6839;}.ace-kuroir .ace_constant.ace_numeric{color:#9A5925;}.ace-kuroir .ace_support{color:#104E8B;}.ace-kuroir .ace_support.ace_function{color:#005273;}.ace-kuroir .ace_support.ace_constant{color:#CF6A4C;}.ace-kuroir .ace_storage{color:#A52A2A;}.ace-kuroir .ace_invalid.ace_illegal{color:#FD1224;
background-color:rgba(255, 6, 0, 0.15);}.ace-kuroir .ace_invalid.ace_deprecated{text-decoration:underline;
font-style:italic;
color:#FD1732;
background-color:#E8E9E8;}.ace-kuroir .ace_string{color:#639300;}.ace-kuroir .ace_string.ace_regexp{color:#417E00;
background-color:#C9D4BE;}.ace-kuroir .ace_comment{color:rgba(148, 148, 148, 0.91);
background-color:rgba(220, 220, 220, 0.56);}.ace-kuroir .ace_variable{color:#009ACD;}.ace-kuroir .ace_meta.ace_tag{color:#005273;}.ace-kuroir .ace_markup.ace_heading{color:#B8012D;
background-color:rgba(191, 97, 51, 0.051);}.ace-kuroir .ace_markup.ace_list{color:#8F5B26;}

39
lib/ace/theme/kuroir.js Normal file
View file

@ -0,0 +1,39 @@
/* ***** 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-kuroir";
exports.cssText = require("../requirejs/text!./kuroir.css");
var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass);
});

View file

@ -106,5 +106,5 @@
}
.ace-merbivore .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQFxf3ZXB1df0PAAdsAmERTkEHAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -107,5 +107,5 @@
}
.ace-merbivore-soft .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkpLyZfD09PwPAAfYAnaStpHRAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -122,5 +122,5 @@
}
.ace-mono-industrial .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ1NbwZfALD/4PAAlTArlEC4r/AAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -118,5 +118,5 @@
}
.ace-monokai .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -125,5 +125,5 @@
}
.ace-pastel-on-dark .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYIiPj/8PAARgAh2NTMh8AAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYIiPj/8PAARgAh2NTMh8AAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -18,7 +18,8 @@
color: #93A1A1
}
.ace-solarized-dark .ace_cursor {
.ace-solarized-dark .ace_cursor,
.ace-solarized-dark .ace_string.ace_regexp {
color: #D30102
}
@ -90,15 +91,11 @@
color: #2AA198
}
.ace-solarized-dark .ace_string.ace_regexp {
color: #D30102
}
.ace-solarized-dark .ace_comment {
font-style: italic;
color: #657B83
}
.ace-solarized-dark .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db1ZVCxc/sPAAd4AlUHlLenAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db1ZVCxc/sPAAd4AlUHlLenAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -18,7 +18,7 @@
}
.ace-solarized-light .ace_marker-layer .ace_selection {
background: rgba(7, 54, 67, 0.09)
background: rgba(7, 54, 67, 0.09)
}
.ace-solarized-light.ace_multiselect .ace_selection.ace_start {
@ -102,5 +102,5 @@
}
.ace-solarized-light .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHjy8NJ/AAjgA5fzQUmBAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHjy8NJ/AAjgA5fzQUmBAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -103,6 +103,7 @@
}
.ace-tomorrow .ace_heading,
.ace-tomorrow .ace_markup.ace_heading,
.ace-tomorrow .ace_string {
color: #718C00
}

View file

@ -8,7 +8,7 @@
background: #25282c
}
.ace-tomorrow-night {
.ace-tomorrow-night {
background-color: #1D1F21;
color: #C5C8C6
}
@ -103,6 +103,7 @@
}
.ace-tomorrow-night .ace_heading,
.ace-tomorrow-night .ace_markup.ace_heading,
.ace-tomorrow-night .ace_string {
color: #B5BD68
}
@ -120,5 +121,5 @@
}
.ace-tomorrow-night .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -13,10 +13,7 @@
color: #FFFFFF
}
.ace-tomorrow-night-blue .ace_constant.ace_other {
color: #FFFFFF
}
.ace-tomorrow-night-blue .ace_constant.ace_other,
.ace-tomorrow-night-blue .ace_cursor {
color: #FFFFFF
}
@ -103,6 +100,7 @@
}
.ace-tomorrow-night-blue .ace_heading,
.ace-tomorrow-night-blue .ace_markup.ace_heading,
.ace-tomorrow-night-blue .ace_string {
color: #D1F1A9
}
@ -120,5 +118,5 @@
}
.ace-tomorrow-night-blue .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYJDzqfwPAANXAeNsiA+ZAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYJDzqfwPAANXAeNsiA+ZAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -51,7 +51,7 @@
}
.ace-tomorrow-night-bright .ace_stack {
background-color: rgb(66, 90, 44);
background-color: rgb(66, 90, 44)
}
.ace-tomorrow-night-bright .ace_marker-layer .ace_selected-word {
@ -114,6 +114,7 @@
}
.ace-tomorrow-night-bright .ace_heading,
.ace-tomorrow-night-bright .ace_markup.ace_heading,
.ace-tomorrow-night-bright .ace_string {
color: #B9CA4A
}
@ -135,5 +136,5 @@
}
.ace-tomorrow-night-bright .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYFBXV/8PAAJoAXX4kT2EAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -13,10 +13,7 @@
color: #CCCCCC
}
.ace-tomorrow-night-eighties .ace_constant.ace_other {
color: #CCCCCC
}
.ace-tomorrow-night-eighties .ace_constant.ace_other,
.ace-tomorrow-night-eighties .ace_cursor {
color: #CCCCCC
}
@ -107,6 +104,7 @@
}
.ace-tomorrow-night-eighties .ace_heading,
.ace-tomorrow-night-eighties .ace_markup.ace_heading,
.ace-tomorrow-night-eighties .ace_string {
color: #99CC99
}

View file

@ -61,6 +61,7 @@
.ace-twilight .ace_constant.ace_character.ace_escape,
.ace-twilight .ace_constant.ace_other,
.ace-twilight .ace_heading,
.ace-twilight .ace_markup.ace_heading,
.ace-twilight .ace_support.ace_constant {
color: #CF6A4C
}
@ -90,6 +91,7 @@
}
.ace-twilight .ace_list,
.ace-twilight .ace_markup.ace_list,
.ace-twilight .ace_storage {
color: #F9EE98
}
@ -122,5 +124,5 @@
}
.ace-twilight .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERFpYLC1tf0PAAgOAnPnhxyiAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -106,5 +106,5 @@
}
.ace-vibrant-ink .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYNDTc/oPAALPAZ7hxlbYAAAAAElFTkSuQmCC) right repeat-y
}

View file

@ -1,3 +1,4 @@
.ace-xcode .ace_gutter,
/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: EE3AD170-2B7F-4DE1-B724-C75F13FE0085) */
.ace-xcode .ace_gutter {

View file

@ -157,9 +157,13 @@ function luma(color) {
}
function parseColor(color) {
if (color.length == 4)
color = color.replace(/[a-fA-F\d]/g, "$&$&");
if (color.length == 7)
return color;
else {
if (!color.match(/^#(..)(..)(..)(..)$/))
console.error("can't parse color", color);
var rgba = color.match(/^#(..)(..)(..)(..)$/).slice(1).map(function(c) {
return parseInt(c, 16);
});
@ -247,6 +251,7 @@ var themes = {
"solarized_dark": "Solarized-dark",
"solarized_light": "Solarized-light",
"katzenmilch": "Katzenmilch",
"kuroir": "Kuroir Theme",
//"textmate": "Textmate (Mac Classic)",
"tomorrow": "Tomorrow",
"tomorrow_night": "Tomorrow-Night",