You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.4 KiB

12 months ago
  1. ace.define("ace/ext/themelist",["require","exports","module","ace/lib/fixoldbrowsers"], function(acequire, exports, module) {
  2. "use strict";
  3. acequire("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. ["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. ["Pastel on dark" ,"pastel_on_dark" , "dark"],
  33. ["Solarized Dark" ,"solarized_dark" , "dark"],
  34. ["Terminal" ,"terminal" , "dark"],
  35. ["Tomorrow Night" ,"tomorrow_night" , "dark"],
  36. ["Tomorrow Night Blue" ,"tomorrow_night_blue" , "dark"],
  37. ["Tomorrow Night Bright","tomorrow_night_bright" , "dark"],
  38. ["Tomorrow Night 80s" ,"tomorrow_night_eighties" , "dark"],
  39. ["Twilight" ,"twilight" , "dark"],
  40. ["Vibrant Ink" ,"vibrant_ink" , "dark"]
  41. ];
  42. exports.themesByName = {};
  43. exports.themes = themeData.map(function(data) {
  44. var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
  45. var theme = {
  46. caption: data[0],
  47. theme: "ace/theme/" + name,
  48. isDark: data[2] == "dark",
  49. name: name
  50. };
  51. exports.themesByName[name] = theme;
  52. return theme;
  53. });
  54. });
  55. (function() {
  56. ace.acequire(["ace/ext/themelist"], function() {});
  57. })();