From d05ecaafeaade33853164b8127c83f88c4e1774a Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Wed, 12 Sep 2012 00:11:35 -0700 Subject: [PATCH] Update themes some more --- kitchen-sink.html | 1 + lib/ace/theme/chrome.css | 213 +++---- lib/ace/theme/dreamweaver.css | 115 ++-- lib/ace/theme/dreamweaver.js | 1 + lib/ace/theme/github.css | 145 ++++- lib/ace/theme/github.js | 4 +- lib/ace/theme/textmate.css | 256 ++++++-- lib/ace/theme/textmate.js | 3 +- lib/ace/theme/xcode.css | 144 +++++ lib/ace/theme/xcode.js | 39 ++ tool/tmtheme.js | 21 +- tool/tmthemes/Chrome DevTools.tmTheme | 294 +++++++++ tool/tmthemes/Dreamweaver.tmTheme | 521 ++++++++++++++++ tool/tmthemes/GitHub.tmTheme | 573 ++++++++++++++++++ ...tmTheme => Textmate (Mac Classic).tmTheme} | 0 tool/tmthemes/Xcode_default.tmTheme | 240 ++++++++ 16 files changed, 2322 insertions(+), 248 deletions(-) create mode 100644 lib/ace/theme/xcode.css create mode 100644 lib/ace/theme/xcode.js create mode 100644 tool/tmthemes/Chrome DevTools.tmTheme create mode 100644 tool/tmthemes/Dreamweaver.tmTheme create mode 100644 tool/tmthemes/GitHub.tmTheme rename tool/tmthemes/{Mac Classic.tmTheme => Textmate (Mac Classic).tmTheme} (100%) create mode 100644 tool/tmthemes/Xcode_default.tmTheme diff --git a/kitchen-sink.html b/kitchen-sink.html index 825a6194..67abbe4f 100644 --- a/kitchen-sink.html +++ b/kitchen-sink.html @@ -70,6 +70,7 @@ + diff --git a/lib/ace/theme/chrome.css b/lib/ace/theme/chrome.css index 7c0ed3bd..02e79375 100644 --- a/lib/ace/theme/chrome.css +++ b/lib/ace/theme/chrome.css @@ -1,169 +1,146 @@ +/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: 4FCFA210-B247-11D9-9D00-000D93347A42) */ + .ace-chrome .ace_editor { - border: 2px solid rgb(159, 159, 159); + border: 2px solid rgb(159, 159, 159) } .ace-chrome .ace_editor.ace_focus { - border: 2px solid #327fbd; + border: 2px solid #327fbd } .ace-chrome .ace_gutter { background: #ebebeb; color: #333; - overflow : hidden; + overflow : hidden } .ace-chrome .ace_print_margin { width: 1px; - background: #e8e8e8; + background: #e8e8e8 } .ace-chrome .ace_scroller { - background-color: #FFFFFF; + background-color: #FFFFFF +} + +.ace-chrome .ace_text-layer { + color: #000000 } .ace-chrome .ace_cursor { - border-left: 2px solid black; + border-left: 2px solid #000000 } .ace-chrome .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid black; -} - -.ace-chrome .ace_line .ace_invisible { - color: rgb(191, 191, 191); -} - -.ace-chrome .ace_line .ace_constant.ace_buildin { - color: rgb(88, 72, 246); -} - -.ace-chrome .ace_line .ace_constant.ace_language { - color: rgb(88, 92, 246); -} - -.ace-chrome .ace_line .ace_constant.ace_library { - color: rgb(6, 150, 14); -} - -.ace-chrome .ace_line .ace_invalid { - background-color: rgb(153, 0, 0); - color: white; -} - -.ace-chrome .ace_line .ace_fold { -} - -.ace-chrome .ace_line .ace_support.ace_function { - color: rgb(60, 76, 114); -} - -.ace-chrome .ace_line .ace_support.ace_constant { - color: rgb(6, 150, 14); -} - -.ace-chrome .ace_line .ace_support.ace_type, -.ace-chrome .ace_line .ace_support.ace_class -.ace-chrome .ace_line .ace_support.ace_other, { - color: rgb(109, 121, 222); -} - -.ace-chrome .ace_variable.ace_parameter { - font-style:italic; - color:#FD971F; -} -.ace-chrome .ace_line .ace_keyword.ace_operator { - color: rgb(104, 118, 135); -} - -.ace-chrome .ace_line .ace_comment { - color: #236e24; -} - -.ace-chrome .ace_line .ace_comment.ace_doc { - color: #236e24; -} - -.ace-chrome .ace_line .ace_comment.ace_doc.ace_tag { - color: #236e24; -} - -.ace-chrome .ace_line .ace_constant.ace_numeric { - color: rgb(0, 0, 205); -} - -.ace-chrome .ace_line .ace_variable { - color: rgb(49, 132, 149); -} - -.ace-chrome .ace_line .ace_xml_pe { - color: rgb(104, 104, 91); -} - -.ace-chrome .ace_entity.ace_name.ace_function { - color: #0000A2; -} - -.ace-chrome .ace_markup.ace_underline { - text-decoration:underline; -} - -.ace-chrome .ace_markup.ace_heading { - color: rgb(12, 7, 255); -} - -.ace-chrome .ace_markup.ace_list { - color:rgb(185, 6, 144); + border-bottom: 1px solid #000000 } .ace-chrome .ace_marker-layer .ace_selection { - background: rgb(181, 213, 255); + background: #BAD6FD +} + +.ace-chrome.multiselect .ace_selection.start { + box-shadow: 0 0 3px 0px #FFFFFF; + border-radius: 2px } .ace-chrome .ace_marker-layer .ace_step { - background: rgb(252, 255, 0); -} - -.ace-chrome .ace_marker-layer .ace_stack { - background: rgb(164, 229, 101); + background: rgb(198, 219, 174) } .ace-chrome .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgb(192, 192, 192); + border: 1px solid rgba(179, 179, 179, 0.96) } .ace-chrome .ace_marker-layer .ace_active_line { - background: rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0.10) } .ace-chrome .ace_gutter_active_line { - background-color : #dcdcdc; + background-color: rgba(0, 0, 0, 0.10) } .ace-chrome .ace_marker-layer .ace_selected_word { - background: rgb(250, 250, 255); - border: 1px solid rgb(200, 200, 250); + border: 1px solid #BAD6FD +} + +.ace-chrome .ace_invisible { + color: rgba(179, 179, 179, 0.96) +} + +.ace-chrome .ace_keyword, +.ace-chrome .ace_meta { + color: #AA0D91 +} + +.ace-chrome .ace_keyword.ace_operator { + color: #000000 +} + +.ace-chrome .ace_constant.ace_language { + color: #AA0D91 +} + +.ace-chrome .ace_constant.ace_numeric { + color: #1C00CF +} + +.ace-chrome .ace_invalid { + color: #FF0000 +} + + +.ace-chrome .ace_support { + color: #000000 +} + +.ace-chrome .ace_line .ace_fold { + +} + +.ace-chrome .ace_storage { + color: #AA0D91 +} + +.ace-chrome .ace_variable { + color: #000000 +} + +.ace-chrome .ace_variable.ace_parameter { + font-style: italic +} + +.ace-chrome .ace_string { + color: #C41A16 +} + +.ace-chrome .ace_comment { + color: #007400 } -.ace-chrome .ace_storage, -.ace-chrome .ace_line .ace_keyword, .ace-chrome .ace_meta.ace_tag { - color: rgb(147, 15, 128); -} - -.ace-chrome .ace_string.ace_regex { - color: rgb(255, 0, 0) -} - -.ace-chrome .ace_line .ace_string { - color: #1A1AA6; + color: #AA0D91 } .ace-chrome .ace_entity.ace_other.ace_attribute-name { - color: #994409; + font-style: italic; + color: #994500 +} + +.ace-chrome .ace_entity.ace_name.ace_function { + color: #000000 +} + +.ace-chrome .ace_entity.ace_name.ace_tag { + color: #881280 +} + +.ace-chrome .ace_markup.ace_underline { + text-decoration: underline } .ace-chrome .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 +} \ No newline at end of file diff --git a/lib/ace/theme/dreamweaver.css b/lib/ace/theme/dreamweaver.css index ab845390..c2433588 100644 --- a/lib/ace/theme/dreamweaver.css +++ b/lib/ace/theme/dreamweaver.css @@ -1,106 +1,133 @@ .ace-dreamweaver .ace_editor { - border: 2px solid rgb(159, 159, 159); + border: 2px solid rgb(159, 159, 159) } .ace-dreamweaver .ace_editor.ace_focus { - border: 2px solid #327fbd; + border: 2px solid #327fbd } .ace-dreamweaver .ace_gutter { background: #e8e8e8; - color: #333; + color: #333 } .ace-dreamweaver .ace_print_margin { width: 1px; - background: #e8e8e8; + background: #e8e8e8 } .ace-dreamweaver .ace_scroller { - background-color: #FFFFFF; + background-color: #FFFFFF } .ace-dreamweaver .ace_fold { - background-color: #757AD8; + background-color: #757AD8 } .ace-dreamweaver .ace_text-layer { + } .ace-dreamweaver .ace_cursor { - border-left: 2px solid black; + border-left: 2px solid black } .ace-dreamweaver .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid black; + border-bottom: 1px solid black } - + +.ace-dreamweaver.multiselect .ace_selection.start { + box-shadow: 0 0 3px 0px #FFFFFF; + border-radius: 2px +} + .ace-dreamweaver .ace_line .ace_invisible { - color: rgb(191, 191, 191); + color: rgb(191, 191, 191) } .ace-dreamweaver .ace_line .ace_storage, .ace-dreamweaver .ace_line .ace_keyword { - color: blue; + color: blue } .ace-dreamweaver .ace_line .ace_constant.ace_buildin { - color: rgb(88, 72, 246); + color: rgb(88, 72, 246) +} + +.ace-dreamweaver .ace_gutter_active_line { + background-color: rgba(0, 0, 0, 0.071) } .ace-dreamweaver .ace_line .ace_constant.ace_language { - color: rgb(88, 92, 246); + color: rgb(88, 92, 246) +} + +.ace-dreamweaver .ace_invisible { + color: #BFBFBF +} + +.ace-dreamweaver .ace_invalid { + color: #EE000B; + background-color: #EFFF8A } .ace-dreamweaver .ace_line .ace_constant.ace_library { - color: rgb(6, 150, 14); + color: rgb(6, 150, 14) +} + +.ace-dreamweaver .ace_comment { + color: #9A9A9A +} + +.ace-dreamweaver .ace_comment { + color: #9A9A9A } .ace-dreamweaver .ace_line .ace_invalid { background-color: rgb(153, 0, 0); - color: white; + color: white } .ace-dreamweaver .ace_line .ace_support.ace_function { - color: rgb(60, 76, 114); + color: rgb(60, 76, 114) } .ace-dreamweaver .ace_line .ace_support.ace_constant { - color: rgb(6, 150, 14); + color: rgb(6, 150, 14) } .ace-dreamweaver .ace_line .ace_support.ace_type, .ace-dreamweaver .ace_line .ace_support.ace_class { - color: #009; + color: #009 } .ace-dreamweaver .ace_line .ace_support.ace_php_tag { - color: #f00; + color: #f00 } .ace-dreamweaver .ace_line .ace_keyword.ace_operator { - color: rgb(104, 118, 135); + color: rgb(104, 118, 135) } .ace-dreamweaver .ace_line .ace_string { - color: #00F; + color: #00F } .ace-dreamweaver .ace_line .ace_comment { - color: rgb(76, 136, 107); + color: rgb(76, 136, 107) } .ace-dreamweaver .ace_line .ace_comment.ace_doc { - color: rgb(0, 102, 255); + color: rgb(0, 102, 255) } .ace-dreamweaver .ace_line .ace_comment.ace_doc.ace_tag { - color: rgb(128, 159, 191); + color: rgb(128, 159, 191) } .ace-dreamweaver .ace_line .ace_constant.ace_numeric { - color: rgb(0, 0, 205); + color: rgb(0, 0, 205) } .ace-dreamweaver .ace_line .ace_variable { @@ -108,77 +135,77 @@ } .ace-dreamweaver .ace_line .ace_xml_pe { - color: rgb(104, 104, 91); + color: rgb(104, 104, 91) } .ace-dreamweaver .ace_entity.ace_name.ace_function { - color: #00F; + color: #00F } .ace-dreamweaver .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-dreamweaver .ace_markup.ace_heading { - color: rgb(12, 7, 255); + color: rgb(12, 7, 255) } .ace-dreamweaver .ace_markup.ace_list { - color:rgb(185, 6, 144); + color: rgb(185, 6, 144) } .ace-dreamweaver .ace_marker-layer .ace_selection { - background: rgb(181, 213, 255); + background: rgb(181, 213, 255) } .ace-dreamweaver .ace_marker-layer .ace_step { - background: rgb(252, 255, 0); + background: rgb(252, 255, 0) } .ace-dreamweaver .ace_marker-layer .ace_stack { - background: rgb(164, 229, 101); + background: rgb(164, 229, 101) } .ace-dreamweaver .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgb(192, 192, 192); + border: 1px solid rgb(192, 192, 192) } .ace-dreamweaver .ace_marker-layer .ace_active_line { - background: rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0.07) } .ace-dreamweaver .ace_marker-layer .ace_selected_word { background: rgb(250, 250, 255); - border: 1px solid rgb(200, 200, 250); + border: 1px solid rgb(200, 200, 250) } .ace-dreamweaver .ace_meta.ace_tag { - color:#009; + color: #009 } .ace-dreamweaver .ace_meta.ace_tag.ace_anchor { - color:#060; + color: #060 } .ace-dreamweaver .ace_meta.ace_tag.ace_form { - color:#F90; + color: #F90 } .ace-dreamweaver .ace_meta.ace_tag.ace_image { - color:#909; + color: #909 } .ace-dreamweaver .ace_meta.ace_tag.ace_script { - color:#900; + color: #900 } .ace-dreamweaver .ace_meta.ace_tag.ace_style { - color:#909; + color: #909 } .ace-dreamweaver .ace_meta.ace_tag.ace_table { - color:#099; + color: #099 } .ace-dreamweaver .ace_string.ace_regex { @@ -186,5 +213,5 @@ } .ace-dreamweaver .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 } \ No newline at end of file diff --git a/lib/ace/theme/dreamweaver.js b/lib/ace/theme/dreamweaver.js index 25a7fcba..81531e47 100644 --- a/lib/ace/theme/dreamweaver.js +++ b/lib/ace/theme/dreamweaver.js @@ -29,6 +29,7 @@ * ***** END LICENSE BLOCK ***** */ define(function(require, exports, module) { + exports.isDark = false; exports.cssClass = "ace-dreamweaver"; exports.cssText = require('ace/requirejs/text!./dreamweaver.css'); diff --git a/lib/ace/theme/github.css b/lib/ace/theme/github.css index 6233b427..d8308825 100644 --- a/lib/ace/theme/github.css +++ b/lib/ace/theme/github.css @@ -3,135 +3,216 @@ .ace-github .ace_editor { color: #333; background-color: #F8F8F8; - border: 1px solid #CCC; + border: 2px solid rgb(159, 159, 159); font: 13px 'Bitstream Vera Sans Mono', Courier, monospace !important; line-height: 19px !important; overflow: auto; padding: 6px 10px; border-radius: 3px; position: relative; - margin-bottom: 15px; + margin-bottom: 15px +} + +.ace-github .ace_editor.ace_focus { + border: 2px solid #327fbd } .ace-github .ace_gutter { background: #e8e8e8; - color: #AAA; + color: #AAA } .ace-github .ace_scroller { - background: #fff; + background: #fff } .ace-github .ace_keyword { - font-weight: bold; + font-weight: bold } .ace-github .ace_string { - color: #D14; + color: #D14 } .ace-github .ace_variable.ace_class { - color: teal; + color: teal } .ace-github .ace_constant.ace_numeric { - color: #099; + color: #099 } .ace-github .ace_constant.ace_buildin { - color: #0086B3; + color: #0086B3 } .ace-github .ace_support.ace_function { - color: #0086B3; + color: #0086B3 } .ace-github .ace_comment { color: #998; - font-style: italic; + font-style: italic } -.ace-github .ace_variable.ace_language { - color: #0086B3; +.ace-github .ace_variable.ace_language { + color: #0086B3 } .ace-github .ace_paren { - font-weight: bold; + font-weight: bold } .ace-github .ace_boolean { - font-weight: bold; + font-weight: bold +} + +.ace-github .ace_invisible { + color: #BBBBBB +} + +.ace-github .ace_constant.ace_character { + color: #DD1144 +} + +.ace-github .ace_constant.ace_character.ace_entity { + color: #800080 } .ace-github .ace_string.ace_regexp { color: #009926; - font-weight: normal; + font-weight: normal +} + +.ace-github .ace_constant.ace_other { + color: #009999 +} + +.ace-github .ace_invalid.ace_illegal { + color: #A61717; + background-color: #E3D2D2 +} + +.ace-github .ace_fold { } .ace-github .ace_variable.ace_instancce { - color: teal; + color: teal +} + +.ace-github .ace_support.ace_type { + color: #445588 +} + +.ace-github .ace_support.ace_class { + color: #445588 +} + +.ace-github .ace_storage.ace_type, +.ace-github .ace_support.ace_type { + color: #445588 +} + +.ace-github .ace_variable { + color: #990000 +} + +.ace-github .ace_variable.ace_parameter { + color: #008080 } .ace-github .ace_constant.ace_language { - font-weight: bold; + font-weight: bold } .ace-github .ace_text-layer { + +} + +.ace-github .ace_comment.ace_doc { + font-style: italic; + color: #999999 } .ace-github .ace_cursor { - border-left: 2px solid black; + border-left: 2px solid black +} + +.ace-github .ace_entity.ace_other.ace_attribute-name { + color: #008080 +} + +.ace-github .ace_entity.ace_name.ace_function { + color: #990000 +} + +.ace-github .ace_entity.ace_name.ace_tag { + color: #000080 +} + +.ace-github .ace_markup.ace_underline { + text-decoration: underline +} + +.ace-github .ace_markup.ace_heading { + color: #AAAAAA +} + +.ace-github .ace_markup.ace_heading.ace_1 { + color: #999999 } .ace-github .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid black; + border-bottom: 1px solid black } .ace-github .ace_marker-layer .ace_active_line { - background: rgb(255, 255, 204); + background: rgb(255, 255, 204) } + .ace-github .ace_marker-layer .ace_selection { - background: rgb(181, 213, 255); + background: rgb(181, 213, 255) } + .ace-github.multiselect .ace_selection.start { box-shadow: 0 0 3px 0px white; - border-radius: 2px; + border-radius: 2px } + /* bold keywords cause cursor issues for some fonts */ /* this disables bold style for editor and keeps for static highlighter */ .ace-github.ace_editor .ace_line > span { - font-weight: normal !important; + font-weight: normal !important } .ace-github .ace_marker-layer .ace_step { - background: rgb(252, 255, 0); + background: rgb(252, 255, 0) } .ace-github .ace_marker-layer .ace_stack { - background: rgb(164, 229, 101); + background: rgb(164, 229, 101) } .ace-github .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgb(192, 192, 192); + border: 1px solid rgb(192, 192, 192) } .ace-github .ace_gutter_active_line { - background-color : rgba(0, 0, 0, 0.07); + background-color : rgba(0, 0, 0, 0.07) } .ace-github .ace_marker-layer .ace_selected_word { background: rgb(250, 250, 255); - border: 1px solid rgb(200, 200, 250); - + border: 1px solid rgb(200, 200, 250) } .ace-github .ace_print_margin { width: 1px; - background: #e8e8e8; + background: #e8e8e8 } .ace-github .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 } \ No newline at end of file diff --git a/lib/ace/theme/github.js b/lib/ace/theme/github.js index b5839dd4..4af7b944 100644 --- a/lib/ace/theme/github.js +++ b/lib/ace/theme/github.js @@ -34,6 +34,6 @@ exports.isDark = false; exports.cssClass = "ace-github"; exports.cssText = require('ace/requirejs/text!./github.css'); - var dom = require("../lib/dom"); - dom.importCssString(exports.cssText, exports.cssClass); +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); }); diff --git a/lib/ace/theme/textmate.css b/lib/ace/theme/textmate.css index 80b9ae1d..c606e228 100644 --- a/lib/ace/theme/textmate.css +++ b/lib/ace/theme/textmate.css @@ -1,131 +1,301 @@ +.ace-textmate .ace_editor { + border: 2px solid rgb(159, 159, 159) +} + +.ace-textmate .ace_editor.ace_focus { + border: 2px solid #327fbd +} + +.ace-textmate .ace_gutter { + background: #e8e8e8; + color: #333 +} + +.ace-textmate .ace_print_margin { + width: 1px; + background: #e8e8e8 +} + +.ace-textmate .ace_scroller { + background-color: #FFFFFF +} + +.ace-textmate .ace_text-layer { + color: #000000 +} + +.ace-textmate .ace_cursor { + border-left: 2px solid #000000 +} + +.ace-textmate .ace_cursor.ace_overwrite { + border-left: 0px; + border-bottom: 1px solid #000000 +} + +.ace-textmate .ace_marker-layer .ace_selection { + background: rgba(77, 151, 255, 0.33) +} + +.ace-textmate.multiselect .ace_selection.start { + box-shadow: 0 0 3px 0px #FFFFFF; + border-radius: 2px +} + +.ace-textmate .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-textmate .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #BFBFBF +} + +.ace-textmate .ace_marker-layer .ace_active_line { + background: rgba(0, 0, 0, 0.071) +} + +.ace-textmate .ace_gutter_active_line { + background-color: rgba(0, 0, 0, 0.071) +} + +.ace-textmate .ace_marker-layer .ace_selected_word { + border: 1px solid rgba(77, 151, 255, 0.33) +} + +.ace-textmate .ace_invisible { + color: #BFBFBF +} + +.ace-textmate .ace_keyword, +.ace-textmate .ace_meta { + color: #0000FF +} + +.ace-textmate .ace_constant, +.ace-textmate .ace_constant.ace_other { + color: #C5060B +} + +.ace-textmate .ace_constant.ace_character.ace_escape { + color: #26B31A +} + +.ace-textmate .ace_constant.ace_language { + color: #585CF6 +} + +.ace-textmate .ace_constant.ace_numeric { + color: #0000CD +} + +.ace-textmate .ace_invalid { + color: #FFFFFF; + background-color: #990000 +} + +.ace-textmate .ace_support.ace_constant { + color: #06960E +} + +.ace-textmate .ace_fold { + background-color: #0000A2; + border-color: #000000 +} + +.ace-textmate .ace_support.ace_function { + color: #3C4C72 +} + +.ace-textmate .ace_support.ace_type { + color: #6D79DE +} + +.ace-textmate .ace_support.ace_class { + color: #6D79DE +} + +.ace-textmate .ace_storage { + color: #0000FF +} + +.ace-textmate .ace_variable { + color: #0000A2 +} + +.ace-textmate .ace_variable.ace_parameter { + font-style: italic +} + +.ace-textmate .ace_string { + color: #036A07 +} + +.ace-textmate .ace_comment { + font-style: italic; + color: #0066FF +} + +.ace-textmate .ace_variable.ace_language { + color: #318495 +} + +.ace-textmate .ace_xml_pe { + color: #888888 +} + +.ace-textmate .ace_meta.ace_tag { + color: #1C02FF +} + +.ace-textmate .ace_entity.ace_other.ace_attribute-name { + font-style: italic +} + +.ace-textmate .ace_entity.ace_name.ace_function { + color: #0000A2 +} + +.ace-textmate .ace_markup.ace_underline { + text-decoration: underline +} + +.ace-textmate .ace_markup.ace_heading { + color: #0C07FF +} + +.ace-textmate .ace_markup.ace_list { + color: #B90690 +} + .ace-tm .ace_editor { - border: 2px solid rgb(159, 159, 159); + border: 2px solid rgb(159, 159, 159) } .ace-tm .ace_editor.ace_focus { - border: 2px solid #327fbd; + border: 2px solid #327fbd } .ace-tm .ace_gutter { background: #f0f0f0; - color: #333; + color: #333 } .ace-tm .ace_print_margin { width: 1px; - background: #e8e8e8; + background: #e8e8e8 } .ace-tm .ace_fold { - background-color: #6B72E6; + background-color: #6B72E6 } .ace-tm .ace_scroller { - background-color: #FFFFFF; + background-color: #FFFFFF } .ace-tm .ace_cursor { - border-left: 2px solid black; + border-left: 2px solid black } .ace-tm .ace_cursor.ace_overwrite { border-left: 0px; - border-bottom: 1px solid black; + border-bottom: 1px solid black } - + .ace-tm .ace_line .ace_invisible { - color: rgb(191, 191, 191); + color: rgb(191, 191, 191) } .ace-tm .ace_line .ace_storage, .ace-tm .ace_line .ace_keyword { - color: blue; + color: blue } .ace-tm .ace_line .ace_constant { - color: rgb(197, 6, 11); + color: rgb(197, 6, 11) } .ace-tm .ace_line .ace_constant.ace_buildin { - color: rgb(88, 72, 246); + color: rgb(88, 72, 246) } .ace-tm .ace_line .ace_constant.ace_language { - color: rgb(88, 92, 246); + color: rgb(88, 92, 246) } .ace-tm .ace_line .ace_constant.ace_library { - color: rgb(6, 150, 14); + color: rgb(6, 150, 14) } .ace-tm .ace_line .ace_invalid { background-color: rgba(255, 0, 0, 0.1); - color: red; + color: red } .ace-tm .ace_line .ace_support.ace_function { - color: rgb(60, 76, 114); + color: rgb(60, 76, 114) } .ace-tm .ace_line .ace_support.ace_constant { - color: rgb(6, 150, 14); + color: rgb(6, 150, 14) } .ace-tm .ace_line .ace_support.ace_type, .ace-tm .ace_line .ace_support.ace_class { - color: rgb(109, 121, 222); + color: rgb(109, 121, 222) } .ace-tm .ace_line .ace_keyword.ace_operator { - color: rgb(104, 118, 135); + color: rgb(104, 118, 135) } .ace-tm .ace_line .ace_string { - color: rgb(3, 106, 7); + color: rgb(3, 106, 7) } .ace-tm .ace_line .ace_comment { - color: rgb(76, 136, 107); + color: rgb(76, 136, 107) } .ace-tm .ace_line .ace_comment.ace_doc { - color: rgb(0, 102, 255); + color: rgb(0, 102, 255) } .ace-tm .ace_line .ace_comment.ace_doc.ace_tag { - color: rgb(128, 159, 191); + color: rgb(128, 159, 191) } .ace-tm .ace_line .ace_constant.ace_numeric { - color: rgb(0, 0, 205); + color: rgb(0, 0, 205) } .ace-tm .ace_line .ace_variable { - color: rgb(49, 132, 149); + color: rgb(49, 132, 149) } .ace-tm .ace_line .ace_xml_pe { - color: rgb(104, 104, 91); + color: rgb(104, 104, 91) } .ace-tm .ace_entity.ace_name.ace_function { - color: #0000A2; + color: #0000A2 } .ace-tm .ace_markup.ace_underline { - text-decoration:underline; + text-decoration: underline } .ace-tm .ace_markup.ace_heading { - color: rgb(12, 7, 255); + color: rgb(12, 7, 255) } .ace-tm .ace_markup.ace_list { - color:rgb(185, 6, 144); + color: rgb(185, 6, 144) } .ace-tm .ace_meta.ace_tag { - color:rgb(0, 22, 142); + color: rgb(0, 22, 142) } .ace-tm .ace_string.ace_regex { @@ -133,38 +303,40 @@ } .ace-tm .ace_marker-layer .ace_selection { - background: rgb(181, 213, 255); + background: rgb(181, 213, 255) } + .ace-tm.multiselect .ace_selection.start { box-shadow: 0 0 3px 0px white; - border-radius: 2px; + border-radius: 2px } + .ace-tm .ace_marker-layer .ace_step { - background: rgb(252, 255, 0); + background: rgb(252, 255, 0) } .ace-tm .ace_marker-layer .ace_stack { - background: rgb(164, 229, 101); + background: rgb(164, 229, 101) } .ace-tm .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; - border: 1px solid rgb(192, 192, 192); + border: 1px solid rgb(192, 192, 192) } .ace-tm .ace_marker-layer .ace_active_line { - background: rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0.07) } .ace-tm .ace_gutter_active_line { - background-color : #dcdcdc; + background-color : #dcdcdc } .ace-tm .ace_marker-layer .ace_selected_word { background: rgb(250, 250, 255); - border: 1px solid rgb(200, 200, 250); + border: 1px solid rgb(200, 200, 250) } .ace-tm .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 +} \ No newline at end of file diff --git a/lib/ace/theme/textmate.js b/lib/ace/theme/textmate.js index 47bbae0b..1f684f74 100644 --- a/lib/ace/theme/textmate.js +++ b/lib/ace/theme/textmate.js @@ -29,10 +29,9 @@ * ***** END LICENSE BLOCK ***** */ define(function(require, exports, module) { -"use strict"; exports.isDark = false; -exports.cssClass = "ace-tm"; +exports.cssClass = "ace-textmate"; exports.cssText = require('ace/requirejs/text!./textmate.css'); var dom = require("../lib/dom"); diff --git a/lib/ace/theme/xcode.css b/lib/ace/theme/xcode.css new file mode 100644 index 00000000..3a6e81b8 --- /dev/null +++ b/lib/ace/theme/xcode.css @@ -0,0 +1,144 @@ +.ace-xcode .ace_editor { + border: 2px solid rgb(159, 159, 159) +} + +/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: EE3AD170-2B7F-4DE1-B724-C75F13FE0085) */ + +.ace-xcode .ace_editor { + border: 2px solid rgb(159, 159, 159) +} + +.ace-xcode .ace_editor.ace_focus { + border: 2px solid #327fbd +} + +.ace-xcode .ace_gutter { + background: #e8e8e8; + color: #333 +} + +.ace-xcode .ace_print_margin { + width: 1px; + background: #e8e8e8 +} + +.ace-xcode .ace_scroller { + background-color: #FFFFFF +} + +.ace-xcode .ace_text-layer { + color: #000000 +} + +.ace-xcode .ace_cursor { + border-left: 2px solid #000000 +} + +.ace-xcode .ace_cursor.ace_overwrite { + border-left: 0px; + border-bottom: 1px solid #000000 +} + +.ace-xcode .ace_marker-layer .ace_selection { + background: #B5D5FF +} + +.ace-xcode.multiselect .ace_selection.start { + box-shadow: 0 0 3px 0px #FFFFFF; + border-radius: 2px +} + +.ace-xcode .ace_marker-layer .ace_step { + background: rgb(198, 219, 174) +} + +.ace-xcode .ace_marker-layer .ace_bracket { + margin: -1px 0 0 -1px; + border: 1px solid #BFBFBF +} + +.ace-xcode .ace_marker-layer .ace_active_line { + background: rgba(0, 0, 0, 0.071) +} + +.ace-xcode .ace_gutter_active_line { + background-color: rgba(0, 0, 0, 0.071) +} + +.ace-xcode .ace_marker-layer .ace_selected_word { + border: 1px solid #B5D5FF +} + +.ace-xcode .ace_invisible { + color: #BFBFBF +} + +.ace-xcode .ace_keyword, +.ace-xcode .ace_meta { + color: #C800A4 +} + +.ace-xcode .ace_constant.ace_character { + color: #275A5E +} + +.ace-xcode .ace_constant.ace_language { + color: #C800A4 +} + +.ace-xcode .ace_constant.ace_numeric { + color: #3A00DC +} + +.ace-xcode .ace_constant.ace_other { + color: #275A5E +} + +.ace-xcode .ace_support.ace_constant { + color: #450084 +} + +.ace-xcode .ace_fold { + background-color: #C800A4; + border-color: #000000 +} + +.ace-xcode .ace_support.ace_function { + color: #450084 +} + +.ace-xcode .ace_support.ace_type { + color: #790EAD +} + +.ace-xcode .ace_support.ace_class { + color: #790EAD +} + +.ace-xcode .ace_storage { + color: #C900A4 +} + +.ace-xcode .ace_string { + color: #DF0002 +} + +.ace-xcode .ace_comment { + color: #008E00 +} + +.ace-xcode .ace_variable.ace_language { + color: #C800A4 +} + +.ace-xcode .ace_entity.ace_other.ace_attribute-name { + color: #450084 +} + +.ace-xcode .ace_entity.ace_name.ace_tag { + color: #790EAD +} + +.ace-xcode .ace_markup.ace_underline { + text-decoration: underline +} \ No newline at end of file diff --git a/lib/ace/theme/xcode.js b/lib/ace/theme/xcode.js new file mode 100644 index 00000000..c6cba5b9 --- /dev/null +++ b/lib/ace/theme/xcode.js @@ -0,0 +1,39 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Distributed under the BSD license: + * + * Copyright (c) 2010, Ajax.org B.V. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * * Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * * Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * * Neither the name of Ajax.org B.V. nor the + * names of its contributors may be used to endorse or promote products + * derived from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * ***** END LICENSE BLOCK ***** */ + +define(function(require, exports, module) { + +exports.isDark = false; +exports.cssClass = "ace-xcode"; +exports.cssText = require('ace/requirejs/text!./xcode.css'); + +var dom = require("../lib/dom"); +dom.importCssString(exports.cssText, exports.cssClass); +}); diff --git a/tool/tmtheme.js b/tool/tmtheme.js index f7cb9d73..9b57921b 100755 --- a/tool/tmtheme.js +++ b/tool/tmtheme.js @@ -124,9 +124,13 @@ function extractStyles(theme) { } } - if (!colors.fold) - colors.fold = ((colors["entity.name.function"] || colors.keyword).match(/\:([^;]+)/)||[])[1]; - + if (!colors.fold) { + var foldSource = colors["entity.name.function"] || colors.keyword; + if (foldSource) { + colors.fold = foldSource.match(/\:([^;]+)/)[1]; + } + } + if (!colors.selected_word_highlight) colors.selected_word_highlight = "border: 1px solid " + colors.selection + ";"; @@ -198,15 +202,15 @@ var cssTemplate = fs.readFileSync(__dirname + "/Theme.tmpl.css", "utf8"); var jsTemplate = fs.readFileSync(__dirname + "/Theme.tmpl.js", "utf8"); var themes = { - //"chrome": "Chrome", + "chrome": "Chrome DevTools", "clouds": "Clouds", "clouds_midnight": "Clouds Midnight", "cobalt": "Cobalt", //"crimson_editor": "Crimson Editor", "dawn": "Dawn", - //"dreamweaver": "Dreamweaver", + "dreamweaver": "Dreamweaver", //"eclipse": "Eclipse", - //"github": "GitHub", + "github": "GitHub", "idle_fingers": "idleFingers", "kr_theme": "krTheme", "merbivore": "Merbivore", @@ -216,14 +220,15 @@ var themes = { "pastel_on_dark": "Pastels on Dark", "solarized_dark": "Solarized-dark", "solarized_light": "Solarized-light", - //"textmate": "Textmate", + "textmate": "Textmate (Mac Classic)", "tomorrow": "Tomorrow", "tomorrow_night": "Tomorrow-Night", "tomorrow_night_blue": "Tomorrow-Night-Blue", "tomorrow_night_bright": "Tomorrow-Night-Bright", "tomorrow_night_eighties": "Tomorrow-Night-Eighties", "twilight": "Twilight", - "vibrant_ink": "Vibrant Ink" + "vibrant_ink": "Vibrant Ink", + "xcode": "Xcode_default" }; function convertTheme(name) { diff --git a/tool/tmthemes/Chrome DevTools.tmTheme b/tool/tmthemes/Chrome DevTools.tmTheme new file mode 100644 index 00000000..8f14e4fa --- /dev/null +++ b/tool/tmthemes/Chrome DevTools.tmTheme @@ -0,0 +1,294 @@ + + + + + author + Austin Cummings + name + Chrome DevTools + settings + + + settings + + background + #FFFFFF + caret + #000000 + foreground + #000000 + invisibles + #B3B3B3F4 + lineHighlight + #0000001A + selection + #BAD6FD + + + + name + String + scope + string + settings + + foreground + #C41A16 + + + + name + Number + scope + constant.numeric + settings + + foreground + #1C00CF + + + + name + Keyword + scope + keyword + settings + + foreground + #AA0D91 + + + + name + Operator + scope + keyword.operator + settings + + foreground + #000000 + + + + name + Identifier + scope + constant.language + settings + + foreground + #AA0D91 + + + + name + Exception + scope + support.class.exception + settings + + foreground + #990000 + + + + name + Function name + scope + entity.name.function + settings + + foreground + #000000 + + + + + name + Type name + scope + entity.name.type + settings + + fontStyle + bold underline + + + + name + Arguments + scope + variable.parameter + settings + + fontStyle + italic + + + + name + Comment + scope + comment + settings + + + foreground + #007400 + + + + name + Invalid + scope + invalid + settings + + + foreground + #FF0000 + + + + name + Trailing whitespace + scope + invalid.deprecated.trailing-whitespace + settings + + background + #E71A1100 + + + + name + Embedded source + scope + text source + settings + + background + #FAFAFAFC + foreground + #000000 + + + + name + Tag + scope + meta.tag, declaration.tag + settings + + foreground + #AA0D91 + + + + + name + Support + scope + support + settings + + fontStyle + bold + foreground + #000000 + + + + name + Storage + scope + storage + settings + + + foreground + #AA0D91 + + + + name + Section name + scope + entity.name.section + settings + + fontStyle + bold underline + + + + name + Frame title + scope + entity.name.function.frame + settings + + fontStyle + bold + foreground + #000000 + + + + + name + XML Declaration + scope + meta.tag.preprocessor.xml + settings + + foreground + #333333 + + + + name + Tag Attribute + scope + entity.other.attribute-name + settings + + fontStyle + italic + foreground + + #994500 + + + + name + Tag Name + scope + entity.name.tag + settings + + foreground + #881280 + + + + + uuid + 4FCFA210-B247-11D9-9D00-000D93347A42 + + diff --git a/tool/tmthemes/Dreamweaver.tmTheme b/tool/tmthemes/Dreamweaver.tmTheme new file mode 100644 index 00000000..466863af --- /dev/null +++ b/tool/tmthemes/Dreamweaver.tmTheme @@ -0,0 +1,521 @@ + + + + + comment + By Jim Isaacs - jimisaacs.com + name + Dreamweaver + settings + + + settings + + background + #FFFFFF + caret + #000000 + foreground + #000000 + invisibles + #BFBFBF + lineHighlight + #00000012 + selection + #5EA0FF + + + + name + text + scope + text + settings + + foreground + #000000 + + + + name + constant numeric + scope + constant.numeric - source.css + settings + + fontStyle + + foreground + #EE000B + + + + name + comment general + scope + comment + settings + + fontStyle + + foreground + #9A9A9A + + + + name + html meta + scope + text.html meta.tag + settings + + fontStyle + + foreground + #00359E + + + + name + html string + scope + text.html.basic meta.tag string.quoted - source + settings + + foreground + #001EFF + + + + name + html contstant + scope + text.html.basic constant.character.entity.html + settings + + fontStyle + bold + foreground + #000000 + + + + name + html a tag + scope + text.html meta.tag.a - string + settings + + fontStyle + + foreground + #106800 + + + + name + html img tag + scope + text.html meta.tag.img - string + settings + + foreground + #6D232E + + + + name + html form tag + scope + text.html meta.tag.form - string + settings + + foreground + #FF9700 + + + + name + html table + scope + text.html meta.tag.table - string + settings + + foreground + #009079 + + + + name + js embedded + scope + source.js.embedded.html punctuation.definition.tag - source.php, source.js.embedded.html entity.name.tag.script, source.js.embedded entity.other.attribute-name - source.js string + settings + + fontStyle + + foreground + #842B44 + + + + name + js comment + scope + source.js comment - source.php + settings + + foreground + #9A9A9A + + + + name + js meta function + scope + source.js meta.function - source.php + settings + + fontStyle + + foreground + #000000 + + + + name + js instance / support.function + scope + source.js meta.class - source.php, source.js support.function - source.php + settings + + foreground + #24C696 + + + + name + js string + scope + source.js string - source.php, source.js keyword.operator + settings + + fontStyle + + foreground + #0035FF + + + + name + js support + scope + source.js support.class + settings + + foreground + #7E00B7 + + + + name + js storage + scope + source.js storage + settings + + fontStyle + bold + foreground + #000000 + + + + name + js storage (not function) / bool / new / braces + scope + source.js storage - storage.type.function - source.php, source.js constant - source.php, source.js keyword - source.php, source.js variable.language, source.js meta.brace, source.js punctuation.definition.parameters.begin, source.js punctuation.definition.parameters.end + settings + + fontStyle + bold + foreground + #05208C + + + + name + js regexp + scope + source.js string.regexp, source.js string.regexp constant + settings + + foreground + #106800 + + + + name + css embedded + scope + source.css.embedded.html punctuation.definition.tag, source.css.embedded.html entity.name.tag.style, source.css.embedded entity.other.attribute-name - meta.selector + settings + + foreground + #8D00B7 + + + + name + css @import + scope + source.css meta.at-rule.import.css + settings + + fontStyle + bold + foreground + #009C7F + + + + name + css @important + scope + source.css keyword.other.important + settings + + fontStyle + bold + foreground + #EE000B + + + + name + css @media + scope + source.css meta.at-rule.media + settings + + fontStyle + bold + foreground + #430303 + + + + name + css string + scope + source.css string + settings + + foreground + #106800 + + + + name + css selector/prop-list + scope + source.css meta.selector, source.css meta.property-list, source.css meta.at-rule + settings + + foreground + #DA29FF + + + + name + css punctuation + scope + source.css punctuation.separator - source.php, source.css punctuation.terminator - source.php + settings + + fontStyle + bold + foreground + #DA29FF + + + + name + css property name + scope + source.css meta.property-name + settings + + foreground + #05208C + + + + name + css property value + scope + source.css meta.property-value + settings + + foreground + #0035FF + + + + name + php begin/end block + scope + source.php punctuation.section.embedded.begin, source.php punctuation.section.embedded.end + settings + + fontStyle + bold + foreground + #EE000B + + + + name + php + scope + source.php - punctuation.section + settings + + fontStyle + + foreground + #000000 + + + + name + php varaible + scope + source.php variable, source.php meta.function.arguments + settings + + foreground + #000000 + + + + name + php punctuation + scope + source.php punctuation - string - variable - meta.function + settings + + foreground + #05208C + + + + name + php storage.type + scope + source.php storage.type + settings + + foreground + #24BF96 + + + + name + php keyword general / storage misc + scope + source.php keyword - comment, source.php storage.type.class, source.php storage.type.interface, source.php storage.modifier, source.php constant.language + settings + + foreground + #009714 + + + + name + php support / storage / operator + scope + source.php support , source.php storage, source.php keyword.operator, source.php storage.type.function + settings + + foreground + #0035FF + + + + name + php varaible global + scope + source.php variable.other.global + settings + + foreground + #0092F2 + + + + name + php support constant + scope + source.php support.constant, source.php constant.language.php + settings + + foreground + #551D02 + + + + name + php string + scope + source.php string, source.php string keyword.operator + settings + + fontStyle + + foreground + #E20000 + + + + name + php string variable + scope + source.php string.quoted.double variable + settings + + foreground + #FF6200 + + + + name + php comment general + scope + source.php comment + settings + + foreground + #FF9404 + + + + name + Invalid + scope + invalid + settings + + background + #EFFF8A + fontStyle + bold + foreground + #EE000B + + + + uuid + 4C43099A-C325-4F56-BACB-F332209207B0 + + diff --git a/tool/tmthemes/GitHub.tmTheme b/tool/tmthemes/GitHub.tmTheme new file mode 100644 index 00000000..aa21abce --- /dev/null +++ b/tool/tmthemes/GitHub.tmTheme @@ -0,0 +1,573 @@ + + + + + author + Martin Kühl + comment + A theme based on the GitHub code stylesheet. + name + GitHub + settings + + + comment + +background #files .file .data background-color +caret #files .file .meta color +invisibles .syntax .w +lineHighlight #FFFEEB #files .file .private background-color + alt: #FFFFCC colour that gets added via javascript +selection #B4D5FE handmade :-) + alt: #FFFFCC colour that gets added via javascript + #EAF2F5 #header .userbox background-color + #EAEAEA #files .file background-color + #DEDEDE #files .file border-color + #F9EA86 Mac OS X system selection colour “Gold” + + settings + + background + #F8F8FF + caret + #666666 + foreground + #000000 + invisibles + #BBBBBB + lineHighlight + #FFFEEB + selection + #B4D5FE + + + + comment + .syntax .c, .syntax .c[ml] + name + Comment + scope + comment + settings + + fontStyle + italic + foreground + #999988 + + + + name + Comment.Preproc + scope + comment.block.preprocessor + settings + + comment + .syntax .cp + fontStyle + bold + foreground + #999999 + + + + name + Comment.Special + scope + comment.documentation, comment.block.documentation + settings + + comment + .syntax .cs + fontStyle + bold italic + foreground + #999999 + + + + name + Error + scope + invalid.illegal + settings + + background + #E3D2D2 + comment + .syntax .err + foreground + #A61717 + + + + comment + .syntax .k, .syntax .k[dpr] + name + Keyword + scope + keyword, storage + settings + + fontStyle + bold + + + + comment + .syntax .o, .syntax .ow + name + Operator + scope + keyword.operator + settings + + fontStyle + bold + + + + name + Keyword.Constant + scope + constant.language, support.constant + settings + + comment + .style .kc + fontStyle + bold + + + + name + Keyword.Type + scope + storage.type, support.type + settings + + comment + .style .kt + fontStyle + bold + foreground + #445588 + + + + name + Name.Attribute + scope + entity.other.attribute-name + settings + + comment + .style .na + foreground + #008080 + + + + name + Name.Builtin + scope + variable.other + settings + + comment + .style .nb + foreground + #0086B3 + + + + name + Name.Builtin.Pseudo + scope + variable.language + settings + + comment + .style .bp + foreground + #999999 + + + + comment + TODO: support.class is styled as Name.Constant on GitHub. + name + Name.Class + scope + entity.name.type, entity.other.inherited-class, support.class + settings + + comment + .style .nc + fontStyle + bold + foreground + #445588 + + + + name + Name.Constant + scope + variable.other.constant + settings + + comment + .style .no + foreground + #008080 + + + + name + Name.Entity + scope + constant.character.entity + settings + + comment + .style .ni + foreground + #800080 + + + + name + Name.Exception + scope + entity.name.exception + settings + + comment + .style .ne + foreground + #990000 + + + + name + Name.Function + scope + entity.name.function, support.function, keyword.other.name-of-parameter + settings + + comment + .style .nf + foreground + #990000 + + + + name + Name.Namespace + scope + entity.name.section + settings + + comment + .style .nn + foreground + #555555 + + + + name + Name.Tag + scope + entity.name.tag + settings + + comment + .style .nt + foreground + #000080 + + + + name + Name.Variable + scope + variable.parameter, support.variable + settings + + comment + .style .nv, .style .v[cgi] + foreground + #008080 + + + + name + Literal.Number + scope + constant.numeric, constant.other + settings + + comment + .style .m, .style .m[fhio], .style .il + foreground + #009999 + + + + name + Literal.String + scope + string - string source, constant.character + settings + + comment + .style .s[bcd2ehixl] + fontStyle + + foreground + #DD1144 + + + + name + Literal.String.Regex + scope + string.regexp + settings + + comment + .style .sr + foreground + #009926 + + + + name + Literal.String.Symbol + scope + constant.other.symbol + settings + + comment + .style .ss + foreground + #990073 + + + + name + Punctuation + scope + punctuation + settings + + fontStyle + bold + + + + name + Generic.Deleted + scope + markup.deleted + settings + + background + #FFDDDD + comment + .syntax .gd + foreground + #000000 + + + + name + Generic.Emph + scope + markup.italic + settings + + comment + .syntax .ge + fontStyle + italic + + + + name + Generic.Error + scope + markup.error + settings + + comment + .syntax .gr + foreground + #AA0000 + + + + name + Generic.Heading + scope + markup.heading.1 + settings + + comment + .syntax .gh + foreground + #999999 + + + + name + Generic.Inserted + scope + markup.inserted + settings + + background + #DDFFDD + comment + .syntax .gi + foreground + #000000 + + + + name + Generic.Output + scope + markup.output, markup.raw + settings + + comment + .syntax .go + foreground + #888888 + + + + name + Generic.Prompt + scope + markup.prompt + settings + + comment + .syntax .gp + foreground + #555555 + + + + name + Generic.Strong + scope + markup.bold + settings + + comment + .syntax .gs + fontStyle + bold + + + + name + Generic.Subheading + scope + markup.heading + settings + + comment + .syntax .gu + foreground + #AAAAAA + + + + name + Generic.Traceback + scope + markup.traceback + settings + + comment + .syntax .gt + foreground + #AA0000 + + + + name + Generic.Underline + scope + markup.underline + settings + + fontStyle + underline + + + + name + Extra: Diff Range + scope + meta.diff.range, meta.diff.index, meta.separator + settings + + background + #EAF2F5 + comment + .syntax .gc + foreground + #999999 + + + + name + Extra: Diff From + scope + meta.diff.header.from-file + settings + + background + #FFDDDD + foreground + #999999 + + + + name + Extra: Diff To + scope + meta.diff.header.to-file + settings + + background + #DDFFDD + foreground + #999999 + + + + name + Extra: Link + scope + meta.link + settings + + fontStyle + + foreground + #4183C4 + + + + uuid + FDD6F02A-74F7-4B6C-97F1-857D792EC90E + + diff --git a/tool/tmthemes/Mac Classic.tmTheme b/tool/tmthemes/Textmate (Mac Classic).tmTheme similarity index 100% rename from tool/tmthemes/Mac Classic.tmTheme rename to tool/tmthemes/Textmate (Mac Classic).tmTheme diff --git a/tool/tmthemes/Xcode_default.tmTheme b/tool/tmthemes/Xcode_default.tmTheme new file mode 100644 index 00000000..c7b5072c --- /dev/null +++ b/tool/tmthemes/Xcode_default.tmTheme @@ -0,0 +1,240 @@ + + + + + comment + Carmine Paolino + name + Xcode default + settings + + + settings + + background + #FFFFFF + caret + #000000 + foreground + #000000 + invisibles + #BFBFBF + lineHighlight + #00000012 + selection + #B5D5FF + + + + name + Comment + scope + comment + settings + + foreground + #008E00 + + + + name + Preprocessor Statements + scope + meta.preprocessor, keyword.control.import + settings + + foreground + #7D4726 + + + + name + String + scope + string + settings + + foreground + #DF0002 + + + + name + Number + scope + constant.numeric + settings + + foreground + #3A00DC + + + + name + Built-in constant + scope + constant.language + settings + + foreground + #C800A4 + + + + name + User-defined constant + scope + constant.character, constant.other + settings + + foreground + #275A5E + + + + name + Variable + scope + variable.language, variable.other + settings + + foreground + #C800A4 + + + + name + Keyword + scope + keyword + settings + + foreground + #C800A4 + + + + name + Storage + scope + storage + settings + + foreground + #C900A4 + + + + name + Class name + scope + entity.name.class + settings + + foreground + #438288 + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + + + name + Function name + scope + entity.name.function + settings + + + + name + Function argument + scope + variable.parameter + settings + + + + name + Tag name + scope + entity.name.tag + settings + + foreground + #790EAD + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + foreground + #450084 + + + + name + Library function + scope + support.function + settings + + foreground + #450084 + + + + name + Library constant + scope + support.constant + settings + + foreground + #450084 + + + + name + Library class/type + scope + support.type, support.class + settings + + foreground + #790EAD + + + + name + Library variable + scope + support.other.variable + settings + + foreground + #790EAD + + + + name + Invalid + scope + invalid + settings + + + + uuid + EE3AD170-2B7F-4DE1-B724-C75F13FE0085 + +