Make updates to theme parser logic and tool

This commit is contained in:
Garen Torikian 2012-09-11 17:05:36 -07:00
commit 8b3f8c6c06
44 changed files with 1250 additions and 974 deletions

View file

@ -6,12 +6,12 @@ Ace is a standalone code editor written in JavaScript. Our goal is to create a b
Features Features
-------- --------
* Syntax highlighting * Syntax highlighting for over 40 languages (_.tmlanguage_ files can be imported)
* Over 20 themes (TextMate themes can be imported)
* Automatic indent and outdent * Automatic indent and outdent
* An optional command line * An optional command line
* Handles huge documents (100,000 lines and more are no problem) * Handles huge documents (4,000,000 lines is the upper limit)
* Fully customizable key bindings including VIM and Emacs modes * Fully customizable key bindings including vim and Emacs modes
* Themes (TextMate themes can be imported)
* Search and replace with regular expressions * Search and replace with regular expressions
* Highlight matching parentheses * Highlight matching parentheses
* Toggle between soft tabs and real tabs * Toggle between soft tabs and real tabs
@ -19,8 +19,9 @@ Features
* Drag and drop text using the mouse * Drag and drop text using the mouse
* Line wrapping * Line wrapping
* Code folding * Code folding
* Multiple selections * Multiple cursors and selections
* Live syntax checker (currently JavaScript/CoffeeScript/Css/XQuery) * Live syntax checker (currently JavaScript/CoffeeScript/CSS/XQuery)
* Cut, copy, and paste functionality
Take Ace for a spin! Take Ace for a spin!
-------------------- --------------------
@ -29,15 +30,6 @@ Check out the Ace live [demo](http://ajaxorg.github.com/ace/build/kitchen-sink.h
If you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.com/ace/build/textarea/editor.html). If you want, you can use Ace as a textarea replacement thanks to the [Ace Bookmarklet](http://ajaxorg.github.com/ace/build/textarea/editor.html).
Getting the code
----------------
Ace is a community project. We actively encourage and support contributions. The Ace source code is hosted on GitHub. It is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
```bash
git clone git://github.com/ajaxorg/ace.git
```
Embedding Ace Embedding Ace
------------- -------------
@ -82,30 +74,28 @@ By default the editor only supports plain text mode; many other languages are av
<script src="src/mode-javascript.js" type="text/javascript" charset="utf-8"></script> <script src="src/mode-javascript.js" type="text/javascript" charset="utf-8"></script>
``` ```
Then the mode can be used like this: The mode can then be used like this:
```javascript ```javascript
var JavaScriptMode = require("ace/mode/javascript").Mode; var JavaScriptMode = require("ace/mode/javascript").Mode;
editor.getSession().setMode(new JavaScriptMode()); editor.getSession().setMode(new JavaScriptMode());
``` ```
and take a look at the one of [included](https://github.com/ajaxorg/ace-builds/blob/master/editor.html) [demos](https://github.com/ajaxorg/ace/blob/master/demo/kitchen-sink/demo.js) of how to use Ace.
Documentation Documentation
------------- -------------
You can find api documentation at [http://ajaxorg.github.com/ace/api/index.html](http://ajaxorg.github.com/ace/api/index.html). Additional usage information, including events to listen to and extending syntax highlighters, can be found [on the main Ace website](http://ace.ajax.org).
And a lot more sample code in the [demo app](https://github.com/ajaxorg/ace/blob/master/demo/kitchen-sink/demo.js). You can also find API documentation at [http://ajaxorg.github.com/ace/api/index.html](http://ajaxorg.github.com/ace/api/index.html).
There is also some documentation on the [wiki page](https://github.com/ajaxorg/ace/wiki). Also check out the sample code for the kitchen sink [demo app](https://github.com/ajaxorg/ace/blob/master/demo/kitchen-sink/demo.js).
If you still need help, feel free to drop a mail on the [ace mailing list](http://groups.google.com/group/ace-discuss). If you still need help, feel free to drop a mail on the [ace mailing list](http://groups.google.com/group/ace-discuss), or at `irc.freenode.net#ace`.
Running Ace Running Ace
----------- -----------
After the checkout Ace works out of the box. No build step is required. To open editor with a file:/// URL see [wiki](https://github.com/ajaxorg/ace/wiki/Running-Ace-from-file:---). Or Simply start bundled mini HTTP server: After the checkout Ace works out of the box. No build step is required. To try it out, simply start the bundled mini HTTP server:
```bash ```bash
./static.py ./static.py
@ -120,16 +110,31 @@ Or using Node.JS
The editor can then be opened at http://localhost:8888/kitchen-sink.html. The editor can then be opened at http://localhost:8888/kitchen-sink.html.
Package Ace To open the editor with a file:/// URL see [the wiki](https://github.com/ajaxorg/ace/wiki/Running-Ace-from-a-file:).
Building Ace
----------- -----------
To package Ace we use the dryice build tool developed by the Mozilla Skywriter team. (see the [wiki](https://github.com/ajaxorg/ace/wiki/Building-ace) for more details) You do not generally need to build ACE. The [ace-builds repository](https://github.com/ajaxorg/ace-builds/) endeavours to maintain the latest build, and you can just copy one of _src*_ subdirectories somewhere into your project.
However, all you need is Node.js and npm installed to package ACE. Just run `npm install` in the ace folder to install dependencies:
```bash ```bash
npm install npm install
node ./Makefile.dryice.js node ./Makefile.dryice.js
``` ```
To package Ace, we use the dryice build tool developed by the Mozilla Skywriter team. (see the [wiki](https://github.com/ajaxorg/ace/wiki/Building-ace) for more details) Call `node Makefile.dryice.js` on the command-line to start the packing. This build script accepts following options
```bash
-m minify build files with uglify-js
-nc namespace require and define calls with "ace"
-bm builds the bookmarklet version
--target ./path specify relative path for output folder (default value is "./build")
```
To generate all the files in ace-builds repository run node Makefile.dryice.js full --target ../ace-builds
Running the Unit Tests Running the Unit Tests
---------------------- ----------------------
@ -151,10 +156,13 @@ Continuous Integration status
This project is tested with [Travis CI](http://travis-ci.org) This project is tested with [Travis CI](http://travis-ci.org)
[![Build Status](https://secure.travis-ci.org/ajaxorg/ace.png)](http://travis-ci.org/ajaxorg/ace) [![Build Status](https://secure.travis-ci.org/ajaxorg/ace.png)](http://travis-ci.org/ajaxorg/ace)
Contributing
------------
Ace wouldn't be what it is without contributions! Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. To protect the interests of the Ace contributors and users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is the simplest of agreements, requiring that the contributions you make to an ajax.org project are only those you're allowed to make. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes ten minutes, and only needs to be completed once. There are two versions of the agreement: Contributing
----------------
Ace is a community project and wouldn't be what it is without contributions! We actively encourage and support contributions. The Ace source code is hosted on GitHub. It is released under the BSD License. This license is very simple, and is friendly to all kinds of projects, whether open source or not. Take charge of your editor and add your favorite language highlighting and keybindings!
Feel free to fork and improve/enhance Ace any way you want. If you feel that the editor or the Ace community will benefit from your changes, please open a pull request. To protect the interests of the Ace contributors and users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is the simplest of agreements, requiring that the contributions you make to an ajax.org project are only those you're allowed to make. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes ten minutes, and only needs to be completed once. There are two versions of the agreement:
1. [The Individual CLA](https://github.com/ajaxorg/ace/raw/master/doc/Contributor_License_Agreement-v2.pdf): use this version if you're working on an ajax.org in your spare time, or can clearly claim ownership of copyright in what you'll be submitting. 1. [The Individual CLA](https://github.com/ajaxorg/ace/raw/master/doc/Contributor_License_Agreement-v2.pdf): use this version if you're working on an ajax.org in your spare time, or can clearly claim ownership of copyright in what you'll be submitting.
2. [The Corporate CLA](https://github.com/ajaxorg/ace/raw/master/doc/Corporate_Contributor_License_Agreement-v2.pdf): have your corporate lawyer review and submit this if your company is going to be contributing to ajax.org projects 2. [The Corporate CLA](https://github.com/ajaxorg/ace/raw/master/doc/Corporate_Contributor_License_Agreement-v2.pdf): have your corporate lawyer review and submit this if your company is going to be contributing to ajax.org projects

View file

@ -1,124 +1,161 @@
.ace-clouds .ace_editor { .ace-clouds .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-clouds .ace_editor.ace_focus { .ace-clouds .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-clouds .ace_gutter { .ace-clouds .ace_gutter {
background: #ebebeb; background: #ebebeb;
color: #333; color: #333
} }
.ace-clouds .ace_print_margin { .ace-clouds .ace_print_margin {
width: 1px; width: 1px;
background: #e8e8e8; background: #e8e8e8
} }
.ace-clouds .ace_scroller { .ace-clouds .ace_scroller {
background-color: #FFFFFF; background-color: #FFFFFF
} }
.ace-clouds .ace_text-layer { .ace-clouds .ace_text-layer {
color: #000000; color: #000000
} }
.ace-clouds .ace_cursor { .ace-clouds .ace_cursor {
border-left: 2px solid #000000; border-left: 2px solid #000000
} }
.ace-clouds .ace_cursor.ace_overwrite { .ace-clouds .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #000000; border-bottom: 1px solid #000000
} }
.ace-clouds .ace_marker-layer .ace_selection { .ace-clouds .ace_marker-layer .ace_selection {
background: #BDD5FC; background: #BDD5FC
} }
.ace-clouds.multiselect .ace_selection.start { .ace-clouds.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #FFFFFF; box-shadow: 0 0 3px 0px #FFFFFF;
border-radius: 2px; border-radius: 2px
} }
.ace-clouds .ace_marker-layer .ace_step { .ace-clouds .ace_marker-layer .ace_step {
background: rgb(255, 255, 0); background: rgb(255, 255, 0)
} }
.ace-clouds .ace_marker-layer .ace_bracket { .ace-clouds .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #BFBFBF; border: 1px solid #BFBFBF
} }
.ace-clouds .ace_marker-layer .ace_active_line { .ace-clouds .ace_marker-layer .ace_active_line {
background: #FFFBD1; background: #FFFBD1
} }
.ace-clouds .ace_gutter_active_line { .ace-clouds .ace_gutter_active_line {
background-color : #dcdcdc; background-color : #dcdcdc
} }
.ace-clouds .ace_marker-layer .ace_selected_word { .ace-clouds .ace_marker-layer .ace_selected_word {
border: 1px solid #BDD5FC; border: 1px solid #BDD5FC
} }
.ace-clouds .ace_invisible { .ace-clouds .ace_invisible {
color: #BFBFBF; color: #BFBFBF
} }
.ace-clouds .ace_keyword, .ace-clouds .ace_meta { .ace-clouds .ace_keyword,
color:#AF956F; .ace-clouds .ace_meta {
color: #AF956F
} }
.ace-clouds .ace_keyword.ace_operator { .ace-clouds .ace_keyword.ace_operator {
color:#484848; color: #484848
}
.ace-clouds .ace_keyword.ace_other.ace_unit {
color: #96DC5F
}
.ace-clouds .ace_constant.ace_character.ace_entity {
color: #BF78CC
} }
.ace-clouds .ace_constant.ace_language { .ace-clouds .ace_constant.ace_language {
color:#39946A; color: #39946A
} }
.ace-clouds .ace_constant.ace_numeric { .ace-clouds .ace_constant.ace_numeric {
color:#46A609; color: #46A609
}
.ace-clouds .ace_constant.ace_other.ace_color {
color: #AF956F
} }
.ace-clouds .ace_invalid { .ace-clouds .ace_invalid {
background-color:#FF002A; background-color: #FF002A
}
.ace-clouds support.constant.property-value {
color: #BF78CC
} }
.ace-clouds .ace_fold { .ace-clouds .ace_fold {
background-color: #AF956F; background-color: #AF956F;
border-color: #000000; border-color: #000000
}
.ace-clouds .ace_support.ace_function {
color: #C52727
} }
.ace-clouds .ace_support.ace_function, .ace-clouds .ace_support.ace_function,
.ace-clouds .ace_support.ace_class, .ace-clouds .ace_support.ace_class,
.ace-clouds .ace_support.ace_type, .ace-clouds .ace_support.ace_type,
.ace-clouds .ace_support.ace_other { .ace-clouds .ace_support.ace_other {
color:#C52727; color: #C52727
} }
.ace-clouds .ace_storage { .ace-clouds .ace_storage {
color:#C52727; color: #C52727
} }
.ace-clouds .ace_string { .ace-clouds .ace_string {
color:#5D90CD; color: #5D90CD
}
.ace-clouds .ace_meta.ace_selector {
color: #C52727
}
.ace-clouds .ace_variable.ace_language {
color: #39946A
}
.ace-clouds .ace_entity.ace_other.ace_inherited-class {
color: #858585
}
.ace-clouds .ace_entity.ace_name.ace_tag {
color: #606060
} }
.ace-clouds .ace_comment { .ace-clouds .ace_comment {
color:#BCC8BA; color: #BCC8BA
} }
.ace-clouds .ace_entity.ace_other.ace_attribute-name { .ace-clouds .ace_entity.ace_other.ace_attribute-name {
color:#606060; color: #606060
} }
.ace-clouds .ace_markup.ace_underline { .ace-clouds .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-clouds .ace_indent-guide { .ace-clouds .ace_indent-guide {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y; background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-clouds"; exports.cssClass = "ace-clouds";
exports.cssText = require('ace/requirejs/text!./clouds.css'); exports.cssText = require('ace/requirejs/text!./clouds.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,126 +1,146 @@
.ace-clouds-midnight .ace_editor { .ace-clouds-midnight .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-clouds-midnight .ace_editor.ace_focus { .ace-clouds-midnight .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-clouds-midnight .ace_gutter { .ace-clouds-midnight .ace_gutter {
background: #232323; background: #232323;
color: #929292; color: #929292
} }
.ace-clouds-midnight .ace_print_margin { .ace-clouds-midnight .ace_print_margin {
width: 1px; width: 1px;
background: #232323; background: #232323
} }
.ace-clouds-midnight .ace_scroller { .ace-clouds-midnight .ace_scroller {
background-color: #191919; background-color: #191919
} }
.ace-clouds-midnight .ace_text-layer { .ace-clouds-midnight .ace_text-layer {
color: #929292; color: #929292
} }
.ace-clouds-midnight .ace_cursor { .ace-clouds-midnight .ace_cursor {
border-left: 2px solid #7DA5DC; border-left: 2px solid #7DA5DC
} }
.ace-clouds-midnight .ace_cursor.ace_overwrite { .ace-clouds-midnight .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #7DA5DC; border-bottom: 1px solid #7DA5DC
} }
.ace-clouds-midnight .ace_marker-layer .ace_selection { .ace-clouds-midnight .ace_marker-layer .ace_selection {
background: #000000; background: #000000
} }
.ace-clouds-midnight.multiselect .ace_selection.start { .ace-clouds-midnight.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #191919; box-shadow: 0 0 3px 0px #191919;
border-radius: 2px; border-radius: 2px
} }
.ace-clouds-midnight .ace_marker-layer .ace_step { .ace-clouds-midnight .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-clouds-midnight .ace_marker-layer .ace_bracket { .ace-clouds-midnight .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #BFBFBF; border: 1px solid #BFBFBF
} }
.ace-clouds-midnight .ace_marker-layer .ace_active_line { .ace-clouds-midnight .ace_marker-layer .ace_active_line {
background: rgba(215, 215, 215, 0.031); background: rgba(215, 215, 215, 0.031)
} }
.ace-clouds-midnight .ace_gutter_active_line { .ace-clouds-midnight .ace_gutter_active_line {
background-color: rgba(215, 215, 215, 0.031); background-color: rgba(215, 215, 215, 0.031)
} }
.ace-clouds-midnight .ace_marker-layer .ace_selected_word { .ace-clouds-midnight .ace_marker-layer .ace_selected_word {
border: 1px solid #000000; border: 1px solid #000000
} }
.ace-clouds-midnight .ace_invisible { .ace-clouds-midnight .ace_invisible {
color: #BFBFBF; color: #BFBFBF
} }
.ace-clouds-midnight .ace_keyword, .ace-clouds-midnight .ace_meta { .ace-clouds-midnight .ace_keyword,
color:#927C5D; .ace-clouds-midnight .ace_meta {
color: #927C5D
} }
.ace-clouds-midnight .ace_keyword.ace_operator { .ace-clouds-midnight .ace_keyword.ace_operator {
color:#4B4B4B; color: #4B4B4B
}
.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {
color: #366F1A
}
.ace-clouds-midnight .ace_constant.ace_character.ace_entity {
color: #A165AC
} }
.ace-clouds-midnight .ace_constant.ace_language { .ace-clouds-midnight .ace_constant.ace_language {
color:#39946A; color: #39946A
} }
.ace-clouds-midnight .ace_constant.ace_numeric { .ace-clouds-midnight .ace_constant.ace_numeric {
color:#46A609; color: #46A609
} }
.ace-clouds-midnight .ace_invalid { .ace-clouds-midnight .ace_invalid {
color:#FFFFFF; color: #FFFFFF;
background-color:#E92E2E; background-color: #E92E2E
}
.ace-clouds-midnight support.constant.property-value {
color: #927C5D
} }
.ace-clouds-midnight .ace_fold { .ace-clouds-midnight .ace_fold {
background-color: #927C5D; background-color: #927C5D;
border-color: #929292; border-color: #929292
}
.ace-clouds-midnight .ace_support.ace_function {
color: #E92E2E
} }
.ace-clouds-midnight .ace_support.ace_function, .ace-clouds-midnight .ace_support.ace_function,
.ace-clouds-midnight .ace_support.ace_class, .ace-clouds-midnight .ace_support.ace_class,
.ace-clouds-midnight .ace_support.ace_type, .ace-clouds-midnight .ace_support.ace_type,
.ace-clouds-midnight .ace_support.ace_other { .ace-clouds-midnight .ace_support.ace_other {
color:#E92E2E; color: #E92E2E
} }
.ace-clouds-midnight .ace_storage { .ace-clouds-midnight .ace_storage {
color:#E92E2E; color: #E92E2E
} }
.ace-clouds-midnight .ace_string { .ace-clouds-midnight .ace_string {
color:#5D90CD; color: #5D90CD
} }
.ace-clouds-midnight .ace_comment { .ace-clouds-midnight .ace_comment {
color:#3C403B; color: #3C403B
}
.ace-clouds-midnight .ace_entity.ace_name.ace_tag {
color: #606060
} }
.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name { .ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {
color:#606060; color: #606060
} }
.ace-clouds-midnight .ace_markup.ace_underline { .ace-clouds-midnight .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-clouds-midnight .ace_indent-guide { .ace-clouds-midnight .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlJT8z1BeXv4fAA2KA6+h9Z+2AAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlJT8z1BeXv4fAA2KA6+h9Z+2AAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-clouds-midnight"; exports.cssClass = "ace-clouds-midnight";
exports.cssText = require('ace/requirejs/text!./clouds_midnight.css'); exports.cssText = require('ace/requirejs/text!./clouds_midnight.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,147 +1,152 @@
.ace-cobalt .ace_editor { .ace-cobalt .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-cobalt .ace_editor.ace_focus { .ace-cobalt .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-cobalt .ace_gutter { .ace-cobalt .ace_gutter {
background: #011e3a; background: #011e3a;
color: #fff; color: #fff
} }
.ace-cobalt .ace_print_margin { .ace-cobalt .ace_print_margin {
width: 1px; width: 1px;
background: #011e3a; background: #011e3a
} }
.ace-cobalt .ace_scroller { .ace-cobalt .ace_scroller {
background-color: #002240; background-color: #002240
} }
.ace-cobalt .ace_text-layer { .ace-cobalt .ace_text-layer {
color: #FFFFFF; color: #FFFFFF
} }
.ace-cobalt .ace_cursor { .ace-cobalt .ace_cursor {
border-left: 2px solid #FFFFFF; border-left: 2px solid #FFFFFF
} }
.ace-cobalt .ace_cursor.ace_overwrite { .ace-cobalt .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF
} }
.ace-cobalt .ace_marker-layer .ace_selection { .ace-cobalt .ace_marker-layer .ace_selection {
background: rgba(179, 101, 57, 0.75); background: rgba(179, 101, 57, 0.75)
} }
.ace-cobalt.multiselect .ace_selection.start { .ace-cobalt.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #002240; box-shadow: 0 0 3px 0px #002240;
border-radius: 2px; border-radius: 2px
} }
.ace-cobalt .ace_marker-layer .ace_step { .ace-cobalt .ace_marker-layer .ace_step {
background: rgb(127, 111, 19); background: rgb(127, 111, 19)
} }
.ace-cobalt .ace_marker-layer .ace_bracket { .ace-cobalt .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.15)
} }
.ace-cobalt .ace_marker-layer .ace_active_line { .ace-cobalt .ace_marker-layer .ace_active_line {
background: rgba(0, 0, 0, 0.35); background: rgba(0, 0, 0, 0.35)
} }
.ace-cobalt .ace_gutter_active_line { .ace-cobalt .ace_gutter_active_line {
background-color: rgba(0, 0, 0, 0.35); background-color: rgba(0, 0, 0, 0.35)
} }
.ace-cobalt .ace_marker-layer .ace_selected_word { .ace-cobalt .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(179, 101, 57, 0.75); border: 1px solid rgba(179, 101, 57, 0.75)
} }
.ace-cobalt .ace_invisible { .ace-cobalt .ace_invisible {
color: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.15)
} }
.ace-cobalt .ace_keyword, .ace-cobalt .ace_meta { .ace-cobalt .ace_keyword,
color:#FF9D00; .ace-cobalt .ace_meta {
color: #FF9D00
} }
.ace-cobalt .ace_constant, .ace-cobalt .ace_constant.ace_other { .ace-cobalt .ace_constant,
color:#FF628C; .ace-cobalt .ace_constant.ace_other {
color: #FF628C
} }
.ace-cobalt .ace_constant.ace_character, { .ace-cobalt .ace_constant.ace_character,
color:#FF628C; {
color: #FF628C
} }
.ace-cobalt .ace_constant.ace_character.ace_escape, { .ace-cobalt .ace_constant.ace_character.ace_escape,
color:#FF628C; {
color: #FF628C
} }
.ace-cobalt .ace_invalid { .ace-cobalt .ace_invalid {
color:#F8F8F8; color: #F8F8F8;
background-color:#800F00; background-color: #800F00
} }
.ace-cobalt .ace_support { .ace-cobalt .ace_support {
color:#80FFBB; color: #80FFBB
} }
.ace-cobalt .ace_support.ace_constant { .ace-cobalt .ace_support.ace_constant {
color:#EB939A; color: #EB939A
} }
.ace-cobalt .ace_fold { .ace-cobalt .ace_fold {
background-color: #FF9D00; background-color: #FF9D00;
border-color: #FFFFFF; border-color: #FFFFFF
} }
.ace-cobalt .ace_support.ace_function { .ace-cobalt .ace_support.ace_function {
color:#FFB054; color: #FFB054
} }
.ace-cobalt .ace_storage { .ace-cobalt .ace_storage {
color:#FFEE80; color: #FFEE80
} }
.ace-cobalt .ace_string.ace_regexp { .ace-cobalt .ace_string.ace_regexp {
color:#80FFC2; color: #80FFC2
} }
.ace-cobalt .ace_comment { .ace-cobalt .ace_comment {
font-style:italic; font-style: italic;
color:#0088FF; color: #0088FF
} }
.ace-cobalt .ace_variable { .ace-cobalt .ace_variable {
color:#CCCCCC; color: #CCCCCC
} }
.ace-cobalt .ace_variable.ace_language { .ace-cobalt .ace_variable.ace_language {
color:#FF80E1; color: #FF80E1
} }
.ace-cobalt .ace_meta.ace_tag { .ace-cobalt .ace_meta.ace_tag {
color:#9EFFFF; color: #9EFFFF
} }
.ace-cobalt .ace_markup.ace_underline { .ace-cobalt .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-cobalt .ace_markup.ace_heading { .ace-cobalt .ace_markup.ace_heading {
color:#C8E4FD; color: #C8E4FD;
background-color:#001221; background-color: #001221
} }
.ace-cobalt .ace_markup.ace_list { .ace-cobalt .ace_markup.ace_list {
background-color:#130D26; background-color: #130D26
} }
.ace-cobalt .ace_indent-guide { .ace-cobalt .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUHL4zzBz5sz/AA80BCzv+WXhAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-cobalt"; exports.cssClass = "ace-cobalt";
exports.cssText = require('ace/requirejs/text!./cobalt.css'); exports.cssText = require('ace/requirejs/text!./cobalt.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,153 +1,156 @@
.ace-dawn .ace_editor { .ace-dawn .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-dawn .ace_editor.ace_focus { .ace-dawn .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-dawn .ace_gutter { .ace-dawn .ace_gutter {
background: #ebebeb; background: #ebebeb;
color: #333; color: #333
} }
.ace-dawn .ace_print_margin { .ace-dawn .ace_print_margin {
width: 1px; width: 1px;
background: #e8e8e8; background: #e8e8e8
} }
.ace-dawn .ace_scroller { .ace-dawn .ace_scroller {
background-color: #F9F9F9; background-color: #F9F9F9
} }
.ace-dawn .ace_text-layer { .ace-dawn .ace_text-layer {
color: #080808; color: #080808
} }
.ace-dawn .ace_cursor { .ace-dawn .ace_cursor {
border-left: 2px solid #000000; border-left: 2px solid #000000
} }
.ace-dawn .ace_cursor.ace_overwrite { .ace-dawn .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #000000; border-bottom: 1px solid #000000
} }
.ace-dawn .ace_marker-layer .ace_selection { .ace-dawn .ace_marker-layer .ace_selection {
background: rgba(39, 95, 255, 0.30); background: rgba(39, 95, 255, 0.30)
} }
.ace-dawn.multiselect .ace_selection.start { .ace-dawn.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #F9F9F9; box-shadow: 0 0 3px 0px #F9F9F9;
border-radius: 2px; border-radius: 2px
} }
.ace-dawn .ace_marker-layer .ace_step { .ace-dawn .ace_marker-layer .ace_step {
background: rgb(255, 255, 0); background: rgb(255, 255, 0)
} }
.ace-dawn .ace_marker-layer .ace_bracket { .ace-dawn .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(75, 75, 126, 0.50); border: 1px solid rgba(75, 75, 126, 0.50)
} }
.ace-dawn .ace_marker-layer .ace_active_line { .ace-dawn .ace_marker-layer .ace_active_line {
background: rgba(36, 99, 180, 0.12); background: rgba(36, 99, 180, 0.12)
} }
.ace-dawn .ace_gutter_active_line { .ace-dawn .ace_gutter_active_line {
background-color : #dcdcdc; background-color : #dcdcdc
} }
.ace-dawn .ace_marker-layer .ace_selected_word { .ace-dawn .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(39, 95, 255, 0.30); border: 1px solid rgba(39, 95, 255, 0.30)
} }
.ace-dawn .ace_invisible { .ace-dawn .ace_invisible {
color: rgba(75, 75, 126, 0.50); color: rgba(75, 75, 126, 0.50)
} }
.ace-dawn .ace_keyword, .ace-dawn .ace_meta { .ace-dawn .ace_keyword,
color:#794938; .ace-dawn .ace_meta {
color: #794938
} }
.ace-dawn .ace_constant, .ace-dawn .ace_constant.ace_other { .ace-dawn .ace_constant,
color:#811F24; .ace-dawn .ace_constant.ace_other {
color: #811F24
} }
.ace-dawn .ace_constant.ace_character, { .ace-dawn .ace_constant.ace_character,
color:#811F24; {
color: #811F24
} }
.ace-dawn .ace_constant.ace_character.ace_escape, { .ace-dawn .ace_constant.ace_character.ace_escape,
color:#811F24; {
color: #811F24
} }
.ace-dawn .ace_invalid.ace_illegal { .ace-dawn .ace_invalid.ace_illegal {
text-decoration:underline; text-decoration: underline;
font-style:italic; font-style: italic;
color:#F8F8F8; color: #F8F8F8;
background-color:#B52A1D; background-color: #B52A1D
} }
.ace-dawn .ace_invalid.ace_deprecated { .ace-dawn .ace_invalid.ace_deprecated {
text-decoration:underline; text-decoration: underline;
font-style:italic; font-style: italic;
color:#B52A1D; color: #B52A1D
} }
.ace-dawn .ace_support { .ace-dawn .ace_support {
color:#691C97; color: #691C97
} }
.ace-dawn .ace_support.ace_constant { .ace-dawn .ace_support.ace_constant {
color:#B4371F; color: #B4371F
} }
.ace-dawn .ace_fold { .ace-dawn .ace_fold {
background-color: #794938; background-color: #794938;
border-color: #080808; border-color: #080808
} }
.ace-dawn .ace_support.ace_function { .ace-dawn .ace_support.ace_function {
color:#693A17; color: #693A17
} }
.ace-dawn .ace_storage { .ace-dawn .ace_storage {
font-style:italic; font-style: italic;
color:#A71D5D; color: #A71D5D
} }
.ace-dawn .ace_string { .ace-dawn .ace_string {
color:#0B6125; color: #0B6125
} }
.ace-dawn .ace_string.ace_regexp { .ace-dawn .ace_string.ace_regexp {
color:#CF5628; color: #CF5628
} }
.ace-dawn .ace_comment { .ace-dawn .ace_comment {
font-style:italic; font-style: italic;
color:#5A525F; color: #5A525F
} }
.ace-dawn .ace_variable { .ace-dawn .ace_variable {
color:#234A97; color: #234A97
} }
.ace-dawn .ace_markup.ace_underline { .ace-dawn .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-dawn .ace_markup.ace_heading { .ace-dawn .ace_markup.ace_heading {
color:#19356D; color: #19356D
} }
.ace-dawn .ace_markup.ace_list { .ace-dawn .ace_markup.ace_list {
color:#693A17; color: #693A17
} }
.ace-dawn .ace_indent-guide { .ace-dawn .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4+fPnf4ZVq1b9BwAkVQboFQv98gAAAABJRU5ErkJggg==) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-dawn"; exports.cssClass = "ace-dawn";
exports.cssText = require('ace/requirejs/text!./dawn.css'); exports.cssText = require('ace/requirejs/text!./dawn.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,141 +1,144 @@
.ace-idle-fingers .ace_editor { .ace-idle-fingers .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-idle-fingers .ace_editor.ace_focus { .ace-idle-fingers .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-idle-fingers .ace_gutter { .ace-idle-fingers .ace_gutter {
background: #3b3b3b; background: #3b3b3b;
color: #fff; color: #fff
} }
.ace-idle-fingers .ace_print_margin { .ace-idle-fingers .ace_print_margin {
width: 1px; width: 1px;
background: #3b3b3b; background: #3b3b3b
} }
.ace-idle-fingers .ace_scroller { .ace-idle-fingers .ace_scroller {
background-color: #323232; background-color: #323232
} }
.ace-idle-fingers .ace_text-layer { .ace-idle-fingers .ace_text-layer {
color: #FFFFFF; color: #FFFFFF
} }
.ace-idle-fingers .ace_cursor { .ace-idle-fingers .ace_cursor {
border-left: 2px solid #91FF00; border-left: 2px solid #91FF00
} }
.ace-idle-fingers .ace_cursor.ace_overwrite { .ace-idle-fingers .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #91FF00; border-bottom: 1px solid #91FF00
} }
.ace-idle-fingers .ace_marker-layer .ace_selection { .ace-idle-fingers .ace_marker-layer .ace_selection {
background: rgba(90, 100, 126, 0.88); background: rgba(90, 100, 126, 0.88)
} }
.ace-idle-fingers.multiselect .ace_selection.start { .ace-idle-fingers.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #323232; box-shadow: 0 0 3px 0px #323232;
border-radius: 2px; border-radius: 2px
} }
.ace-idle-fingers .ace_marker-layer .ace_step { .ace-idle-fingers .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-idle-fingers .ace_marker-layer .ace_bracket { .ace-idle-fingers .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #404040; border: 1px solid #404040
} }
.ace-idle-fingers .ace_marker-layer .ace_active_line { .ace-idle-fingers .ace_marker-layer .ace_active_line {
background: #353637; background: #353637
} }
.ace-idle-fingers .ace_gutter_active_line { .ace-idle-fingers .ace_gutter_active_line {
background-color: #353637; background-color: #353637
} }
.ace-idle-fingers .ace_marker-layer .ace_selected_word { .ace-idle-fingers .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(90, 100, 126, 0.88); border: 1px solid rgba(90, 100, 126, 0.88)
} }
.ace-idle-fingers .ace_invisible { .ace-idle-fingers .ace_invisible {
color: #404040; color: #404040
} }
.ace-idle-fingers .ace_keyword, .ace-idle-fingers .ace_meta { .ace-idle-fingers .ace_keyword,
color:#CC7833; .ace-idle-fingers .ace_meta {
color: #CC7833
} }
.ace-idle-fingers .ace_constant, .ace-idle-fingers .ace_constant.ace_other { .ace-idle-fingers .ace_constant,
color:#6C99BB; .ace-idle-fingers .ace_constant.ace_other {
color: #6C99BB
} }
.ace-idle-fingers .ace_constant.ace_character, { .ace-idle-fingers .ace_constant.ace_character,
color:#6C99BB; {
color: #6C99BB
} }
.ace-idle-fingers .ace_constant.ace_character.ace_escape, { .ace-idle-fingers .ace_constant.ace_character.ace_escape,
color:#6C99BB; {
color: #6C99BB
} }
.ace-idle-fingers .ace_invalid { .ace-idle-fingers .ace_invalid {
color:#FFFFFF; color: #FFFFFF;
background-color:#FF0000; background-color: #FF0000
} }
.ace-idle-fingers .ace_support.ace_constant { .ace-idle-fingers .ace_support.ace_constant {
color:#6C99BB; color: #6C99BB
} }
.ace-idle-fingers .ace_fold { .ace-idle-fingers .ace_fold {
background-color: #CC7833; background-color: #CC7833;
border-color: #FFFFFF; border-color: #FFFFFF
} }
.ace-idle-fingers .ace_support.ace_function { .ace-idle-fingers .ace_support.ace_function {
color:#B83426; color: #B83426
} }
.ace-idle-fingers .ace_variable.ace_parameter { .ace-idle-fingers .ace_variable.ace_parameter {
font-style:italic; font-style: italic
} }
.ace-idle-fingers .ace_string { .ace-idle-fingers .ace_string {
color:#A5C261; color: #A5C261
} }
.ace-idle-fingers .ace_string.ace_regexp { .ace-idle-fingers .ace_string.ace_regexp {
color:#CCCC33; color: #CCCC33
} }
.ace-idle-fingers .ace_comment { .ace-idle-fingers .ace_comment {
font-style:italic; font-style: italic;
color:#BC9458; color: #BC9458
} }
.ace-idle-fingers .ace_meta.ace_tag { .ace-idle-fingers .ace_meta.ace_tag {
color:#FFE5BB; color: #FFE5BB
} }
.ace-idle-fingers .ace_entity.ace_name { .ace-idle-fingers .ace_entity.ace_name {
color:#FFC66D; color: #FFC66D
} }
.ace-idle-fingers .ace_markup.ace_underline { .ace-idle-fingers .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-idle-fingers .ace_collab.ace_user1 { .ace-idle-fingers .ace_collab.ace_user1 {
color:#323232; color: #323232;
background-color:#FFF980; background-color: #FFF980
} }
.ace-idle-fingers .ace_indent-guide { .ace-idle-fingers .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMwMjL6zzBz5sz/ABEUBGCqhK6UAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-idle-fingers"; exports.cssClass = "ace-idle-fingers";
exports.cssText = require('ace/requirejs/text!./idle_fingers.css'); exports.cssText = require('ace/requirejs/text!./idle_fingers.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,144 +1,147 @@
.ace-kr-theme .ace_editor { .ace-kr-theme .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-kr-theme .ace_editor.ace_focus { .ace-kr-theme .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-kr-theme .ace_gutter { .ace-kr-theme .ace_gutter {
background: #1c1917; background: #1c1917;
color: #FCFFE0; color: #FCFFE0
} }
.ace-kr-theme .ace_print_margin { .ace-kr-theme .ace_print_margin {
width: 1px; width: 1px;
background: #1c1917; background: #1c1917
} }
.ace-kr-theme .ace_scroller { .ace-kr-theme .ace_scroller {
background-color: #0B0A09; background-color: #0B0A09
} }
.ace-kr-theme .ace_text-layer { .ace-kr-theme .ace_text-layer {
color: #FCFFE0; color: #FCFFE0
} }
.ace-kr-theme .ace_cursor { .ace-kr-theme .ace_cursor {
border-left: 2px solid #FF9900; border-left: 2px solid #FF9900
} }
.ace-kr-theme .ace_cursor.ace_overwrite { .ace-kr-theme .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #FF9900; border-bottom: 1px solid #FF9900
} }
.ace-kr-theme .ace_marker-layer .ace_selection { .ace-kr-theme .ace_marker-layer .ace_selection {
background: rgba(170, 0, 255, 0.45); background: rgba(170, 0, 255, 0.45)
} }
.ace-kr-theme.multiselect .ace_selection.start { .ace-kr-theme.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #0B0A09; box-shadow: 0 0 3px 0px #0B0A09;
border-radius: 2px; border-radius: 2px
} }
.ace-kr-theme .ace_marker-layer .ace_step { .ace-kr-theme .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-kr-theme .ace_marker-layer .ace_bracket { .ace-kr-theme .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 177, 111, 0.32); border: 1px solid rgba(255, 177, 111, 0.32)
} }
.ace-kr-theme .ace_marker-layer .ace_active_line { .ace-kr-theme .ace_marker-layer .ace_active_line {
background: #38403D; background: #38403D
} }
.ace-kr-theme .ace_gutter_active_line { .ace-kr-theme .ace_gutter_active_line {
background-color : #38403D; background-color : #38403D
} }
.ace-kr-theme .ace_marker-layer .ace_selected_word { .ace-kr-theme .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(170, 0, 255, 0.45); border: 1px solid rgba(170, 0, 255, 0.45)
} }
.ace-kr-theme .ace_invisible { .ace-kr-theme .ace_invisible {
color: rgba(255, 177, 111, 0.32); color: rgba(255, 177, 111, 0.32)
} }
.ace-kr-theme .ace_keyword, .ace-kr-theme .ace_meta { .ace-kr-theme .ace_keyword,
color:#949C8B; .ace-kr-theme .ace_meta {
color: #949C8B
} }
.ace-kr-theme .ace_constant, .ace-kr-theme .ace_constant.ace_other { .ace-kr-theme .ace_constant,
color:rgba(210, 117, 24, 0.76); .ace-kr-theme .ace_constant.ace_other {
color: rgba(210, 117, 24, 0.76)
} }
.ace-kr-theme .ace_constant.ace_character, { .ace-kr-theme .ace_constant.ace_character,
color:rgba(210, 117, 24, 0.76); {
color: rgba(210, 117, 24, 0.76)
} }
.ace-kr-theme .ace_constant.ace_character.ace_escape, { .ace-kr-theme .ace_constant.ace_character.ace_escape,
color:rgba(210, 117, 24, 0.76); {
color: rgba(210, 117, 24, 0.76)
} }
.ace-kr-theme .ace_invalid { .ace-kr-theme .ace_invalid {
color:#F8F8F8; color: #F8F8F8;
background-color:#A41300; background-color: #A41300
} }
.ace-kr-theme .ace_support { .ace-kr-theme .ace_support {
color:#9FC28A; color: #9FC28A
} }
.ace-kr-theme .ace_support.ace_constant { .ace-kr-theme .ace_support.ace_constant {
color:#C27E66; color: #C27E66
} }
.ace-kr-theme .ace_fold { .ace-kr-theme .ace_fold {
background-color: #949C8B; background-color: #949C8B;
border-color: #FCFFE0; border-color: #FCFFE0
} }
.ace-kr-theme .ace_support.ace_function { .ace-kr-theme .ace_support.ace_function {
color:#85873A; color: #85873A
} }
.ace-kr-theme .ace_storage { .ace-kr-theme .ace_storage {
color:#FFEE80; color: #FFEE80
} }
.ace-kr-theme .ace_string.ace_regexp { .ace-kr-theme .ace_string.ace_regexp {
color:rgba(125, 255, 192, 0.65); color: rgba(125, 255, 192, 0.65)
} }
.ace-kr-theme .ace_comment { .ace-kr-theme .ace_comment {
font-style:italic; font-style: italic;
color:#706D5B; color: #706D5B
} }
.ace-kr-theme .ace_variable { .ace-kr-theme .ace_variable {
color:#D1A796; color: #D1A796
} }
.ace-kr-theme .ace_variable.ace_language { .ace-kr-theme .ace_variable.ace_language {
color:#FF80E1; color: #FF80E1
} }
.ace-kr-theme .ace_meta.ace_tag { .ace-kr-theme .ace_meta.ace_tag {
color:#BABD9C; color: #BABD9C
} }
.ace-kr-theme .ace_markup.ace_underline { .ace-kr-theme .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-kr-theme .ace_markup.ace_list { .ace-kr-theme .ace_markup.ace_list {
background-color:#0F0040; background-color: #0F0040
} }
.ace-kr-theme .ace_indent-guide { .ace-kr-theme .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5uL8zzBz5sz/AA1WA+hUYIqjAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-kr-theme"; exports.cssClass = "ace-kr-theme";
exports.cssText = require('ace/requirejs/text!./kr_theme.css'); exports.cssText = require('ace/requirejs/text!./kr_theme.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,148 +1,159 @@
.ace-merbivore .ace_editor { .ace-merbivore .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-merbivore .ace_editor.ace_focus { .ace-merbivore .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-merbivore .ace_gutter { .ace-merbivore .ace_gutter {
background: #202020; background: #202020;
color: #E6E1DC; color: #E6E1DC
} }
.ace-merbivore .ace_print_margin { .ace-merbivore .ace_print_margin {
width: 1px; width: 1px;
background: #555651; background: #555651
} }
.ace-merbivore .ace_scroller { .ace-merbivore .ace_scroller {
background-color: #161616; background-color: #161616
} }
.ace-merbivore .ace_text-layer { .ace-merbivore .ace_text-layer {
color: #E6E1DC; color: #E6E1DC
} }
.ace-merbivore .ace_cursor { .ace-merbivore .ace_cursor {
border-left: 2px solid #FFFFFF; border-left: 2px solid #FFFFFF
} }
.ace-merbivore .ace_cursor.ace_overwrite { .ace-merbivore .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF
} }
.ace-merbivore .ace_marker-layer .ace_selection { .ace-merbivore .ace_marker-layer .ace_selection {
background: #454545; background: #454545
} }
.ace-merbivore.multiselect .ace_selection.start { .ace-merbivore.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #161616; box-shadow: 0 0 3px 0px #161616;
border-radius: 2px; border-radius: 2px
} }
.ace-merbivore .ace_marker-layer .ace_step { .ace-merbivore .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-merbivore .ace_marker-layer .ace_bracket { .ace-merbivore .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #404040; border: 1px solid #404040
} }
.ace-merbivore .ace_marker-layer .ace_active_line { .ace-merbivore .ace_marker-layer .ace_active_line {
background: #333435; background: #333435
} }
.ace-merbivore .ace_gutter_active_line { .ace-merbivore .ace_gutter_active_line {
background-color: #333435; background-color: #333435
} }
.ace-merbivore .ace_marker-layer .ace_selected_word { .ace-merbivore .ace_marker-layer .ace_selected_word {
border: 1px solid #454545; border: 1px solid #454545
} }
.ace-merbivore .ace_invisible { .ace-merbivore .ace_invisible {
color: #404040; color: #404040
} }
.ace-merbivore .ace_keyword, .ace-merbivore .ace_meta { .ace-merbivore .ace_keyword,
color:#FC6F09; .ace-merbivore .ace_meta {
color: #FC6F09
} }
.ace-merbivore .ace_constant, .ace-merbivore .ace_constant.ace_other { .ace-merbivore .ace_constant,
color:#1EDAFB; .ace-merbivore .ace_constant.ace_other {
color: #1EDAFB
} }
.ace-merbivore .ace_constant.ace_character, { .ace-merbivore .ace_constant.ace_character.ace_escape {
color:#1EDAFB; color: #519F50
} }
.ace-merbivore .ace_constant.ace_character.ace_escape, { .ace-merbivore .ace_constant.ace_character,
color:#1EDAFB; {
color: #1EDAFB
}
.ace-merbivore .ace_constant.ace_character.ace_escape,
{
color: #1EDAFB
} }
.ace-merbivore .ace_constant.ace_language { .ace-merbivore .ace_constant.ace_language {
color:#FDC251; color: #FDC251
} }
.ace-merbivore .ace_constant.ace_library { .ace-merbivore .ace_constant.ace_library {
color:#8DFF0A; color: #8DFF0A
} }
.ace-merbivore .ace_constant.ace_numeric { .ace-merbivore .ace_constant.ace_numeric {
color:#58C554; color: #58C554
} }
.ace-merbivore .ace_invalid { .ace-merbivore .ace_invalid {
color:#FFFFFF; color: #FFFFFF;
background-color:#990000; background-color: #990000
} }
.ace-merbivore .ace_support.ace_constant { .ace-merbivore .ace_support.ace_constant {
color:#8DFF0A; color: #8DFF0A
} }
.ace-merbivore .ace_fold { .ace-merbivore .ace_fold {
background-color: #FC6F09; background-color: #FC6F09;
border-color: #E6E1DC; border-color: #E6E1DC
} }
.ace-merbivore .ace_support.ace_function { .ace-merbivore .ace_support.ace_function {
color:#FC6F09; color: #FC6F09
} }
.ace-merbivore .ace_support.ace_type { .ace-merbivore .ace_support.ace_type {
color:#1EDAFB; color: #1EDAFB
} }
.ace-merbivore .ace_storage { .ace-merbivore .ace_storage {
color:#FC6F09; color: #FC6F09
} }
.ace-merbivore .ace_string { .ace-merbivore .ace_string {
color:#8DFF0A; color: #8DFF0A
} }
.ace-merbivore .ace_comment { .ace-merbivore .ace_comment {
font-style:italic; font-style: italic;
color:#AD2EA4; color: #AD2EA4
}
.ace-merbivore .ace_entity.ace_name.ace_tag {
color: #FC6F09
} }
.ace-merbivore .ace_meta.ace_tag { .ace-merbivore .ace_meta.ace_tag {
color:#FC6F09; color: #FC6F09
} }
.ace-merbivore .ace_entity.ace_other.ace_attribute-name { .ace-merbivore .ace_entity.ace_other.ace_attribute-name {
color:#FFFF89; color: #FFFF89
} }
.ace-merbivore .ace_markup.ace_underline { .ace-merbivore .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-merbivore .ace_indent-guide { .ace-merbivore .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQExP7zzBz5sz/AA50BAyDznYhAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-merbivore"; exports.cssClass = "ace-merbivore";
exports.cssText = require('ace/requirejs/text!./merbivore.css'); exports.cssText = require('ace/requirejs/text!./merbivore.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,154 +1,165 @@
.ace-merbivore-soft .ace_editor { .ace-merbivore-soft .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-merbivore-soft .ace_editor.ace_focus { .ace-merbivore-soft .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-merbivore-soft .ace_gutter { .ace-merbivore-soft .ace_gutter {
background: #262424; background: #262424;
color: #E6E1DC; color: #E6E1DC
} }
.ace-merbivore-soft .ace_print_margin { .ace-merbivore-soft .ace_print_margin {
width: 1px; width: 1px;
background: #262424; background: #262424
} }
.ace-merbivore-soft .ace_scroller { .ace-merbivore-soft .ace_scroller {
background-color: #1C1C1C; background-color: #1C1C1C
} }
.ace-merbivore-soft .ace_text-layer { .ace-merbivore-soft .ace_text-layer {
color: #E6E1DC; color: #E6E1DC
} }
.ace-merbivore-soft .ace_cursor { .ace-merbivore-soft .ace_cursor {
border-left: 2px solid #FFFFFF; border-left: 2px solid #FFFFFF
} }
.ace-merbivore-soft .ace_cursor.ace_overwrite { .ace-merbivore-soft .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF
} }
.ace-merbivore-soft .ace_marker-layer .ace_selection { .ace-merbivore-soft .ace_marker-layer .ace_selection {
background: #494949; background: #494949
} }
.ace-merbivore-soft.multiselect .ace_selection.start { .ace-merbivore-soft.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #1C1C1C; box-shadow: 0 0 3px 0px #1C1C1C;
border-radius: 2px; border-radius: 2px
} }
.ace-merbivore-soft .ace_marker-layer .ace_step { .ace-merbivore-soft .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-merbivore-soft .ace_marker-layer .ace_bracket { .ace-merbivore-soft .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #404040; border: 1px solid #404040
} }
.ace-merbivore-soft .ace_marker-layer .ace_active_line { .ace-merbivore-soft .ace_marker-layer .ace_active_line {
background: #333435; background: #333435
} }
.ace-merbivore-soft .ace_gutter_active_line { .ace-merbivore-soft .ace_gutter_active_line {
background-color: #333435; background-color: #333435
} }
.ace-merbivore-soft .ace_marker-layer .ace_selected_word { .ace-merbivore-soft .ace_marker-layer .ace_selected_word {
border: 1px solid #494949; border: 1px solid #494949
} }
.ace-merbivore-soft .ace_invisible { .ace-merbivore-soft .ace_invisible {
color: #404040; color: #404040
} }
.ace-merbivore-soft .ace_keyword, .ace-merbivore-soft .ace_meta { .ace-merbivore-soft .ace_keyword,
color:#FC803A; .ace-merbivore-soft .ace_meta {
color: #FC803A
} }
.ace-merbivore-soft .ace_constant, .ace-merbivore-soft .ace_constant.ace_other { .ace-merbivore-soft .ace_constant,
color:#68C1D8; .ace-merbivore-soft .ace_constant.ace_other {
color: #68C1D8
} }
.ace-merbivore-soft .ace_constant.ace_character, { .ace-merbivore-soft .ace_constant.ace_character.ace_escape {
color:#68C1D8; color: #B3E5B4
} }
.ace-merbivore-soft .ace_constant.ace_character.ace_escape, { .ace-merbivore-soft .ace_constant.ace_character,
color:#68C1D8; {
color: #68C1D8
}
.ace-merbivore-soft .ace_constant.ace_character.ace_escape,
{
color: #68C1D8
} }
.ace-merbivore-soft .ace_constant.ace_language { .ace-merbivore-soft .ace_constant.ace_language {
color:#E1C582; color: #E1C582
} }
.ace-merbivore-soft .ace_constant.ace_library { .ace-merbivore-soft .ace_constant.ace_library {
color:#8EC65F; color: #8EC65F
} }
.ace-merbivore-soft .ace_constant.ace_numeric { .ace-merbivore-soft .ace_constant.ace_numeric {
color:#7FC578; color: #7FC578
} }
.ace-merbivore-soft .ace_invalid { .ace-merbivore-soft .ace_invalid {
color:#FFFFFF; color: #FFFFFF;
background-color:#FE3838; background-color: #FE3838
} }
.ace-merbivore-soft .ace_invalid.ace_deprecated { .ace-merbivore-soft .ace_invalid.ace_deprecated {
color:#FFFFFF; color: #FFFFFF;
background-color:#FE3838; background-color: #FE3838
} }
.ace-merbivore-soft .ace_support.ace_constant { .ace-merbivore-soft .ace_support.ace_constant {
color:#8EC65F; color: #8EC65F
} }
.ace-merbivore-soft .ace_fold { .ace-merbivore-soft .ace_fold {
background-color: #FC803A; background-color: #FC803A;
border-color: #E6E1DC; border-color: #E6E1DC
} }
.ace-merbivore-soft .ace_support.ace_type { .ace-merbivore-soft .ace_support.ace_type {
color:#68C1D8; color: #68C1D8
} }
.ace-merbivore-soft .ace_storage { .ace-merbivore-soft .ace_storage {
color:#FC803A; color: #FC803A
} }
.ace-merbivore-soft .ace_string { .ace-merbivore-soft .ace_string {
color:#8EC65F; color: #8EC65F
} }
.ace-merbivore-soft .ace_comment { .ace-merbivore-soft .ace_comment {
font-style:italic; font-style: italic;
color:#AC4BB8; color: #AC4BB8
} }
.ace-merbivore-soft .ace_meta { .ace-merbivore-soft .ace_meta {
font-style:italic; font-style: italic;
color:#AC4BB8; color: #AC4BB8
}
.ace-merbivore-soft .ace_entity.ace_name.ace_tag {
color: #FC803A
} }
.ace-merbivore-soft .ace_meta.ace_tag { .ace-merbivore-soft .ace_meta.ace_tag {
color:#FC803A; color: #FC803A
} }
.ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name { .ace-merbivore-soft .ace_entity.ace_other.ace_attribute-name {
color:#EAF1A3; color: #EAF1A3
} }
.ace-merbivore-soft .ace_markup.ace_underline { .ace-merbivore-soft .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-merbivore-soft .ace_indent-guide { .ace-merbivore-soft .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQkZH5zzBz5sz/AA8EBB6crd1rAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-merbivore-soft"; exports.cssClass = "ace-merbivore-soft";
exports.cssText = require('ace/requirejs/text!./merbivore_soft.css'); exports.cssText = require('ace/requirejs/text!./merbivore_soft.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,160 +1,167 @@
.ace-mono-industrial .ace_editor { .ace-mono-industrial .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-mono-industrial .ace_editor.ace_focus { .ace-mono-industrial .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-mono-industrial .ace_gutter { .ace-mono-industrial .ace_gutter {
background: #1d2521; background: #1d2521;
color: #C5C9C9; color: #C5C9C9
} }
.ace-mono-industrial .ace_print_margin { .ace-mono-industrial .ace_print_margin {
width: 1px; width: 1px;
background: #555651; background: #555651
} }
.ace-mono-industrial .ace_scroller { .ace-mono-industrial .ace_scroller {
background-color: #222C28; background-color: #222C28
} }
.ace-mono-industrial .ace_text-layer { .ace-mono-industrial .ace_text-layer {
color: #FFFFFF; color: #FFFFFF
} }
.ace-mono-industrial .ace_cursor { .ace-mono-industrial .ace_cursor {
border-left: 2px solid #FFFFFF; border-left: 2px solid #FFFFFF
} }
.ace-mono-industrial .ace_cursor.ace_overwrite { .ace-mono-industrial .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF
} }
.ace-mono-industrial .ace_marker-layer .ace_selection { .ace-mono-industrial .ace_marker-layer .ace_selection {
background: rgba(145, 153, 148, 0.40); background: rgba(145, 153, 148, 0.40)
} }
.ace-mono-industrial.multiselect .ace_selection.start { .ace-mono-industrial.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #222C28; box-shadow: 0 0 3px 0px #222C28;
border-radius: 2px; border-radius: 2px
} }
.ace-mono-industrial .ace_marker-layer .ace_step { .ace-mono-industrial .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-mono-industrial .ace_marker-layer .ace_bracket { .ace-mono-industrial .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(102, 108, 104, 0.50); border: 1px solid rgba(102, 108, 104, 0.50)
} }
.ace-mono-industrial .ace_marker-layer .ace_active_line { .ace-mono-industrial .ace_marker-layer .ace_active_line {
background: rgba(12, 13, 12, 0.25); background: rgba(12, 13, 12, 0.25)
} }
.ace-mono-industrial .ace_gutter_active_line { .ace-mono-industrial .ace_gutter_active_line {
background-color: rgba(12, 13, 12, 0.25); background-color: rgba(12, 13, 12, 0.25)
} }
.ace-mono-industrial .ace_marker-layer .ace_selected_word { .ace-mono-industrial .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(145, 153, 148, 0.40); border: 1px solid rgba(145, 153, 148, 0.40)
} }
.ace-mono-industrial .ace_invisible { .ace-mono-industrial .ace_invisible {
color: rgba(102, 108, 104, 0.50); color: rgba(102, 108, 104, 0.50)
} }
.ace-mono-industrial .ace_keyword, .ace-mono-industrial .ace_meta { .ace-mono-industrial .ace_keyword,
color:#A39E64; .ace-mono-industrial .ace_meta {
color: #A39E64
} }
.ace-mono-industrial .ace_keyword.ace_operator { .ace-mono-industrial .ace_keyword.ace_operator {
color:#A8B3AB; color: #A8B3AB
} }
.ace-mono-industrial .ace_constant, .ace-mono-industrial .ace_constant.ace_other { .ace-mono-industrial .ace_constant,
color:#E98800; .ace-mono-industrial .ace_constant.ace_other {
color: #E98800
} }
.ace-mono-industrial .ace_constant.ace_character, { .ace-mono-industrial .ace_constant.ace_character,
color:#E98800; {
color: #E98800
} }
.ace-mono-industrial .ace_constant.ace_character.ace_escape, { .ace-mono-industrial .ace_constant.ace_character.ace_escape,
color:#E98800; {
color: #E98800
} }
.ace-mono-industrial .ace_constant.ace_numeric { .ace-mono-industrial .ace_constant.ace_numeric {
color:#E98800; color: #E98800
} }
.ace-mono-industrial .ace_invalid { .ace-mono-industrial .ace_invalid {
color:#FFFFFF; color: #FFFFFF;
background-color:rgba(153, 0, 0, 0.68); background-color: rgba(153, 0, 0, 0.68)
} }
.ace-mono-industrial .ace_support.ace_constant { .ace-mono-industrial .ace_support.ace_constant {
color:#C87500; color: #C87500
} }
.ace-mono-industrial .ace_fold { .ace-mono-industrial .ace_fold {
background-color: #A8B3AB; background-color: #A8B3AB;
border-color: #FFFFFF; border-color: #FFFFFF
} }
.ace-mono-industrial .ace_support.ace_function { .ace-mono-industrial .ace_support.ace_function {
color:#588E60; color: #588E60
} }
.ace-mono-industrial .ace_support.ace_type { .ace-mono-industrial .ace_support.ace_type {
color:#5778B6; color: #5778B6
} }
.ace-mono-industrial .ace_support.ace_class { .ace-mono-industrial .ace_support.ace_class {
color:#5778B6; color: #5778B6
} }
.ace-mono-industrial .ace_storage { .ace-mono-industrial .ace_storage {
color:#C23B00; color: #C23B00
} }
.ace-mono-industrial .ace_variable { .ace-mono-industrial .ace_variable {
color:#A8B3AB; color: #A8B3AB
} }
.ace-mono-industrial .ace_variable.ace_parameter { .ace-mono-industrial .ace_variable.ace_parameter {
color:#648BD2; color: #648BD2
} }
.ace-mono-industrial .ace_comment { .ace-mono-industrial .ace_comment {
color:#666C68; color: #666C68;
background-color:#151C19; background-color: #151C19
} }
.ace-mono-industrial .ace_variable.ace_language { .ace-mono-industrial .ace_variable.ace_language {
color:#648BD2; color: #648BD2
} }
.ace-mono-industrial .ace_entity.ace_other.ace_attribute-name { .ace-mono-industrial .ace_entity.ace_other.ace_attribute-name {
color:#909993; color: #909993
}
.ace-mono-industrial .ace_entity.ace_name.ace_tag {
color: #A65EFF
} }
.ace-mono-industrial .ace_entity.ace_name { .ace-mono-industrial .ace_entity.ace_name {
color:#5778B6; color: #5778B6
} }
.ace-mono-industrial .ace_entity.ace_name.ace_function { .ace-mono-industrial .ace_entity.ace_name.ace_function {
color:#A8B3AB; color: #A8B3AB
} }
.ace-mono-industrial .ace_markup.ace_underline { .ace-mono-industrial .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-mono-industrial .ace_indent-guide { .ace-mono-industrial .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ0tH4zzBz5sz/ABAOBECKH+evAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-mono-industrial"; exports.cssClass = "ace-mono-industrial";
exports.cssText = require('ace/requirejs/text!./mono_industrial.css'); exports.cssText = require('ace/requirejs/text!./mono_industrial.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,164 +1,169 @@
.ace-monokai .ace_editor { .ace-monokai .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-monokai .ace_editor.ace_focus { .ace-monokai .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-monokai .ace_gutter { .ace-monokai .ace_gutter {
background: #2f3129; background: #2f3129;
color: #f1f1f1; color: #f1f1f1
} }
.ace-monokai .ace_print_margin { .ace-monokai .ace_print_margin {
width: 1px; width: 1px;
background: #555651; background: #555651
} }
.ace-monokai .ace_scroller { .ace-monokai .ace_scroller {
background-color: #272822; background-color: #272822
} }
.ace-monokai .ace_text-layer { .ace-monokai .ace_text-layer {
color: #F8F8F2; color: #F8F8F2
} }
.ace-monokai .ace_cursor { .ace-monokai .ace_cursor {
border-left: 2px solid #F8F8F0; border-left: 2px solid #F8F8F0
} }
.ace-monokai .ace_cursor.ace_overwrite { .ace-monokai .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #F8F8F0; border-bottom: 1px solid #F8F8F0
} }
.ace-monokai .ace_marker-layer .ace_selection { .ace-monokai .ace_marker-layer .ace_selection {
background: #49483E; background: #49483E
} }
.ace-monokai.multiselect .ace_selection.start { .ace-monokai.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #272822; box-shadow: 0 0 3px 0px #272822;
border-radius: 2px; border-radius: 2px
} }
.ace-monokai .ace_marker-layer .ace_step { .ace-monokai .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-monokai .ace_marker-layer .ace_bracket { .ace-monokai .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #49483E; border: 1px solid #49483E
} }
.ace-monokai .ace_marker-layer .ace_active_line { .ace-monokai .ace_marker-layer .ace_active_line {
background: #49483E; background: #49483E
} }
.ace-monokai .ace_gutter_active_line { .ace-monokai .ace_gutter_active_line {
background-color: #191916; background-color: #191916
} }
.ace-monokai .ace_marker-layer .ace_selected_word { .ace-monokai .ace_marker-layer .ace_selected_word {
border: 1px solid #49483E; border: 1px solid #49483E
} }
.ace-monokai .ace_invisible { .ace-monokai .ace_invisible {
color: #49483E; color: #49483E
} }
.ace-monokai .ace_keyword, .ace-monokai .ace_meta { .ace-monokai .ace_keyword,
color:#F92672; .ace-monokai .ace_meta {
color: #F92672
} }
.ace-monokai .ace_constant.ace_character { .ace-monokai .ace_constant.ace_character {
color:#AE81FF; color: #AE81FF
} }
.ace-monokai .ace_constant.ace_language { .ace-monokai .ace_constant.ace_language {
color:#AE81FF; color: #AE81FF
} }
.ace-monokai .ace_constant.ace_numeric { .ace-monokai .ace_constant.ace_numeric {
color:#AE81FF; color: #AE81FF
} }
.ace-monokai .ace_constant.ace_other { .ace-monokai .ace_constant.ace_other {
color:#AE81FF; color: #AE81FF
} }
.ace-monokai .ace_invalid { .ace-monokai .ace_invalid {
color:#F8F8F0; color: #F8F8F0;
background-color:#F92672; background-color: #F92672
} }
.ace-monokai .ace_invalid.ace_deprecated { .ace-monokai .ace_invalid.ace_deprecated {
color:#F8F8F0; color: #F8F8F0;
background-color:#AE81FF; background-color: #AE81FF
} }
.ace-monokai .ace_support.ace_constant { .ace-monokai .ace_support.ace_constant {
color:#66D9EF; color: #66D9EF
} }
.ace-monokai .ace_fold { .ace-monokai .ace_fold {
background-color: #A6E22E; background-color: #A6E22E;
border-color: #F8F8F2; border-color: #F8F8F2
} }
.ace-monokai .ace_support.ace_function { .ace-monokai .ace_support.ace_function {
color:#66D9EF; color: #66D9EF
} }
.ace-monokai .ace_support.ace_type { .ace-monokai .ace_support.ace_type {
font-style:italic; font-style: italic;
color:#66D9EF; color: #66D9EF
} }
.ace-monokai .ace_support.ace_class { .ace-monokai .ace_support.ace_class {
font-style:italic; font-style: italic;
color:#66D9EF; color: #66D9EF
} }
.ace-monokai .ace_storage { .ace-monokai .ace_storage {
color:#F92672; color: #F92672
} }
.ace-monokai .ace_storage.ace_type, .ace-monokai .ace_support.ace_type { .ace-monokai .ace_storage.ace_type,
font-style:italic; .ace-monokai .ace_support.ace_type {
color:#66D9EF; font-style: italic;
color: #66D9EF
} }
.ace-monokai .ace_variable { .ace-monokai .ace_variable {
color:#A6E22E; color: #A6E22E
} }
.ace-monokai .ace_variable.ace_parameter { .ace-monokai .ace_variable.ace_parameter {
font-style:italic; font-style: italic;
color:#FD971F; color: #FD971F
} }
.ace-monokai .ace_string { .ace-monokai .ace_string {
color:#E6DB74; color: #E6DB74
} }
.ace-monokai .ace_comment { .ace-monokai .ace_comment {
color:#75715E; color: #75715E
} }
.ace-monokai .ace_entity.ace_other.ace_attribute-name { .ace-monokai .ace_entity.ace_other.ace_attribute-name {
color:#A6E22E; color: #A6E22E
} }
.ace-monokai .ace_entity.ace_name.ace_function { .ace-monokai .ace_entity.ace_name.ace_function {
color:#A6E22E; color: #A6E22E
}
.ace-monokai .ace_entity.ace_name.ace_tag {
color: #F92672
} }
.ace-monokai .ace_markup.ace_underline { .ace-monokai .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-monokai .ace_indent-guide { .ace-monokai .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ11D6z7Bq1ar/ABCKBG6g04U2AAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNQ11D6z7Bq1ar/ABCKBG6g04U2AAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-monokai"; exports.cssClass = "ace-monokai";
exports.cssText = require('ace/requirejs/text!./monokai.css'); exports.cssText = require('ace/requirejs/text!./monokai.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,154 +1,161 @@
.ace-pastel-on-dark .ace_editor { .ace-pastel-on-dark .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-pastel-on-dark .ace_editor.ace_focus { .ace-pastel-on-dark .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-pastel-on-dark .ace_gutter { .ace-pastel-on-dark .ace_gutter {
background: #353030; background: #353030;
color: #8F938F; color: #8F938F
} }
.ace-pastel-on-dark .ace_print_margin { .ace-pastel-on-dark .ace_print_margin {
width: 1px; width: 1px;
background: #353030; background: #353030
} }
.ace-pastel-on-dark .ace_scroller { .ace-pastel-on-dark .ace_scroller {
background-color: #2C2828; background-color: #2C2828
} }
.ace-pastel-on-dark .ace_text-layer { .ace-pastel-on-dark .ace_text-layer {
color: #8F938F; color: #8F938F
} }
.ace-pastel-on-dark .ace_cursor { .ace-pastel-on-dark .ace_cursor {
border-left: 2px solid #A7A7A7; border-left: 2px solid #A7A7A7
} }
.ace-pastel-on-dark .ace_cursor.ace_overwrite { .ace-pastel-on-dark .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #A7A7A7; border-bottom: 1px solid #A7A7A7
} }
.ace-pastel-on-dark .ace_marker-layer .ace_selection { .ace-pastel-on-dark .ace_marker-layer .ace_selection {
background: rgba(221, 240, 255, 0.20); background: rgba(221, 240, 255, 0.20)
} }
.ace-pastel-on-dark.multiselect .ace_selection.start { .ace-pastel-on-dark.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #2C2828; box-shadow: 0 0 3px 0px #2C2828;
border-radius: 2px; border-radius: 2px
} }
.ace-pastel-on-dark .ace_marker-layer .ace_step { .ace-pastel-on-dark .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-pastel-on-dark .ace_marker-layer .ace_bracket { .ace-pastel-on-dark .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 255, 255, 0.25)
} }
.ace-pastel-on-dark .ace_marker-layer .ace_active_line { .ace-pastel-on-dark .ace_marker-layer .ace_active_line {
background: rgba(255, 255, 255, 0.031); background: rgba(255, 255, 255, 0.031)
} }
.ace-pastel-on-dark .ace_gutter_active_line { .ace-pastel-on-dark .ace_gutter_active_line {
background-color: rgba(255, 255, 255, 0.031); background-color: rgba(255, 255, 255, 0.031)
} }
.ace-pastel-on-dark .ace_marker-layer .ace_selected_word { .ace-pastel-on-dark .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(221, 240, 255, 0.20); border: 1px solid rgba(221, 240, 255, 0.20)
} }
.ace-pastel-on-dark .ace_invisible { .ace-pastel-on-dark .ace_invisible {
color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.25)
} }
.ace-pastel-on-dark .ace_keyword, .ace-pastel-on-dark .ace_meta { .ace-pastel-on-dark .ace_keyword,
color:#757aD8; .ace-pastel-on-dark .ace_meta {
color: #757aD8
} }
.ace-pastel-on-dark .ace_keyword.ace_operator { .ace-pastel-on-dark .ace_keyword.ace_operator {
color:#797878; color: #797878
} }
.ace-pastel-on-dark .ace_constant, .ace-pastel-on-dark .ace_constant.ace_other { .ace-pastel-on-dark .ace_constant,
color:#4FB7C5; .ace-pastel-on-dark .ace_constant.ace_other {
color: #4FB7C5
} }
.ace-pastel-on-dark .ace_constant.ace_character, { .ace-pastel-on-dark .ace_constant.ace_character {
color:#4FB7C5; color: #AFA472
} }
.ace-pastel-on-dark .ace_constant.ace_character.ace_escape, { .ace-pastel-on-dark .ace_constant.ace_character,
color:#4FB7C5; {
color: #4FB7C5
}
.ace-pastel-on-dark .ace_constant.ace_character.ace_escape,
{
color: #4FB7C5
} }
.ace-pastel-on-dark .ace_constant.ace_language { .ace-pastel-on-dark .ace_constant.ace_language {
color:#DE8E30; color: #DE8E30
} }
.ace-pastel-on-dark .ace_constant.ace_numeric { .ace-pastel-on-dark .ace_constant.ace_numeric {
color:#CCCCCC; color: #CCCCCC
} }
.ace-pastel-on-dark .ace_invalid { .ace-pastel-on-dark .ace_invalid {
color:#F8F8F8; color: #F8F8F8;
background-color:rgba(86, 45, 86, 0.75); background-color: rgba(86, 45, 86, 0.75)
} }
.ace-pastel-on-dark .ace_invalid.ace_illegal { .ace-pastel-on-dark .ace_invalid.ace_illegal {
color:#F8F8F8; color: #F8F8F8;
background-color:rgba(86, 45, 86, 0.75); background-color: rgba(86, 45, 86, 0.75)
} }
.ace-pastel-on-dark .ace_invalid.ace_deprecated { .ace-pastel-on-dark .ace_invalid.ace_deprecated {
text-decoration:underline; text-decoration: underline;
font-style:italic; font-style: italic;
color:#D2A8A1; color: #D2A8A1
} }
.ace-pastel-on-dark .ace_fold { .ace-pastel-on-dark .ace_fold {
background-color: #757aD8; background-color: #757aD8;
border-color: #8F938F; border-color: #8F938F
} }
.ace-pastel-on-dark .ace_support.ace_function { .ace-pastel-on-dark .ace_support.ace_function {
color:#AEB2F8; color: #AEB2F8
} }
.ace-pastel-on-dark .ace_string { .ace-pastel-on-dark .ace_string {
color:#66A968; color: #66A968
} }
.ace-pastel-on-dark .ace_string.ace_regexp { .ace-pastel-on-dark .ace_string.ace_regexp {
color:#E9C062; color: #E9C062
} }
.ace-pastel-on-dark .ace_comment { .ace-pastel-on-dark .ace_comment {
color:#A6C6FF; color: #A6C6FF
} }
.ace-pastel-on-dark .ace_variable { .ace-pastel-on-dark .ace_variable {
color:#BEBF55; color: #BEBF55
} }
.ace-pastel-on-dark .ace_variable.ace_language { .ace-pastel-on-dark .ace_variable.ace_language {
color:#C1C144; color: #C1C144
} }
.ace-pastel-on-dark .ace_xml_pe { .ace-pastel-on-dark .ace_xml_pe {
color:#494949; color: #494949
} }
.ace-pastel-on-dark .ace_markup.ace_underline { .ace-pastel-on-dark .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-pastel-on-dark .ace_indent-guide { .ace-pastel-on-dark .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0dD4z9DR0fEfAA+vBBPqhbn1AAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0dD4z9DR0fEfAA+vBBPqhbn1AAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-pastel-on-dark"; exports.cssClass = "ace-pastel-on-dark";
exports.cssText = require('ace/requirejs/text!./pastel_on_dark.css'); exports.cssText = require('ace/requirejs/text!./pastel_on_dark.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,147 +1,151 @@
.ace-solarized-dark .ace_editor { .ace-solarized-dark .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-solarized-dark .ace_editor.ace_focus { .ace-solarized-dark .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-solarized-dark .ace_gutter { .ace-solarized-dark .ace_gutter {
background: #01313f; background: #01313f;
color: #d0edf7; color: #d0edf7
} }
.ace-solarized-dark .ace_print_margin { .ace-solarized-dark .ace_print_margin {
width: 1px; width: 1px;
background: #33555E; background: #33555E
} }
.ace-solarized-dark .ace_scroller { .ace-solarized-dark .ace_scroller {
background-color: #002B36; background-color: #002B36
} }
.ace-solarized-dark .ace_text-layer { .ace-solarized-dark .ace_text-layer {
color: #93A1A1; color: #93A1A1
} }
.ace-solarized-dark .ace_cursor { .ace-solarized-dark .ace_cursor {
border-left: 2px solid #D30102; border-left: 2px solid #D30102
} }
.ace-solarized-dark .ace_cursor.ace_overwrite { .ace-solarized-dark .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #D30102; border-bottom: 1px solid #D30102
} }
.ace-solarized-dark .ace_marker-layer .ace_selection { .ace-solarized-dark .ace_marker-layer .ace_selection {
background: #073642; background: #073642
} }
.ace-solarized-dark.multiselect .ace_selection.start { .ace-solarized-dark.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #002B36; box-shadow: 0 0 3px 0px #002B36;
border-radius: 2px; border-radius: 2px
} }
.ace-solarized-dark .ace_marker-layer .ace_step { .ace-solarized-dark .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-solarized-dark .ace_marker-layer .ace_bracket { .ace-solarized-dark .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(147, 161, 161, 0.50); border: 1px solid rgba(147, 161, 161, 0.50)
} }
.ace-solarized-dark .ace_marker-layer .ace_active_line { .ace-solarized-dark .ace_marker-layer .ace_active_line {
background: #073642; background: #073642
} }
.ace-solarized-dark .ace_gutter_active_line { .ace-solarized-dark .ace_gutter_active_line {
background-color: #0d3440; background-color: #0d3440
} }
.ace-solarized-dark .ace_marker-layer .ace_selected_word { .ace-solarized-dark .ace_marker-layer .ace_selected_word {
border: 1px solid #073642; border: 1px solid #073642
} }
.ace-solarized-dark .ace_invisible { .ace-solarized-dark .ace_invisible {
color: rgba(147, 161, 161, 0.50); color: rgba(147, 161, 161, 0.50)
} }
.ace-solarized-dark .ace_keyword, .ace-solarized-dark .ace_meta { .ace-solarized-dark .ace_keyword,
color:#859900; .ace-solarized-dark .ace_meta {
color: #859900
} }
.ace-solarized-dark .ace_constant.ace_character { .ace-solarized-dark .ace_constant.ace_character {
color:#CB4B16; color: #CB4B16
} }
.ace-solarized-dark .ace_constant.ace_language { .ace-solarized-dark .ace_constant.ace_language {
color:#B58900; color: #B58900
} }
.ace-solarized-dark .ace_constant.ace_numeric { .ace-solarized-dark .ace_constant.ace_numeric {
color:#D33682; color: #D33682
} }
.ace-solarized-dark .ace_constant.ace_other { .ace-solarized-dark .ace_constant.ace_other {
color:#CB4B16; color: #CB4B16
} }
.ace-solarized-dark .ace_fold { .ace-solarized-dark .ace_fold {
background-color: #268BD2; background-color: #268BD2;
border-color: #93A1A1; border-color: #93A1A1
} }
.ace-solarized-dark .ace_support.ace_function { .ace-solarized-dark .ace_support.ace_function {
color:#268BD2; color: #268BD2
} }
.ace-solarized-dark .ace_support.ace_type { .ace-solarized-dark .ace_support.ace_type {
color:#859900; color: #859900
} }
.ace-solarized-dark .ace_support.ace_class { .ace-solarized-dark .ace_support.ace_class {
color:#859900; color: #859900
} }
.ace-solarized-dark .ace_storage { .ace-solarized-dark .ace_storage {
color:#93A1A1; color: #93A1A1
} }
.ace-solarized-dark .ace_variable { .ace-solarized-dark .ace_variable {
color:#268BD2; color: #268BD2
} }
.ace-solarized-dark .ace_string { .ace-solarized-dark .ace_string {
color:#2AA198; color: #2AA198
} }
.ace-solarized-dark .ace_string.ace_regexp { .ace-solarized-dark .ace_string.ace_regexp {
color:#D30102; color: #D30102
} }
.ace-solarized-dark .ace_comment { .ace-solarized-dark .ace_comment {
font-style:italic; font-style: italic;
color:#657B83; color: #657B83
} }
.ace-solarized-dark .ace_variable.ace_language { .ace-solarized-dark .ace_variable.ace_language {
color:#268BD2; color: #268BD2
} }
.ace-solarized-dark .ace_entity.ace_other.ace_attribute-name { .ace-solarized-dark .ace_entity.ace_other.ace_attribute-name {
color:#93A1A1; color: #93A1A1
} }
.ace-solarized-dark .ace_entity.ace_name.ace_function { .ace-solarized-dark .ace_entity.ace_name.ace_function {
color:#268BD2; color: #268BD2
}
.ace-solarized-dark .ace_entity.ace_name.ace_tag {
color: #268BD2
} }
.ace-solarized-dark .ace_markup.ace_underline { .ace-solarized-dark .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-solarized-dark .ace_indent-guide { .ace-solarized-dark .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNg0Db7zzBz5sz/AA82BCv7wOIDAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-solarized-dark"; exports.cssClass = "ace-solarized-dark";
exports.cssText = require('ace/requirejs/text!./solarized_dark.css'); exports.cssText = require('ace/requirejs/text!./solarized_dark.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,146 +1,150 @@
.ace-solarized-light .ace_editor { .ace-solarized-light .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-solarized-light .ace_editor.ace_focus { .ace-solarized-light .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-solarized-light .ace_gutter { .ace-solarized-light .ace_gutter {
background: #fbf1d3; background: #fbf1d3;
color: #333; color: #333
} }
.ace-solarized-light .ace_print_margin { .ace-solarized-light .ace_print_margin {
width: 1px; width: 1px;
background: #e8e8e8; background: #e8e8e8
} }
.ace-solarized-light .ace_scroller { .ace-solarized-light .ace_scroller {
background-color: #FDF6E3; background-color: #FDF6E3
} }
.ace-solarized-light .ace_text-layer { .ace-solarized-light .ace_text-layer {
color: #586E75; color: #586E75
} }
.ace-solarized-light .ace_cursor { .ace-solarized-light .ace_cursor {
border-left: 2px solid #000000; border-left: 2px solid #000000
} }
.ace-solarized-light .ace_cursor.ace_overwrite { .ace-solarized-light .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #000000; border-bottom: 1px solid #000000
} }
.ace-solarized-light .ace_marker-layer .ace_selection { .ace-solarized-light .ace_marker-layer .ace_selection {
background: #073642; background: #073642
} }
.ace-solarized-light.multiselect .ace_selection.start { .ace-solarized-light.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #FDF6E3; box-shadow: 0 0 3px 0px #FDF6E3;
border-radius: 2px; border-radius: 2px
} }
.ace-solarized-light .ace_marker-layer .ace_step { .ace-solarized-light .ace_marker-layer .ace_step {
background: rgb(255, 255, 0); background: rgb(255, 255, 0)
} }
.ace-solarized-light .ace_marker-layer .ace_bracket { .ace-solarized-light .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(147, 161, 161, 0.50); border: 1px solid rgba(147, 161, 161, 0.50)
} }
.ace-solarized-light .ace_marker-layer .ace_active_line { .ace-solarized-light .ace_marker-layer .ace_active_line {
background: #EEE8D5; background: #EEE8D5
} }
.ace-solarized-light .ace_gutter_active_line { .ace-solarized-light .ace_gutter_active_line {
background-color : #dcdcdc; background-color : #dcdcdc
} }
.ace-solarized-light .ace_marker-layer .ace_selected_word { .ace-solarized-light .ace_marker-layer .ace_selected_word {
border: 1px solid #073642; border: 1px solid #073642
} }
.ace-solarized-light .ace_invisible { .ace-solarized-light .ace_invisible {
color: rgba(147, 161, 161, 0.50); color: rgba(147, 161, 161, 0.50)
} }
.ace-solarized-light .ace_keyword, .ace-solarized-light .ace_meta { .ace-solarized-light .ace_keyword,
color:#859900; .ace-solarized-light .ace_meta {
color: #859900
} }
.ace-solarized-light .ace_constant.ace_character { .ace-solarized-light .ace_constant.ace_character {
color:#CB4B16; color: #CB4B16
} }
.ace-solarized-light .ace_constant.ace_language { .ace-solarized-light .ace_constant.ace_language {
color:#B58900; color: #B58900
} }
.ace-solarized-light .ace_constant.ace_numeric { .ace-solarized-light .ace_constant.ace_numeric {
color:#D33682; color: #D33682
} }
.ace-solarized-light .ace_constant.ace_other { .ace-solarized-light .ace_constant.ace_other {
color:#CB4B16; color: #CB4B16
} }
.ace-solarized-light .ace_fold { .ace-solarized-light .ace_fold {
background-color: #268BD2; background-color: #268BD2;
border-color: #586E75; border-color: #586E75
} }
.ace-solarized-light .ace_support.ace_function { .ace-solarized-light .ace_support.ace_function {
color:#268BD2; color: #268BD2
} }
.ace-solarized-light .ace_support.ace_type { .ace-solarized-light .ace_support.ace_type {
color:#859900; color: #859900
} }
.ace-solarized-light .ace_support.ace_class { .ace-solarized-light .ace_support.ace_class {
color:#859900; color: #859900
} }
.ace-solarized-light .ace_storage { .ace-solarized-light .ace_storage {
color:#073642; color: #073642
} }
.ace-solarized-light .ace_variable { .ace-solarized-light .ace_variable {
color:#268BD2; color: #268BD2
} }
.ace-solarized-light .ace_string { .ace-solarized-light .ace_string {
color:#2AA198; color: #2AA198
} }
.ace-solarized-light .ace_string.ace_regexp { .ace-solarized-light .ace_string.ace_regexp {
color:#D30102; color: #D30102
} }
.ace-solarized-light .ace_comment { .ace-solarized-light .ace_comment {
color:#93A1A1; color: #93A1A1
} }
.ace-solarized-light .ace_variable.ace_language { .ace-solarized-light .ace_variable.ace_language {
color:#268BD2; color: #268BD2
} }
.ace-solarized-light .ace_entity.ace_other.ace_attribute-name { .ace-solarized-light .ace_entity.ace_other.ace_attribute-name {
color:#93A1A1; color: #93A1A1
} }
.ace-solarized-light .ace_entity.ace_name.ace_function { .ace-solarized-light .ace_entity.ace_name.ace_function {
color:#268BD2; color: #268BD2
}
.ace-solarized-light .ace_entity.ace_name.ace_tag {
color: #268BD2
} }
.ace-solarized-light .ace_markup.ace_underline { .ace-solarized-light .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-solarized-light .ace_indent-guide { .ace-solarized-light .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4++3xf4ZVq1b9BwAjxwbT1g3hiwAAAABJRU5ErkJggg==) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-solarized-light"; exports.cssClass = "ace-solarized-light";
exports.cssText = require('ace/requirejs/text!./solarized_light.css'); exports.cssText = require('ace/requirejs/text!./solarized_light.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,180 +1,189 @@
.ace-tomorrow .ace_editor { .ace-tomorrow .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-tomorrow .ace_editor.ace_focus { .ace-tomorrow .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-tomorrow .ace_gutter { .ace-tomorrow .ace_gutter {
background: #f6f6f6; background: #f6f6f6;
color: #4D4D4C; color: #4D4D4C
} }
.ace-tomorrow .ace_print_margin { .ace-tomorrow .ace_print_margin {
width: 1px; width: 1px;
background: #f6f6f6; background: #f6f6f6
} }
.ace-tomorrow .ace_scroller { .ace-tomorrow .ace_scroller {
background-color: #FFFFFF; background-color: #FFFFFF
} }
.ace-tomorrow .ace_text-layer { .ace-tomorrow .ace_text-layer {
color: #4D4D4C; color: #4D4D4C
} }
.ace-tomorrow .ace_cursor { .ace-tomorrow .ace_cursor {
border-left: 2px solid #AEAFAD; border-left: 2px solid #AEAFAD
} }
.ace-tomorrow .ace_cursor.ace_overwrite { .ace-tomorrow .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #AEAFAD; border-bottom: 1px solid #AEAFAD
} }
.ace-tomorrow .ace_marker-layer .ace_selection { .ace-tomorrow .ace_marker-layer .ace_selection {
background: #D6D6D6; background: #D6D6D6
} }
.ace-tomorrow.multiselect .ace_selection.start { .ace-tomorrow.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #FFFFFF; box-shadow: 0 0 3px 0px #FFFFFF;
border-radius: 2px; border-radius: 2px
} }
.ace-tomorrow .ace_marker-layer .ace_step { .ace-tomorrow .ace_marker-layer .ace_step {
background: rgb(255, 255, 0); background: rgb(255, 255, 0)
} }
.ace-tomorrow .ace_marker-layer .ace_bracket { .ace-tomorrow .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #D1D1D1; border: 1px solid #D1D1D1
} }
.ace-tomorrow .ace_marker-layer .ace_active_line { .ace-tomorrow .ace_marker-layer .ace_active_line {
background: #EFEFEF; background: #EFEFEF
} }
.ace-tomorrow .ace_gutter_active_line { .ace-tomorrow .ace_gutter_active_line {
background-color : #dcdcdc; background-color : #dcdcdc
} }
.ace-tomorrow .ace_marker-layer .ace_selected_word { .ace-tomorrow .ace_marker-layer .ace_selected_word {
border: 1px solid #D6D6D6; border: 1px solid #D6D6D6
} }
.ace-tomorrow .ace_invisible { .ace-tomorrow .ace_invisible {
color: #D1D1D1; color: #D1D1D1
} }
.ace-tomorrow .ace_keyword, .ace-tomorrow .ace_meta { .ace-tomorrow .ace_keyword,
color:#8959A8; .ace-tomorrow .ace_meta {
color: #8959A8
} }
.ace-tomorrow .ace_keyword.ace_operator { .ace-tomorrow .ace_keyword.ace_operator {
color:#3E999F; color: #3E999F
} }
.ace-tomorrow .ace_constant.ace_character { .ace-tomorrow .ace_keyword.ace_other.ace_unit {
color:#F5871F; color: #F5871F
}
.ace-tomorrow .ace_constant.ace_character {
color: #F5871F
} }
.ace-tomorrow .ace_constant.ace_language { .ace-tomorrow .ace_constant.ace_language {
color:#F5871F; color: #F5871F
} }
.ace-tomorrow .ace_constant.ace_numeric { .ace-tomorrow .ace_constant.ace_numeric {
color:#F5871F; color: #F5871F
} }
.ace-tomorrow .ace_constant.ace_other { .ace-tomorrow .ace_constant.ace_other {
color:#666969; color: #666969
} }
.ace-tomorrow .ace_invalid { .ace-tomorrow .ace_invalid {
color:#FFFFFF; color: #FFFFFF;
background-color:#C82829; background-color: #C82829
} }
.ace-tomorrow .ace_invalid.ace_deprecated { .ace-tomorrow .ace_invalid.ace_deprecated {
color:#FFFFFF; color: #FFFFFF;
background-color:#8959A8; background-color: #8959A8
} }
.ace-tomorrow .ace_support.ace_constant { .ace-tomorrow .ace_support.ace_constant {
color:#F5871F; color: #F5871F
} }
.ace-tomorrow .ace_fold { .ace-tomorrow .ace_fold {
background-color: #4271AE; background-color: #4271AE;
border-color: #4D4D4C; border-color: #4D4D4C
} }
.ace-tomorrow .ace_support.ace_function { .ace-tomorrow .ace_support.ace_function {
color:#4271AE; color: #4271AE
} }
.ace-tomorrow .ace_support.ace_type { .ace-tomorrow .ace_support.ace_type {
color:#C99E00; color: #C99E00
} }
.ace-tomorrow .ace_support.ace_class { .ace-tomorrow .ace_support.ace_class {
color:#C99E00; color: #C99E00
} }
.ace-tomorrow .ace_storage { .ace-tomorrow .ace_storage {
color:#8959A8; color: #8959A8
} }
.ace-tomorrow .ace_storage.ace_type, .ace-tomorrow .ace_support.ace_type { .ace-tomorrow .ace_storage.ace_type,
color:#8959A8; .ace-tomorrow .ace_support.ace_type {
color: #8959A8
} }
.ace-tomorrow .ace_variable { .ace-tomorrow .ace_variable {
color:#4271AE; color: #4271AE
} }
.ace-tomorrow .ace_variable.ace_parameter { .ace-tomorrow .ace_variable.ace_parameter {
color:#F5871F; color: #F5871F
} }
.ace-tomorrow .ace_string { .ace-tomorrow .ace_string {
color:#718C00; color: #718C00
} }
.ace-tomorrow .ace_string.ace_regexp { .ace-tomorrow .ace_string.ace_regexp {
color:#C82829; color: #C82829
} }
.ace-tomorrow .ace_comment { .ace-tomorrow .ace_comment {
color:#8E908C; color: #8E908C
} }
.ace-tomorrow .ace_variable { .ace-tomorrow .ace_variable {
color:#C82829; color: #C82829
} }
.ace-tomorrow .ace_meta.ace_tag { .ace-tomorrow .ace_meta.ace_tag {
color:#C82829; color: #C82829
} }
.ace-tomorrow .ace_entity.ace_other.ace_attribute-name { .ace-tomorrow .ace_entity.ace_other.ace_attribute-name {
color:#C82829; color: #C82829
} }
.ace-tomorrow .ace_entity.ace_name.ace_function { .ace-tomorrow .ace_entity.ace_name.ace_function {
color:#4271AE; color: #4271AE
}
.ace-tomorrow .ace_entity.ace_name.ace_tag {
color: #C82829
} }
.ace-tomorrow .ace_markup.ace_underline { .ace-tomorrow .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-tomorrow .ace_markup.ace_heading { .ace-tomorrow .ace_markup.ace_heading {
color:#718C00; color: #718C00
} }
.ace-tomorrow .ace_indent-guide { .ace-tomorrow .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = false;
exports.cssClass = "ace-tomorrow"; exports.cssClass = "ace-tomorrow";
exports.cssText = require('ace/requirejs/text!./tomorrow.css'); exports.cssText = require('ace/requirejs/text!./tomorrow.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,180 +1,189 @@
.ace-tomorrow-night .ace_editor { .ace-tomorrow-night .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-tomorrow-night .ace_editor.ace_focus { .ace-tomorrow-night .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-tomorrow-night .ace_gutter { .ace-tomorrow-night .ace_gutter {
background: #25282c; background: #25282c;
color: #C5C8C6; color: #C5C8C6
} }
.ace-tomorrow-night .ace_print_margin { .ace-tomorrow-night .ace_print_margin {
width: 1px; width: 1px;
background: #25282c; background: #25282c
} }
.ace-tomorrow-night .ace_scroller { .ace-tomorrow-night .ace_scroller {
background-color: #1D1F21; background-color: #1D1F21
} }
.ace-tomorrow-night .ace_text-layer { .ace-tomorrow-night .ace_text-layer {
color: #C5C8C6; color: #C5C8C6
} }
.ace-tomorrow-night .ace_cursor { .ace-tomorrow-night .ace_cursor {
border-left: 2px solid #AEAFAD; border-left: 2px solid #AEAFAD
} }
.ace-tomorrow-night .ace_cursor.ace_overwrite { .ace-tomorrow-night .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #AEAFAD; border-bottom: 1px solid #AEAFAD
} }
.ace-tomorrow-night .ace_marker-layer .ace_selection { .ace-tomorrow-night .ace_marker-layer .ace_selection {
background: #373B41; background: #373B41
} }
.ace-tomorrow-night.multiselect .ace_selection.start { .ace-tomorrow-night.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #1D1F21; box-shadow: 0 0 3px 0px #1D1F21;
border-radius: 2px; border-radius: 2px
} }
.ace-tomorrow-night .ace_marker-layer .ace_step { .ace-tomorrow-night .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-tomorrow-night .ace_marker-layer .ace_bracket { .ace-tomorrow-night .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #4B4E55; border: 1px solid #4B4E55
} }
.ace-tomorrow-night .ace_marker-layer .ace_active_line { .ace-tomorrow-night .ace_marker-layer .ace_active_line {
background: #282A2E; background: #282A2E
} }
.ace-tomorrow-night .ace_gutter_active_line { .ace-tomorrow-night .ace_gutter_active_line {
background-color: #282A2E; background-color: #282A2E
} }
.ace-tomorrow-night .ace_marker-layer .ace_selected_word { .ace-tomorrow-night .ace_marker-layer .ace_selected_word {
border: 1px solid #373B41; border: 1px solid #373B41
} }
.ace-tomorrow-night .ace_invisible { .ace-tomorrow-night .ace_invisible {
color: #4B4E55; color: #4B4E55
} }
.ace-tomorrow-night .ace_keyword, .ace-tomorrow-night .ace_meta { .ace-tomorrow-night .ace_keyword,
color:#B294BB; .ace-tomorrow-night .ace_meta {
color: #B294BB
} }
.ace-tomorrow-night .ace_keyword.ace_operator { .ace-tomorrow-night .ace_keyword.ace_operator {
color:#8ABEB7; color: #8ABEB7
} }
.ace-tomorrow-night .ace_constant.ace_character { .ace-tomorrow-night .ace_keyword.ace_other.ace_unit {
color:#DE935F; color: #DE935F
}
.ace-tomorrow-night .ace_constant.ace_character {
color: #DE935F
} }
.ace-tomorrow-night .ace_constant.ace_language { .ace-tomorrow-night .ace_constant.ace_language {
color:#DE935F; color: #DE935F
} }
.ace-tomorrow-night .ace_constant.ace_numeric { .ace-tomorrow-night .ace_constant.ace_numeric {
color:#DE935F; color: #DE935F
} }
.ace-tomorrow-night .ace_constant.ace_other { .ace-tomorrow-night .ace_constant.ace_other {
color:#CED1CF; color: #CED1CF
} }
.ace-tomorrow-night .ace_invalid { .ace-tomorrow-night .ace_invalid {
color:#CED2CF; color: #CED2CF;
background-color:#DF5F5F; background-color: #DF5F5F
} }
.ace-tomorrow-night .ace_invalid.ace_deprecated { .ace-tomorrow-night .ace_invalid.ace_deprecated {
color:#CED2CF; color: #CED2CF;
background-color:#B798BF; background-color: #B798BF
} }
.ace-tomorrow-night .ace_support.ace_constant { .ace-tomorrow-night .ace_support.ace_constant {
color:#DE935F; color: #DE935F
} }
.ace-tomorrow-night .ace_fold { .ace-tomorrow-night .ace_fold {
background-color: #81A2BE; background-color: #81A2BE;
border-color: #C5C8C6; border-color: #C5C8C6
} }
.ace-tomorrow-night .ace_support.ace_function { .ace-tomorrow-night .ace_support.ace_function {
color:#81A2BE; color: #81A2BE
} }
.ace-tomorrow-night .ace_support.ace_type { .ace-tomorrow-night .ace_support.ace_type {
color:#F0C674; color: #F0C674
} }
.ace-tomorrow-night .ace_support.ace_class { .ace-tomorrow-night .ace_support.ace_class {
color:#F0C674; color: #F0C674
} }
.ace-tomorrow-night .ace_storage { .ace-tomorrow-night .ace_storage {
color:#B294BB; color: #B294BB
} }
.ace-tomorrow-night .ace_storage.ace_type, .ace-tomorrow-night .ace_support.ace_type { .ace-tomorrow-night .ace_storage.ace_type,
color:#B294BB; .ace-tomorrow-night .ace_support.ace_type {
color: #B294BB
} }
.ace-tomorrow-night .ace_variable { .ace-tomorrow-night .ace_variable {
color:#81A2BE; color: #81A2BE
} }
.ace-tomorrow-night .ace_variable.ace_parameter { .ace-tomorrow-night .ace_variable.ace_parameter {
color:#DE935F; color: #DE935F
} }
.ace-tomorrow-night .ace_string { .ace-tomorrow-night .ace_string {
color:#B5BD68; color: #B5BD68
} }
.ace-tomorrow-night .ace_string.ace_regexp { .ace-tomorrow-night .ace_string.ace_regexp {
color:#CC6666; color: #CC6666
} }
.ace-tomorrow-night .ace_comment { .ace-tomorrow-night .ace_comment {
color:#969896; color: #969896
} }
.ace-tomorrow-night .ace_variable { .ace-tomorrow-night .ace_variable {
color:#CC6666; color: #CC6666
} }
.ace-tomorrow-night .ace_meta.ace_tag { .ace-tomorrow-night .ace_meta.ace_tag {
color:#CC6666; color: #CC6666
} }
.ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name { .ace-tomorrow-night .ace_entity.ace_other.ace_attribute-name {
color:#CC6666; color: #CC6666
} }
.ace-tomorrow-night .ace_entity.ace_name.ace_function { .ace-tomorrow-night .ace_entity.ace_name.ace_function {
color:#81A2BE; color: #81A2BE
}
.ace-tomorrow-night .ace_entity.ace_name.ace_tag {
color: #CC6666
} }
.ace-tomorrow-night .ace_markup.ace_underline { .ace-tomorrow-night .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-tomorrow-night .ace_markup.ace_heading { .ace-tomorrow-night .ace_markup.ace_heading {
color:#B5BD68; color: #B5BD68
} }
.ace-tomorrow-night .ace_indent-guide { .ace-tomorrow-night .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWOQlVf8z7Bq1ar/AA/hBFp7egmpAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night"; exports.cssClass = "ace-tomorrow-night";
exports.cssText = require('ace/requirejs/text!./tomorrow_night.css'); exports.cssText = require('ace/requirejs/text!./tomorrow_night.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,180 +1,189 @@
.ace-tomorrow-night-blue .ace_editor { .ace-tomorrow-night-blue .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-tomorrow-night-blue .ace_editor.ace_focus { .ace-tomorrow-night-blue .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-tomorrow-night-blue .ace_gutter { .ace-tomorrow-night-blue .ace_gutter {
background: #00204b; background: #00204b;
color: #7388b5; color: #7388b5
} }
.ace-tomorrow-night-blue .ace_print_margin { .ace-tomorrow-night-blue .ace_print_margin {
width: 1px; width: 1px;
background: #00204b; background: #00204b
} }
.ace-tomorrow-night-blue .ace_scroller { .ace-tomorrow-night-blue .ace_scroller {
background-color: #002451; background-color: #002451
} }
.ace-tomorrow-night-blue .ace_text-layer { .ace-tomorrow-night-blue .ace_text-layer {
color: #FFFFFF; color: #FFFFFF
} }
.ace-tomorrow-night-blue .ace_cursor { .ace-tomorrow-night-blue .ace_cursor {
border-left: 2px solid #FFFFFF; border-left: 2px solid #FFFFFF
} }
.ace-tomorrow-night-blue .ace_cursor.ace_overwrite { .ace-tomorrow-night-blue .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF
} }
.ace-tomorrow-night-blue .ace_marker-layer .ace_selection { .ace-tomorrow-night-blue .ace_marker-layer .ace_selection {
background: #003F8E; background: #003F8E
} }
.ace-tomorrow-night-blue.multiselect .ace_selection.start { .ace-tomorrow-night-blue.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #002451; box-shadow: 0 0 3px 0px #002451;
border-radius: 2px; border-radius: 2px
} }
.ace-tomorrow-night-blue .ace_marker-layer .ace_step { .ace-tomorrow-night-blue .ace_marker-layer .ace_step {
background: rgb(127, 111, 19); background: rgb(127, 111, 19)
} }
.ace-tomorrow-night-blue .ace_marker-layer .ace_bracket { .ace-tomorrow-night-blue .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #404F7D; border: 1px solid #404F7D
} }
.ace-tomorrow-night-blue .ace_marker-layer .ace_active_line { .ace-tomorrow-night-blue .ace_marker-layer .ace_active_line {
background: #00346E; background: #00346E
} }
.ace-tomorrow-night-blue .ace_gutter_active_line { .ace-tomorrow-night-blue .ace_gutter_active_line {
background-color: #022040; background-color: #022040
} }
.ace-tomorrow-night-blue .ace_marker-layer .ace_selected_word { .ace-tomorrow-night-blue .ace_marker-layer .ace_selected_word {
border: 1px solid #003F8E; border: 1px solid #003F8E
} }
.ace-tomorrow-night-blue .ace_invisible { .ace-tomorrow-night-blue .ace_invisible {
color: #404F7D; color: #404F7D
} }
.ace-tomorrow-night-blue .ace_keyword, .ace-tomorrow-night-blue .ace_meta { .ace-tomorrow-night-blue .ace_keyword,
color:#EBBBFF; .ace-tomorrow-night-blue .ace_meta {
color: #EBBBFF
} }
.ace-tomorrow-night-blue .ace_keyword.ace_operator { .ace-tomorrow-night-blue .ace_keyword.ace_operator {
color:#99FFFF; color: #99FFFF
} }
.ace-tomorrow-night-blue .ace_constant.ace_character { .ace-tomorrow-night-blue .ace_keyword.ace_other.ace_unit {
color:#FFC58F; color: #FFC58F
}
.ace-tomorrow-night-blue .ace_constant.ace_character {
color: #FFC58F
} }
.ace-tomorrow-night-blue .ace_constant.ace_language { .ace-tomorrow-night-blue .ace_constant.ace_language {
color:#FFC58F; color: #FFC58F
} }
.ace-tomorrow-night-blue .ace_constant.ace_numeric { .ace-tomorrow-night-blue .ace_constant.ace_numeric {
color:#FFC58F; color: #FFC58F
} }
.ace-tomorrow-night-blue .ace_constant.ace_other { .ace-tomorrow-night-blue .ace_constant.ace_other {
color:#FFFFFF; color: #FFFFFF
} }
.ace-tomorrow-night-blue .ace_invalid { .ace-tomorrow-night-blue .ace_invalid {
color:#FFFFFF; color: #FFFFFF;
background-color:#F99DA5; background-color: #F99DA5
} }
.ace-tomorrow-night-blue .ace_invalid.ace_deprecated { .ace-tomorrow-night-blue .ace_invalid.ace_deprecated {
color:#FFFFFF; color: #FFFFFF;
background-color:#EBBBFF; background-color: #EBBBFF
} }
.ace-tomorrow-night-blue .ace_support.ace_constant { .ace-tomorrow-night-blue .ace_support.ace_constant {
color:#FFC58F; color: #FFC58F
} }
.ace-tomorrow-night-blue .ace_fold { .ace-tomorrow-night-blue .ace_fold {
background-color: #BBDAFF; background-color: #BBDAFF;
border-color: #FFFFFF; border-color: #FFFFFF
} }
.ace-tomorrow-night-blue .ace_support.ace_function { .ace-tomorrow-night-blue .ace_support.ace_function {
color:#BBDAFF; color: #BBDAFF
} }
.ace-tomorrow-night-blue .ace_support.ace_type { .ace-tomorrow-night-blue .ace_support.ace_type {
color:#FFEEAD; color: #FFEEAD
} }
.ace-tomorrow-night-blue .ace_support.ace_class { .ace-tomorrow-night-blue .ace_support.ace_class {
color:#FFEEAD; color: #FFEEAD
} }
.ace-tomorrow-night-blue .ace_storage { .ace-tomorrow-night-blue .ace_storage {
color:#EBBBFF; color: #EBBBFF
} }
.ace-tomorrow-night-blue .ace_storage.ace_type, .ace-tomorrow-night-blue .ace_support.ace_type { .ace-tomorrow-night-blue .ace_storage.ace_type,
color:#EBBBFF; .ace-tomorrow-night-blue .ace_support.ace_type {
color: #EBBBFF
} }
.ace-tomorrow-night-blue .ace_variable { .ace-tomorrow-night-blue .ace_variable {
color:#BBDAFF; color: #BBDAFF
} }
.ace-tomorrow-night-blue .ace_variable.ace_parameter { .ace-tomorrow-night-blue .ace_variable.ace_parameter {
color:#FFC58F; color: #FFC58F
} }
.ace-tomorrow-night-blue .ace_string { .ace-tomorrow-night-blue .ace_string {
color:#D1F1A9; color: #D1F1A9
} }
.ace-tomorrow-night-blue .ace_string.ace_regexp { .ace-tomorrow-night-blue .ace_string.ace_regexp {
color:#FF9DA4; color: #FF9DA4
} }
.ace-tomorrow-night-blue .ace_comment { .ace-tomorrow-night-blue .ace_comment {
color:#7285B7; color: #7285B7
} }
.ace-tomorrow-night-blue .ace_variable { .ace-tomorrow-night-blue .ace_variable {
color:#FF9DA4; color: #FF9DA4
} }
.ace-tomorrow-night-blue .ace_meta.ace_tag { .ace-tomorrow-night-blue .ace_meta.ace_tag {
color:#FF9DA4; color: #FF9DA4
} }
.ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name { .ace-tomorrow-night-blue .ace_entity.ace_other.ace_attribute-name {
color:#FF9DA4; color: #FF9DA4
} }
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_function { .ace-tomorrow-night-blue .ace_entity.ace_name.ace_function {
color:#BBDAFF; color: #BBDAFF
}
.ace-tomorrow-night-blue .ace_entity.ace_name.ace_tag {
color: #FF9DA4
} }
.ace-tomorrow-night-blue .ace_markup.ace_underline { .ace-tomorrow-night-blue .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-tomorrow-night-blue .ace_markup.ace_heading { .ace-tomorrow-night-blue .ace_markup.ace_heading {
color:#D1F1A9; color: #D1F1A9
} }
.ace-tomorrow-night-blue .ace_indent-guide { .ace-tomorrow-night-blue .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgUAn8z7Bq1ar/ABBUBHJ4/r3JAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night-blue"; exports.cssClass = "ace-tomorrow-night-blue";
exports.cssText = require('ace/requirejs/text!./tomorrow_night_blue.css'); exports.cssText = require('ace/requirejs/text!./tomorrow_night_blue.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,180 +1,189 @@
.ace-tomorrow-night-bright .ace_editor { .ace-tomorrow-night-bright .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-tomorrow-night-bright .ace_editor.ace_focus { .ace-tomorrow-night-bright .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-tomorrow-night-bright .ace_gutter { .ace-tomorrow-night-bright .ace_gutter {
background: #1a1a1a; background: #1a1a1a;
color: #DEDEDE; color: #DEDEDE
} }
.ace-tomorrow-night-bright .ace_print_margin { .ace-tomorrow-night-bright .ace_print_margin {
width: 1px; width: 1px;
background: #1a1a1a; background: #1a1a1a
} }
.ace-tomorrow-night-bright .ace_scroller { .ace-tomorrow-night-bright .ace_scroller {
background-color: #000000; background-color: #000000
} }
.ace-tomorrow-night-bright .ace_text-layer { .ace-tomorrow-night-bright .ace_text-layer {
color: #DEDEDE; color: #DEDEDE
} }
.ace-tomorrow-night-bright .ace_cursor { .ace-tomorrow-night-bright .ace_cursor {
border-left: 2px solid #9F9F9F; border-left: 2px solid #9F9F9F
} }
.ace-tomorrow-night-bright .ace_cursor.ace_overwrite { .ace-tomorrow-night-bright .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #9F9F9F; border-bottom: 1px solid #9F9F9F
} }
.ace-tomorrow-night-bright .ace_marker-layer .ace_selection { .ace-tomorrow-night-bright .ace_marker-layer .ace_selection {
background: #424242; background: #424242
} }
.ace-tomorrow-night-bright.multiselect .ace_selection.start { .ace-tomorrow-night-bright.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #000000; box-shadow: 0 0 3px 0px #000000;
border-radius: 2px; border-radius: 2px
} }
.ace-tomorrow-night-bright .ace_marker-layer .ace_step { .ace-tomorrow-night-bright .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-tomorrow-night-bright .ace_marker-layer .ace_bracket { .ace-tomorrow-night-bright .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #343434; border: 1px solid #343434
} }
.ace-tomorrow-night-bright .ace_marker-layer .ace_active_line { .ace-tomorrow-night-bright .ace_marker-layer .ace_active_line {
background: #2A2A2A; background: #2A2A2A
} }
.ace-tomorrow-night-bright .ace_gutter_active_line { .ace-tomorrow-night-bright .ace_gutter_active_line {
background-color: #2A2A2A; background-color: #2A2A2A
} }
.ace-tomorrow-night-bright .ace_marker-layer .ace_selected_word { .ace-tomorrow-night-bright .ace_marker-layer .ace_selected_word {
border: 1px solid #424242; border: 1px solid #424242
} }
.ace-tomorrow-night-bright .ace_invisible { .ace-tomorrow-night-bright .ace_invisible {
color: #343434; color: #343434
} }
.ace-tomorrow-night-bright .ace_keyword, .ace-tomorrow-night-bright .ace_meta { .ace-tomorrow-night-bright .ace_keyword,
color:#C397D8; .ace-tomorrow-night-bright .ace_meta {
color: #C397D8
} }
.ace-tomorrow-night-bright .ace_keyword.ace_operator { .ace-tomorrow-night-bright .ace_keyword.ace_operator {
color:#70C0B1; color: #70C0B1
} }
.ace-tomorrow-night-bright .ace_constant.ace_character { .ace-tomorrow-night-bright .ace_keyword.ace_other.ace_unit {
color:#E78C45; color: #E78C45
}
.ace-tomorrow-night-bright .ace_constant.ace_character {
color: #E78C45
} }
.ace-tomorrow-night-bright .ace_constant.ace_language { .ace-tomorrow-night-bright .ace_constant.ace_language {
color:#E78C45; color: #E78C45
} }
.ace-tomorrow-night-bright .ace_constant.ace_numeric { .ace-tomorrow-night-bright .ace_constant.ace_numeric {
color:#E78C45; color: #E78C45
} }
.ace-tomorrow-night-bright .ace_constant.ace_other { .ace-tomorrow-night-bright .ace_constant.ace_other {
color:#EEEEEE; color: #EEEEEE
} }
.ace-tomorrow-night-bright .ace_invalid { .ace-tomorrow-night-bright .ace_invalid {
color:#CED2CF; color: #CED2CF;
background-color:#DF5F5F; background-color: #DF5F5F
} }
.ace-tomorrow-night-bright .ace_invalid.ace_deprecated { .ace-tomorrow-night-bright .ace_invalid.ace_deprecated {
color:#CED2CF; color: #CED2CF;
background-color:#B798BF; background-color: #B798BF
} }
.ace-tomorrow-night-bright .ace_support.ace_constant { .ace-tomorrow-night-bright .ace_support.ace_constant {
color:#E78C45; color: #E78C45
} }
.ace-tomorrow-night-bright .ace_fold { .ace-tomorrow-night-bright .ace_fold {
background-color: #7AA6DA; background-color: #7AA6DA;
border-color: #DEDEDE; border-color: #DEDEDE
} }
.ace-tomorrow-night-bright .ace_support.ace_function { .ace-tomorrow-night-bright .ace_support.ace_function {
color:#7AA6DA; color: #7AA6DA
} }
.ace-tomorrow-night-bright .ace_support.ace_type { .ace-tomorrow-night-bright .ace_support.ace_type {
color:#E7C547; color: #E7C547
} }
.ace-tomorrow-night-bright .ace_support.ace_class { .ace-tomorrow-night-bright .ace_support.ace_class {
color:#E7C547; color: #E7C547
} }
.ace-tomorrow-night-bright .ace_storage { .ace-tomorrow-night-bright .ace_storage {
color:#C397D8; color: #C397D8
} }
.ace-tomorrow-night-bright .ace_storage.ace_type, .ace-tomorrow-night-bright .ace_support.ace_type { .ace-tomorrow-night-bright .ace_storage.ace_type,
color:#C397D8; .ace-tomorrow-night-bright .ace_support.ace_type {
color: #C397D8
} }
.ace-tomorrow-night-bright .ace_variable { .ace-tomorrow-night-bright .ace_variable {
color:#7AA6DA; color: #7AA6DA
} }
.ace-tomorrow-night-bright .ace_variable.ace_parameter { .ace-tomorrow-night-bright .ace_variable.ace_parameter {
color:#E78C45; color: #E78C45
} }
.ace-tomorrow-night-bright .ace_string { .ace-tomorrow-night-bright .ace_string {
color:#B9CA4A; color: #B9CA4A
} }
.ace-tomorrow-night-bright .ace_string.ace_regexp { .ace-tomorrow-night-bright .ace_string.ace_regexp {
color:#D54E53; color: #D54E53
} }
.ace-tomorrow-night-bright .ace_comment { .ace-tomorrow-night-bright .ace_comment {
color:#969896; color: #969896
} }
.ace-tomorrow-night-bright .ace_variable { .ace-tomorrow-night-bright .ace_variable {
color:#D54E53; color: #D54E53
} }
.ace-tomorrow-night-bright .ace_meta.ace_tag { .ace-tomorrow-night-bright .ace_meta.ace_tag {
color:#D54E53; color: #D54E53
} }
.ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name { .ace-tomorrow-night-bright .ace_entity.ace_other.ace_attribute-name {
color:#D54E53; color: #D54E53
} }
.ace-tomorrow-night-bright .ace_entity.ace_name.ace_function { .ace-tomorrow-night-bright .ace_entity.ace_name.ace_function {
color:#7AA6DA; color: #7AA6DA
}
.ace-tomorrow-night-bright .ace_entity.ace_name.ace_tag {
color: #D54E53
} }
.ace-tomorrow-night-bright .ace_markup.ace_underline { .ace-tomorrow-night-bright .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-tomorrow-night-bright .ace_markup.ace_heading { .ace-tomorrow-night-bright .ace_markup.ace_heading {
color:#B9CA4A; color: #B9CA4A
} }
.ace-tomorrow-night-bright .ace_indent-guide { .ace-tomorrow-night-bright .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGD4z7Bq1ar/AAz9A/2naJQKAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night-bright"; exports.cssClass = "ace-tomorrow-night-bright";
exports.cssText = require('ace/requirejs/text!./tomorrow_night_bright.css'); exports.cssText = require('ace/requirejs/text!./tomorrow_night_bright.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,176 +1,185 @@
.ace-tomorrow-night-eighties .ace_editor { .ace-tomorrow-night-eighties .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-tomorrow-night-eighties .ace_editor.ace_focus { .ace-tomorrow-night-eighties .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-tomorrow-night-eighties .ace_gutter { .ace-tomorrow-night-eighties .ace_gutter {
background: #272727; background: #272727;
color: #CCC; color: #CCC
} }
.ace-tomorrow-night-eighties .ace_print_margin { .ace-tomorrow-night-eighties .ace_print_margin {
width: 1px; width: 1px;
background: #272727; background: #272727
} }
.ace-tomorrow-night-eighties .ace_scroller { .ace-tomorrow-night-eighties .ace_scroller {
background-color: #2D2D2D; background-color: #2D2D2D
} }
.ace-tomorrow-night-eighties .ace_text-layer { .ace-tomorrow-night-eighties .ace_text-layer {
color: #CCCCCC; color: #CCCCCC
} }
.ace-tomorrow-night-eighties .ace_cursor { .ace-tomorrow-night-eighties .ace_cursor {
border-left: 2px solid #CCCCCC; border-left: 2px solid #CCCCCC
} }
.ace-tomorrow-night-eighties .ace_cursor.ace_overwrite { .ace-tomorrow-night-eighties .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC
} }
.ace-tomorrow-night-eighties .ace_marker-layer .ace_selection { .ace-tomorrow-night-eighties .ace_marker-layer .ace_selection {
background: #515151; background: #515151
} }
.ace-tomorrow-night-eighties.multiselect .ace_selection.start { .ace-tomorrow-night-eighties.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #2D2D2D; box-shadow: 0 0 3px 0px #2D2D2D;
border-radius: 2px; border-radius: 2px
} }
.ace-tomorrow-night-eighties .ace_marker-layer .ace_step { .ace-tomorrow-night-eighties .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-tomorrow-night-eighties .ace_marker-layer .ace_bracket { .ace-tomorrow-night-eighties .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #6A6A6A; border: 1px solid #6A6A6A
} }
.ace-tomorrow-night-eighties .ace_marker-layer .ace_active_line { .ace-tomorrow-night-eighties .ace_marker-layer .ace_active_line {
background: #393939; background: #393939
} }
.ace-tomorrow-night-eighties .ace_gutter_active_line { .ace-tomorrow-night-eighties .ace_gutter_active_line {
background-color: #393939; background-color: #393939
} }
.ace-tomorrow-night-eighties .ace_marker-layer .ace_selected_word { .ace-tomorrow-night-eighties .ace_marker-layer .ace_selected_word {
border: 1px solid #515151; border: 1px solid #515151
} }
.ace-tomorrow-night-eighties .ace_invisible { .ace-tomorrow-night-eighties .ace_invisible {
color: #6A6A6A; color: #6A6A6A
} }
.ace-tomorrow-night-eighties .ace_keyword, .ace-tomorrow-night-eighties .ace_meta { .ace-tomorrow-night-eighties .ace_keyword,
color:#CC99CC; .ace-tomorrow-night-eighties .ace_meta {
color: #CC99CC
} }
.ace-tomorrow-night-eighties .ace_keyword.ace_operator { .ace-tomorrow-night-eighties .ace_keyword.ace_operator {
color:#66CCCC; color: #66CCCC
} }
.ace-tomorrow-night-eighties .ace_constant.ace_character { .ace-tomorrow-night-eighties .ace_keyword.ace_other.ace_unit {
color:#F99157; color: #F99157
}
.ace-tomorrow-night-eighties .ace_constant.ace_character {
color: #F99157
} }
.ace-tomorrow-night-eighties .ace_constant.ace_language { .ace-tomorrow-night-eighties .ace_constant.ace_language {
color:#F99157; color: #F99157
} }
.ace-tomorrow-night-eighties .ace_constant.ace_numeric { .ace-tomorrow-night-eighties .ace_constant.ace_numeric {
color:#F99157; color: #F99157
} }
.ace-tomorrow-night-eighties .ace_constant.ace_other { .ace-tomorrow-night-eighties .ace_constant.ace_other {
color:#CCCCCC; color: #CCCCCC
} }
.ace-tomorrow-night-eighties .ace_invalid { .ace-tomorrow-night-eighties .ace_invalid {
color:#CDCDCD; color: #CDCDCD;
background-color:#F2777A; background-color: #F2777A
} }
.ace-tomorrow-night-eighties .ace_invalid.ace_deprecated { .ace-tomorrow-night-eighties .ace_invalid.ace_deprecated {
color:#CDCDCD; color: #CDCDCD;
background-color:#CC99CC; background-color: #CC99CC
} }
.ace-tomorrow-night-eighties .ace_support.ace_constant { .ace-tomorrow-night-eighties .ace_support.ace_constant {
color:#F99157; color: #F99157
} }
.ace-tomorrow-night-eighties .ace_fold { .ace-tomorrow-night-eighties .ace_fold {
background-color: #6699CC; background-color: #6699CC;
border-color: #CCCCCC; border-color: #CCCCCC
} }
.ace-tomorrow-night-eighties .ace_support.ace_function { .ace-tomorrow-night-eighties .ace_support.ace_function {
color:#6699CC; color: #6699CC
} }
.ace-tomorrow-night-eighties .ace_support.ace_type { .ace-tomorrow-night-eighties .ace_support.ace_type {
color:#FFCC66; color: #FFCC66
} }
.ace-tomorrow-night-eighties .ace_support.ace_class { .ace-tomorrow-night-eighties .ace_support.ace_class {
color:#FFCC66; color: #FFCC66
} }
.ace-tomorrow-night-eighties .ace_storage { .ace-tomorrow-night-eighties .ace_storage {
color:#CC99CC; color: #CC99CC
} }
.ace-tomorrow-night-eighties .ace_storage.ace_type, .ace-tomorrow-night-eighties .ace_support.ace_type { .ace-tomorrow-night-eighties .ace_storage.ace_type,
color:#CC99CC; .ace-tomorrow-night-eighties .ace_support.ace_type {
color: #CC99CC
} }
.ace-tomorrow-night-eighties .ace_variable { .ace-tomorrow-night-eighties .ace_variable {
color:#6699CC; color: #6699CC
} }
.ace-tomorrow-night-eighties .ace_variable.ace_parameter { .ace-tomorrow-night-eighties .ace_variable.ace_parameter {
color:#F99157; color: #F99157
} }
.ace-tomorrow-night-eighties .ace_string { .ace-tomorrow-night-eighties .ace_string {
color:#99CC99; color: #99CC99
} }
.ace-tomorrow-night-eighties .ace_comment { .ace-tomorrow-night-eighties .ace_comment {
color:#999999; color: #999999
} }
.ace-tomorrow-night-eighties .ace_variable { .ace-tomorrow-night-eighties .ace_variable {
color:#F2777A; color: #F2777A
} }
.ace-tomorrow-night-eighties .ace_meta.ace_tag { .ace-tomorrow-night-eighties .ace_meta.ace_tag {
color:#F2777A; color: #F2777A
} }
.ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name { .ace-tomorrow-night-eighties .ace_entity.ace_other.ace_attribute-name {
color:#F2777A; color: #F2777A
} }
.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function { .ace-tomorrow-night-eighties .ace_entity.ace_name.ace_function {
color:#6699CC; color: #6699CC
}
.ace-tomorrow-night-eighties .ace_entity.ace_name.ace_tag {
color: #F2777A
} }
.ace-tomorrow-night-eighties .ace_markup.ace_underline { .ace-tomorrow-night-eighties .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-tomorrow-night-eighties .ace_markup.ace_heading { .ace-tomorrow-night-eighties .ace_markup.ace_heading {
color:#99CC99; color: #99CC99
} }
.ace-tomorrow-night-eighties .ace_indent-guide { .ace-tomorrow-night-eighties .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ1dX9z7Bq1ar/ABE1BITwhhuFAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ1dX9z7Bq1ar/ABE1BITwhhuFAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-tomorrow-night-eighties"; exports.cssClass = "ace-tomorrow-night-eighties";
exports.cssText = require('ace/requirejs/text!./tomorrow_night_eighties.css'); exports.cssText = require('ace/requirejs/text!./tomorrow_night_eighties.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,166 +1,169 @@
.ace-twilight .ace_editor { .ace-twilight .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-twilight .ace_editor.ace_focus { .ace-twilight .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-twilight .ace_gutter { .ace-twilight .ace_gutter {
background: #232323; background: #232323;
color: #E2E2E2; color: #E2E2E2
} }
.ace-twilight .ace_print_margin { .ace-twilight .ace_print_margin {
width: 1px; width: 1px;
background: #232323; background: #232323
} }
.ace-twilight .ace_scroller { .ace-twilight .ace_scroller {
background-color: #141414; background-color: #141414
} }
.ace-twilight .ace_text-layer { .ace-twilight .ace_text-layer {
color: #F8F8F8; color: #F8F8F8
} }
.ace-twilight .ace_cursor { .ace-twilight .ace_cursor {
border-left: 2px solid #A7A7A7; border-left: 2px solid #A7A7A7
} }
.ace-twilight .ace_cursor.ace_overwrite { .ace-twilight .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #A7A7A7; border-bottom: 1px solid #A7A7A7
} }
.ace-twilight .ace_marker-layer .ace_selection { .ace-twilight .ace_marker-layer .ace_selection {
background: rgba(221, 240, 255, 0.20); background: rgba(221, 240, 255, 0.20)
} }
.ace-twilight.multiselect .ace_selection.start { .ace-twilight.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #141414; box-shadow: 0 0 3px 0px #141414;
border-radius: 2px; border-radius: 2px
} }
.ace-twilight .ace_marker-layer .ace_step { .ace-twilight .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-twilight .ace_marker-layer .ace_bracket { .ace-twilight .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid rgba(255, 255, 255, 0.25); border: 1px solid rgba(255, 255, 255, 0.25)
} }
.ace-twilight .ace_marker-layer .ace_active_line { .ace-twilight .ace_marker-layer .ace_active_line {
background: rgba(255, 255, 255, 0.031); background: rgba(255, 255, 255, 0.031)
} }
.ace-twilight .ace_gutter_active_line { .ace-twilight .ace_gutter_active_line {
background-color: rgba(255, 255, 255, 0.031); background-color: rgba(255, 255, 255, 0.031)
} }
.ace-twilight .ace_marker-layer .ace_selected_word { .ace-twilight .ace_marker-layer .ace_selected_word {
border: 1px solid rgba(221, 240, 255, 0.20); border: 1px solid rgba(221, 240, 255, 0.20)
} }
.ace-twilight .ace_invisible { .ace-twilight .ace_invisible {
color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.25)
} }
.ace-twilight .ace_keyword, .ace-twilight .ace_meta { .ace-twilight .ace_keyword,
color:#CDA869; .ace-twilight .ace_meta {
color: #CDA869
} }
.ace-twilight .ace_constant, .ace-twilight .ace_constant.ace_other { .ace-twilight .ace_constant,
color:#CF6A4C; .ace-twilight .ace_constant.ace_other {
color: #CF6A4C
} }
.ace-twilight .ace_constant.ace_character, { .ace-twilight .ace_constant.ace_character,
color:#CF6A4C; {
color: #CF6A4C
} }
.ace-twilight .ace_constant.ace_character.ace_escape, { .ace-twilight .ace_constant.ace_character.ace_escape,
color:#CF6A4C; {
color: #CF6A4C
} }
.ace-twilight .ace_invalid.ace_illegal { .ace-twilight .ace_invalid.ace_illegal {
color:#F8F8F8; color: #F8F8F8;
background-color:rgba(86, 45, 86, 0.75); background-color: rgba(86, 45, 86, 0.75)
} }
.ace-twilight .ace_invalid.ace_deprecated { .ace-twilight .ace_invalid.ace_deprecated {
text-decoration:underline; text-decoration: underline;
font-style:italic; font-style: italic;
color:#D2A8A1; color: #D2A8A1
} }
.ace-twilight .ace_support { .ace-twilight .ace_support {
color:#9B859D; color: #9B859D
} }
.ace-twilight .ace_support.ace_constant { .ace-twilight .ace_support.ace_constant {
color:#CF6A4C; color: #CF6A4C
} }
.ace-twilight .ace_fold { .ace-twilight .ace_fold {
background-color: #AC885B; background-color: #AC885B;
border-color: #F8F8F8; border-color: #F8F8F8
} }
.ace-twilight .ace_support.ace_function { .ace-twilight .ace_support.ace_function {
color:#DAD085; color: #DAD085
} }
.ace-twilight .ace_storage { .ace-twilight .ace_storage {
color:#F9EE98; color: #F9EE98
} }
.ace-twilight .ace_variable { .ace-twilight .ace_variable {
color:#AC885B; color: #AC885B
} }
.ace-twilight .ace_string { .ace-twilight .ace_string {
color:#8F9D6A; color: #8F9D6A
} }
.ace-twilight .ace_string.ace_regexp { .ace-twilight .ace_string.ace_regexp {
color:#E9C062; color: #E9C062
} }
.ace-twilight .ace_comment { .ace-twilight .ace_comment {
font-style:italic; font-style: italic;
color:#5F5A60; color: #5F5A60
} }
.ace-twilight .ace_variable { .ace-twilight .ace_variable {
color:#7587A6; color: #7587A6
} }
.ace-twilight .ace_xml_pe { .ace-twilight .ace_xml_pe {
color:#494949; color: #494949
} }
.ace-twilight .ace_meta.ace_tag { .ace-twilight .ace_meta.ace_tag {
color:#AC885B; color: #AC885B
} }
.ace-twilight .ace_entity.ace_name.ace_function { .ace-twilight .ace_entity.ace_name.ace_function {
color:#AC885B; color: #AC885B
} }
.ace-twilight .ace_markup.ace_underline { .ace-twilight .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-twilight .ace_markup.ace_heading { .ace-twilight .ace_markup.ace_heading {
color:#CF6A4C; color: #CF6A4C
} }
.ace-twilight .ace_markup.ace_list { .ace-twilight .ace_markup.ace_list {
color:#F9EE98; color: #F9EE98
} }
.ace-twilight .ace_indent-guide { .ace-twilight .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERH5zzBz5sz/AA5EBAYqeZXWAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWMQERH5zzBz5sz/AA5EBAYqeZXWAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-twilight"; exports.cssClass = "ace-twilight";
exports.cssText = require('ace/requirejs/text!./twilight.css'); exports.cssText = require('ace/requirejs/text!./twilight.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -1,145 +1,148 @@
.ace-vibrant-ink .ace_editor { .ace-vibrant-ink .ace_editor {
border: 2px solid rgb(159, 159, 159); border: 2px solid rgb(159, 159, 159)
} }
.ace-vibrant-ink .ace_editor.ace_focus { .ace-vibrant-ink .ace_editor.ace_focus {
border: 2px solid #327fbd; border: 2px solid #327fbd
} }
.ace-vibrant-ink .ace_gutter { .ace-vibrant-ink .ace_gutter {
background: #1a1a1a; background: #1a1a1a;
color: #BEBEBE; color: #BEBEBE
} }
.ace-vibrant-ink .ace_print_margin { .ace-vibrant-ink .ace_print_margin {
width: 1px; width: 1px;
background: #1a1a1a; background: #1a1a1a
} }
.ace-vibrant-ink .ace_scroller { .ace-vibrant-ink .ace_scroller {
background-color: #0F0F0F; background-color: #0F0F0F
} }
.ace-vibrant-ink .ace_text-layer { .ace-vibrant-ink .ace_text-layer {
color: #FFFFFF; color: #FFFFFF
} }
.ace-vibrant-ink .ace_cursor { .ace-vibrant-ink .ace_cursor {
border-left: 2px solid #FFFFFF; border-left: 2px solid #FFFFFF
} }
.ace-vibrant-ink .ace_cursor.ace_overwrite { .ace-vibrant-ink .ace_cursor.ace_overwrite {
border-left: 0px; border-left: 0px;
border-bottom: 1px solid #FFFFFF; border-bottom: 1px solid #FFFFFF
} }
.ace-vibrant-ink .ace_marker-layer .ace_selection { .ace-vibrant-ink .ace_marker-layer .ace_selection {
background: #6699CC; background: #6699CC
} }
.ace-vibrant-ink.multiselect .ace_selection.start { .ace-vibrant-ink.multiselect .ace_selection.start {
box-shadow: 0 0 3px 0px #0F0F0F; box-shadow: 0 0 3px 0px #0F0F0F;
border-radius: 2px; border-radius: 2px
} }
.ace-vibrant-ink .ace_marker-layer .ace_step { .ace-vibrant-ink .ace_marker-layer .ace_step {
background: rgb(102, 82, 0); background: rgb(102, 82, 0)
} }
.ace-vibrant-ink .ace_marker-layer .ace_bracket { .ace-vibrant-ink .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
border: 1px solid #404040; border: 1px solid #404040
} }
.ace-vibrant-ink .ace_marker-layer .ace_active_line { .ace-vibrant-ink .ace_marker-layer .ace_active_line {
background: #333333; background: #333333
} }
.ace-vibrant-ink .ace_gutter_active_line { .ace-vibrant-ink .ace_gutter_active_line {
background-color: #333333; background-color: #333333
} }
.ace-vibrant-ink .ace_marker-layer .ace_selected_word { .ace-vibrant-ink .ace_marker-layer .ace_selected_word {
border: 1px solid #6699CC; border: 1px solid #6699CC
} }
.ace-vibrant-ink .ace_invisible { .ace-vibrant-ink .ace_invisible {
color: #404040; color: #404040
} }
.ace-vibrant-ink .ace_keyword, .ace-vibrant-ink .ace_meta { .ace-vibrant-ink .ace_keyword,
color:#FF6600; .ace-vibrant-ink .ace_meta {
color: #FF6600
} }
.ace-vibrant-ink .ace_constant, .ace-vibrant-ink .ace_constant.ace_other { .ace-vibrant-ink .ace_constant,
color:#339999; .ace-vibrant-ink .ace_constant.ace_other {
color: #339999
} }
.ace-vibrant-ink .ace_constant.ace_character, { .ace-vibrant-ink .ace_constant.ace_character,
color:#339999; {
color: #339999
} }
.ace-vibrant-ink .ace_constant.ace_character.ace_escape, { .ace-vibrant-ink .ace_constant.ace_character.ace_escape,
color:#339999; {
color: #339999
} }
.ace-vibrant-ink .ace_constant.ace_numeric { .ace-vibrant-ink .ace_constant.ace_numeric {
color:#99CC99; color: #99CC99
} }
.ace-vibrant-ink .ace_invalid { .ace-vibrant-ink .ace_invalid {
color:#CCFF33; color: #CCFF33;
background-color:#000000; background-color: #000000
} }
.ace-vibrant-ink .ace_invalid.ace_deprecated { .ace-vibrant-ink .ace_invalid.ace_deprecated {
color:#CCFF33; color: #CCFF33;
background-color:#000000; background-color: #000000
} }
.ace-vibrant-ink .ace_fold { .ace-vibrant-ink .ace_fold {
background-color: #FFCC00; background-color: #FFCC00;
border-color: #FFFFFF; border-color: #FFFFFF
} }
.ace-vibrant-ink .ace_support.ace_function { .ace-vibrant-ink .ace_support.ace_function {
color:#FFCC00; color: #FFCC00
} }
.ace-vibrant-ink .ace_variable { .ace-vibrant-ink .ace_variable {
color:#FFCC00; color: #FFCC00
} }
.ace-vibrant-ink .ace_variable.ace_parameter { .ace-vibrant-ink .ace_variable.ace_parameter {
font-style:italic; font-style: italic
} }
.ace-vibrant-ink .ace_string { .ace-vibrant-ink .ace_string {
color:#66FF00; color: #66FF00
} }
.ace-vibrant-ink .ace_string.ace_regexp { .ace-vibrant-ink .ace_string.ace_regexp {
color:#44B4CC; color: #44B4CC
} }
.ace-vibrant-ink .ace_comment { .ace-vibrant-ink .ace_comment {
color:#9933CC; color: #9933CC
} }
.ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name { .ace-vibrant-ink .ace_entity.ace_other.ace_attribute-name {
font-style:italic; font-style: italic;
color:#99CC99; color: #99CC99
} }
.ace-vibrant-ink .ace_entity.ace_name.ace_function { .ace-vibrant-ink .ace_entity.ace_name.ace_function {
color:#FFCC00; color: #FFCC00
} }
.ace-vibrant-ink .ace_markup.ace_underline { .ace-vibrant-ink .ace_markup.ace_underline {
text-decoration:underline; text-decoration: underline
} }
.ace-vibrant-ink .ace_indent-guide { .ace-vibrant-ink .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPg5+f/z7Bq1ar/AA5lBCqoLxsgAAAAAElFTkSuQmCC) right repeat-y
} }

View file

@ -34,6 +34,6 @@ exports.isDark = true;
exports.cssClass = "ace-vibrant-ink"; exports.cssClass = "ace-vibrant-ink";
exports.cssText = require('ace/requirejs/text!./vibrant_ink.css'); exports.cssText = require('ace/requirejs/text!./vibrant_ink.css');
var dom = require("../lib/dom"); var dom = require("../lib/dom");
dom.importCssString(exports.cssText, exports.cssClass); dom.importCssString(exports.cssText, exports.cssClass);
}); });

View file

@ -77,6 +77,10 @@
%keyword.operator% %keyword.operator%
} }
.%cssClass% .ace_keyword.ace_other.ace_unit {
%keyword.other.unit%
}
.%cssClass% .ace_constant, .%cssClass% .ace_constant.ace_other { .%cssClass% .ace_constant, .%cssClass% .ace_constant.ace_other {
%constant% %constant%
} }
@ -89,6 +93,10 @@
%constant.character.escape% %constant.character.escape%
} }
.%cssClass% .ace_constant.ace_character.ace_entity {
%constant.character.entity%
}
.%cssClass% .ace_constant.ace_language { .%cssClass% .ace_constant.ace_language {
%constant.language% %constant.language%
} }
@ -105,6 +113,10 @@
%constant.other% %constant.other%
} }
.%cssClass% .ace_constant.ace_other.ace_color {
%constant.other.color%
}
.%cssClass% .ace_invalid { .%cssClass% .ace_invalid {
%invalid% %invalid%
} }
@ -125,6 +137,10 @@
%support.constant% %support.constant%
} }
.%cssClass% support.constant.property-value {
%support.constant.property-value%
}
.%cssClass% .ace_fold { .%cssClass% .ace_fold {
background-color: %fold%; background-color: %fold%;
border-color: %foreground%; border-color: %foreground%;
@ -210,6 +226,10 @@
%ace.meta.tag.input% %ace.meta.tag.input%
} }
.%cssClass% .ace_meta.ace_selector {
%meta.selector%
}
.%cssClass% .ace_entity.ace_other.ace_attribute-name { .%cssClass% .ace_entity.ace_other.ace_attribute-name {
%entity.other.attribute-name% %entity.other.attribute-name%
} }
@ -222,6 +242,14 @@
%entity.name.function% %entity.name.function%
} }
.%cssClass% .ace_entity.ace_other.ace_inherited-class {
%entity.other.inherited-class%
}
.%cssClass% .ace_entity.ace_name.ace_tag {
%entity.name.tag%
}
.%cssClass% .ace_markup.ace_underline { .%cssClass% .ace_markup.ace_underline {
text-decoration:underline; text-decoration:underline;
} }

View file

@ -2,6 +2,8 @@
"name": "ace-tools", "name": "ace-tools",
"version": "0.1.0", "version": "0.1.0",
"dependencies": { "dependencies": {
"plist": "" "plist": "",
"css-parse": "",
"css-stringify": ""
} }
} }

View file

@ -1,4 +1,8 @@
var fs = require("fs"); var fs = require("fs");
var path = require("path");
var util = require("util");
var cssParse = require("css-parse");
var cssStringify = require("css-stringify");
var parseString = require("plist").parseString; var parseString = require("plist").parseString;
function parseTheme(themeXml, callback) { function parseTheme(themeXml, callback) {
@ -7,9 +11,12 @@ function parseTheme(themeXml, callback) {
}); });
} }
var unsupportedScopes = { };
var supportedScopes = { var supportedScopes = {
"keyword": "keyword", "keyword": "keyword",
"keyword.operator": "keyword.operator", "keyword.operator": "keyword.operator",
"keyword.other.unit": "keyword.other.unit",
"constant": "constant", "constant": "constant",
"constant.language": "constant.language", "constant.language": "constant.language",
@ -17,6 +24,7 @@ var supportedScopes = {
"constant.numeric": "constant.numeric", "constant.numeric": "constant.numeric",
"constant.character" : "constant.character", "constant.character" : "constant.character",
"constant.character.escape" : "constant.character.escape", "constant.character.escape" : "constant.character.escape",
"constant.character.entity": "constant.character.entity",
"constant.other" : "constant.other", "constant.other" : "constant.other",
"support": "support", "support": "support",
@ -25,6 +33,7 @@ var supportedScopes = {
"support.function.firebug": "support.firebug", "support.function.firebug": "support.firebug",
"support.function.constant": "support.function.constant", "support.function.constant": "support.function.constant",
"support.constant": "support.constant", "support.constant": "support.constant",
"support.constant.property-value": "support.constant.property-value",
"support.class": "support.class", "support.class": "support.class",
"support.type": "support.type", "support.type": "support.type",
"support.other": "support.other", "support.other": "support.other",
@ -53,11 +62,12 @@ var supportedScopes = {
"meta": "meta", "meta": "meta",
"meta.tag.sgml.doctype": "xml_pe", "meta.tag.sgml.doctype": "xml_pe",
"meta.tag": "meta.tag", "meta.tag": "meta.tag",
"meta.tag.form": "meta.tag.form", "meta.selector": "meta.selector",
"entity.other.attribute-name": "entity.other.attribute-name", "entity.other.attribute-name": "entity.other.attribute-name",
"entity.name.function": "entity.name.function", "entity.name.function": "entity.name.function",
"entity.name": "entity.name", "entity.name": "entity.name",
"entity.name.tag": "entity.name.tag",
"markup.heading": "markup.heading", "markup.heading": "markup.heading",
"markup.heading.1": "markup.heading.1", "markup.heading.1": "markup.heading.1",
@ -68,7 +78,9 @@ var supportedScopes = {
"markup.heading.6": "markup.heading.6", "markup.heading.6": "markup.heading.6",
"markup.list": "markup.list", "markup.list": "markup.list",
"collab.user1": "collab.user1" "collab.user1": "collab.user1",
"text": "text"
}; };
function extractStyles(theme) { function extractStyles(theme) {
@ -90,18 +102,26 @@ function extractStyles(theme) {
}; };
for (var i=1; i<theme.settings.length; i++) { for (var i=1; i<theme.settings.length; i++) {
var element = theme.settings[i]; var element = theme.settings[i];
if (!element.scope) if (!element.scope)
continue; continue;
var scopes = element.scope.split(/\s*[|,]\s*/g); var scopes = element.scope.split(/\s*[|,]\s*/g);
for (var j=0; j<scopes.length; j++) { for (var j=0; j<scopes.length; j++) {
var scope = scopes[j]; var scope = scopes[j];
if (supportedScopes[scope]) { var style = parseStyles(element.settings);
colors[supportedScopes[scope]] = parseStyles(element.settings);
} else { if (supportedScopes[scope]) {
//console.log(scope + " is not supported!"); colors[supportedScopes[scope]] = style;
} }
else if (style.length > 0) {
if (unsupportedScopes[scope] === undefined) {
unsupportedScopes[scope] = 1;
}
else {
unsupportedScopes[scope] = unsupportedScopes[scope] + 1;
}
} }
}
} }
if (!colors.fold) if (!colors.fold)
@ -224,10 +244,57 @@ function convertTheme(name) {
isDark: styles.isDark isDark: styles.isDark
}); });
// we're going to look for NEW rules in the parsed content only
// if such a rule exists, add it to the destination file
// this way, we preserve all hand-modified rules in the <theme>.css rules,
// (because some exist, for collab1 and ace_indentation_guide
try {
var outThemeCss = fs.readFileSync(__dirname + "/../lib/ace/theme/" + name + ".css");
var parsedExistingFile = cssParse(outThemeCss);
var parsedPotentialFile = cssParse(css);
for (var r = 0; r < parsedPotentialFile.stylesheet.rules.length; r++) {
var potentialSelectors = parsedPotentialFile.stylesheet.rules[r].selectors;
var found = false;
for (var e = 0; e < parsedExistingFile.stylesheet.rules.length; e++) {
var existingSelectors = parsedExistingFile.stylesheet.rules[e].selectors;
if (existingSelectors.join(",") === potentialSelectors.join(",")) {
found = true;
break;
}
}
if (!found) {
console.log("Adding NEW rule: ", parsedPotentialFile.stylesheet.rules[r])
parsedExistingFile.stylesheet.rules.splice(r, 0, parsedPotentialFile.stylesheet.rules[r]);
}
}
css = cssStringify(parsedExistingFile, { compress: false });
} catch(e) {
console.log("Creating new file: " + name + ".css")
}
fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".js", js); fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".js", js);
fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".css", css); fs.writeFileSync(__dirname + "/../lib/ace/theme/" + name + ".css", css);
}) })
} }
for (var name in themes) for (var name in themes) {
convertTheme(name); convertTheme(name);
}
var sortedUnsupportedScopes = {};
for (var u in unsupportedScopes) {
var value = unsupportedScopes[u];
if (sortedUnsupportedScopes[value] === undefined) {
sortedUnsupportedScopes[value] = [];
}
sortedUnsupportedScopes[value].push(u);
}
console.log("I found these unsupported scopes:");
console.log(sortedUnsupportedScopes);
console.log("It's safe to ignore these, but they may affect your syntax highlighting if your mode depends on any of these rules.");
console.log("Refer to the docs on ace.ajax.org for information on how to add a scope to the CSS generator.");