/textarea/src/theme-xcode.js

https://github.com/charles-tai/ace-builds · JavaScript · 119 lines · 87 code · 3 blank · 29 comment · 0 complexity · 2d11ce793f7b4eedc5373ee48083c994 MD5 · raw file

  1. /* ***** BEGIN LICENSE BLOCK *****
  2. * Distributed under the BSD license:
  3. *
  4. * Copyright (c) 2010, Ajax.org B.V.
  5. * All rights reserved.
  6. *
  7. * Redistribution and use in source and binary forms, with or without
  8. * modification, are permitted provided that the following conditions are met:
  9. * * Redistributions of source code must retain the above copyright
  10. * notice, this list of conditions and the following disclaimer.
  11. * * Redistributions in binary form must reproduce the above copyright
  12. * notice, this list of conditions and the following disclaimer in the
  13. * documentation and/or other materials provided with the distribution.
  14. * * Neither the name of Ajax.org B.V. nor the
  15. * names of its contributors may be used to endorse or promote products
  16. * derived from this software without specific prior written permission.
  17. *
  18. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  19. * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  20. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  21. * DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
  22. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  23. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  24. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  25. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  26. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  27. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  28. *
  29. * ***** END LICENSE BLOCK ***** */
  30. __ace_shadowed__.define('ace/theme/xcode', ['require', 'exports', 'module' , 'ace/lib/dom'], function(require, exports, module) {
  31. exports.isDark = false;
  32. exports.cssClass = "ace-xcode";
  33. exports.cssText = "/* THIS THEME WAS AUTOGENERATED BY Theme.tmpl.css (UUID: EE3AD170-2B7F-4DE1-B724-C75F13FE0085) */\
  34. .ace-xcode .ace_gutter {\
  35. background: #e8e8e8;\
  36. color: #333\
  37. }\
  38. .ace-xcode .ace_print-margin {\
  39. width: 1px;\
  40. background: #e8e8e8\
  41. }\
  42. .ace-xcode {\
  43. background-color: #FFFFFF;\
  44. color: #000000\
  45. }\
  46. .ace-xcode .ace_cursor {\
  47. color: #000000\
  48. }\
  49. .ace-xcode .ace_marker-layer .ace_selection {\
  50. background: #B5D5FF\
  51. }\
  52. .ace-xcode.ace_multiselect .ace_selection.ace_start {\
  53. box-shadow: 0 0 3px 0px #FFFFFF;\
  54. border-radius: 2px\
  55. }\
  56. .ace-xcode .ace_marker-layer .ace_step {\
  57. background: rgb(198, 219, 174)\
  58. }\
  59. .ace-xcode .ace_marker-layer .ace_bracket {\
  60. margin: -1px 0 0 -1px;\
  61. border: 1px solid #BFBFBF\
  62. }\
  63. .ace-xcode .ace_marker-layer .ace_active-line {\
  64. background: rgba(0, 0, 0, 0.071)\
  65. }\
  66. .ace-xcode .ace_gutter-active-line {\
  67. background-color: rgba(0, 0, 0, 0.071)\
  68. }\
  69. .ace-xcode .ace_marker-layer .ace_selected-word {\
  70. border: 1px solid #B5D5FF\
  71. }\
  72. .ace-xcode .ace_constant.ace_language,\
  73. .ace-xcode .ace_keyword,\
  74. .ace-xcode .ace_meta,\
  75. .ace-xcode .ace_variable.ace_language {\
  76. color: #C800A4\
  77. }\
  78. .ace-xcode .ace_invisible {\
  79. color: #BFBFBF\
  80. }\
  81. .ace-xcode .ace_constant.ace_character,\
  82. .ace-xcode .ace_constant.ace_other {\
  83. color: #275A5E\
  84. }\
  85. .ace-xcode .ace_constant.ace_numeric {\
  86. color: #3A00DC\
  87. }\
  88. .ace-xcode .ace_entity.ace_other.ace_attribute-name,\
  89. .ace-xcode .ace_support.ace_constant,\
  90. .ace-xcode .ace_support.ace_function {\
  91. color: #450084\
  92. }\
  93. .ace-xcode .ace_fold {\
  94. background-color: #C800A4;\
  95. border-color: #000000\
  96. }\
  97. .ace-xcode .ace_entity.ace_name.ace_tag,\
  98. .ace-xcode .ace_support.ace_class,\
  99. .ace-xcode .ace_support.ace_type {\
  100. color: #790EAD\
  101. }\
  102. .ace-xcode .ace_storage {\
  103. color: #C900A4\
  104. }\
  105. .ace-xcode .ace_string {\
  106. color: #DF0002\
  107. }\
  108. .ace-xcode .ace_comment {\
  109. color: #008E00\
  110. }\
  111. .ace-xcode .ace_indent-guide {\
  112. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==) right repeat-y\
  113. }";
  114. var dom = require("../lib/dom");
  115. dom.importCssString(exports.cssText, exports.cssClass);
  116. });