ext-themelist.js 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. ace.define("ace/ext/themelist",[], 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. ["Dracula" ,"" , "dark"],
  24. ["Cobalt" ,"cobalt" , "dark"],
  25. ["Gruvbox" ,"gruvbox" , "dark"],
  26. ["Green on Black" ,"gob" , "dark"],
  27. ["idle Fingers" ,"idle_fingers" , "dark"],
  28. ["krTheme" ,"kr_theme" , "dark"],
  29. ["Merbivore" ,"merbivore" , "dark"],
  30. ["Merbivore Soft" ,"merbivore_soft" , "dark"],
  31. ["Mono Industrial" ,"mono_industrial" , "dark"],
  32. ["Monokai" ,"monokai" , "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. });
  56. (function() {
  57. ace.require(["ace/ext/themelist"], function(m) {
  58. if (typeof module == "object" && typeof exports == "object" && module) {
  59. module.exports = m;
  60. }
  61. });
  62. })();