1facfcf9af0b5a679a66dc7f26080afe.js 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. ace.define("ace/ext/themelist",["require","exports","module"], function(require, exports, module){/**
  2. * Generates a list of themes available when ace was built.
  3. * @fileOverview Generates a list of themes available when ace was built.
  4. * @author <a href="mailto:matthewkastor@gmail.com">
  5. * Matthew Christopher Kastor-Inare III </a><br />
  6. * ☭ Hial Atropa!! ☭
  7. */
  8. "use strict";
  9. var themeData = [
  10. ["Chrome"],
  11. ["Clouds"],
  12. ["Crimson Editor"],
  13. ["Dawn"],
  14. ["Dreamweaver"],
  15. ["Eclipse"],
  16. ["GitHub"],
  17. ["IPlastic"],
  18. ["Solarized Light"],
  19. ["TextMate"],
  20. ["Tomorrow"],
  21. ["XCode"],
  22. ["Kuroir"],
  23. ["KatzenMilch"],
  24. ["SQL Server", "sqlserver", "light"],
  25. ["Ambiance", "ambiance", "dark"],
  26. ["Chaos", "chaos", "dark"],
  27. ["Clouds Midnight", "clouds_midnight", "dark"],
  28. ["Dracula", "", "dark"],
  29. ["Cobalt", "cobalt", "dark"],
  30. ["Gruvbox", "gruvbox", "dark"],
  31. ["Green on Black", "gob", "dark"],
  32. ["idle Fingers", "idle_fingers", "dark"],
  33. ["krTheme", "kr_theme", "dark"],
  34. ["Merbivore", "merbivore", "dark"],
  35. ["Merbivore Soft", "merbivore_soft", "dark"],
  36. ["Mono Industrial", "mono_industrial", "dark"],
  37. ["Monokai", "monokai", "dark"],
  38. ["Nord Dark", "nord_dark", "dark"],
  39. ["One Dark", "one_dark", "dark"],
  40. ["Pastel on dark", "pastel_on_dark", "dark"],
  41. ["Solarized Dark", "solarized_dark", "dark"],
  42. ["Terminal", "terminal", "dark"],
  43. ["Tomorrow Night", "tomorrow_night", "dark"],
  44. ["Tomorrow Night Blue", "tomorrow_night_blue", "dark"],
  45. ["Tomorrow Night Bright", "tomorrow_night_bright", "dark"],
  46. ["Tomorrow Night 80s", "tomorrow_night_eighties", "dark"],
  47. ["Twilight", "twilight", "dark"],
  48. ["Vibrant Ink", "vibrant_ink", "dark"]
  49. ];
  50. exports.themesByName = {};
  51. exports.themes = themeData.map(function (data) {
  52. var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
  53. var theme = {
  54. caption: data[0],
  55. theme: "ace/theme/" + name,
  56. isDark: data[2] == "dark",
  57. name: name
  58. };
  59. exports.themesByName[name] = theme;
  60. return theme;
  61. });
  62. }); (function() {
  63. ace.require(["ace/ext/themelist"], function(m) {
  64. if (typeof module == "object" && typeof exports == "object" && module) {
  65. module.exports = m;
  66. }
  67. });
  68. })();