ext-themelist.js 2.4 KB

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