ext-themelist.js 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. define("ace/ext/themelist",["ace_require","exports","module"], function(ace_require, exports, module) {
  2. "use strict";
  3. var themeData = [
  4. ["Chrome" ],
  5. ["Clouds" ],
  6. ["Crimson Editor" ],
  7. ["Dawn" ],
  8. ["Dreamweaver" ],
  9. ["Eclipse" ],
  10. ["GitHub" ],
  11. ["IPlastic" ],
  12. ["Solarized Light"],
  13. ["TextMate" ],
  14. ["Tomorrow" ],
  15. ["Xcode" ],
  16. ["Kuroir"],
  17. ["KatzenMilch"],
  18. ["SQL Server" ,"sqlserver" , "light"],
  19. ["Ambiance" ,"ambiance" , "dark"],
  20. ["Chaos" ,"chaos" , "dark"],
  21. ["Clouds Midnight" ,"clouds_midnight" , "dark"],
  22. ["Dracula" ,"" , "dark"],
  23. ["Cobalt" ,"cobalt" , "dark"],
  24. ["Gruvbox" ,"gruvbox" , "dark"],
  25. ["Green on Black" ,"gob" , "dark"],
  26. ["idle Fingers" ,"idle_fingers" , "dark"],
  27. ["krTheme" ,"kr_theme" , "dark"],
  28. ["Merbivore" ,"merbivore" , "dark"],
  29. ["Merbivore Soft" ,"merbivore_soft" , "dark"],
  30. ["Mono Industrial" ,"mono_industrial" , "dark"],
  31. ["Monokai" ,"monokai" , "dark"],
  32. ["Nord Dark" ,"nord_dark" , "dark"],
  33. ["Pastel on dark" ,"pastel_on_dark" , "dark"],
  34. ["Solarized Dark" ,"solarized_dark" , "dark"],
  35. ["Terminal" ,"terminal" , "dark"],
  36. ["Tomorrow Night" ,"tomorrow_night" , "dark"],
  37. ["Tomorrow Night Blue" ,"tomorrow_night_blue" , "dark"],
  38. ["Tomorrow Night Bright","tomorrow_night_bright" , "dark"],
  39. ["Tomorrow Night 80s" ,"tomorrow_night_eighties" , "dark"],
  40. ["Twilight" ,"twilight" , "dark"],
  41. ["Vibrant Ink" ,"vibrant_ink" , "dark"]
  42. ];
  43. exports.themesByName = {};
  44. exports.themes = themeData.map(function(data) {
  45. var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
  46. var theme = {
  47. caption: data[0],
  48. theme: "ace/theme/" + name,
  49. isDark: data[2] == "dark",
  50. name: name
  51. };
  52. exports.themesByName[name] = theme;
  53. return theme;
  54. });
  55. }); (function() {
  56. window.ace_require(["ace/ext/themelist"], function(m) {
  57. if (typeof module == "object" && typeof exports == "object" && module) {
  58. module.exports = m;
  59. }
  60. });
  61. })();