ec0bbb0ae01a2eac8dd4f36da4eb1e73.js 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 Light Default"],
  17. ["GitHub (Legacy)", "github", "light"],
  18. ["IPlastic"],
  19. ["Solarized Light"],
  20. ["TextMate"],
  21. ["Tomorrow"],
  22. ["XCode"],
  23. ["Kuroir"],
  24. ["KatzenMilch"],
  25. ["SQL Server", "sqlserver", "light"],
  26. ["CloudEditor", "cloud_editor", "light"],
  27. ["Ambiance", "ambiance", "dark"],
  28. ["Chaos", "chaos", "dark"],
  29. ["Clouds Midnight", "clouds_midnight", "dark"],
  30. ["Dracula", "", "dark"],
  31. ["Cobalt", "cobalt", "dark"],
  32. ["Gruvbox", "gruvbox", "dark"],
  33. ["Green on Black", "gob", "dark"],
  34. ["idle Fingers", "idle_fingers", "dark"],
  35. ["krTheme", "kr_theme", "dark"],
  36. ["Merbivore", "merbivore", "dark"],
  37. ["Merbivore Soft", "merbivore_soft", "dark"],
  38. ["Mono Industrial", "mono_industrial", "dark"],
  39. ["Monokai", "monokai", "dark"],
  40. ["Nord Dark", "nord_dark", "dark"],
  41. ["One Dark", "one_dark", "dark"],
  42. ["Pastel on dark", "pastel_on_dark", "dark"],
  43. ["Solarized Dark", "solarized_dark", "dark"],
  44. ["Terminal", "terminal", "dark"],
  45. ["Tomorrow Night", "tomorrow_night", "dark"],
  46. ["Tomorrow Night Blue", "tomorrow_night_blue", "dark"],
  47. ["Tomorrow Night Bright", "tomorrow_night_bright", "dark"],
  48. ["Tomorrow Night 80s", "tomorrow_night_eighties", "dark"],
  49. ["Twilight", "twilight", "dark"],
  50. ["Vibrant Ink", "vibrant_ink", "dark"],
  51. ["GitHub Dark", "github_dark", "dark"],
  52. ["CloudEditor Dark", "cloud_editor_dark", "dark"]
  53. ];
  54. exports.themesByName = {};
  55. exports.themes = themeData.map(function (data) {
  56. var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
  57. var theme = {
  58. caption: data[0],
  59. theme: "ace/theme/" + name,
  60. isDark: data[2] == "dark",
  61. name: name
  62. };
  63. exports.themesByName[name] = theme;
  64. return theme;
  65. });
  66. }); (function() {
  67. ace.require(["ace/ext/themelist"], function(m) {
  68. if (typeof module == "object" && typeof exports == "object" && module) {
  69. module.exports = m;
  70. }
  71. });
  72. })();