2023-01-16 22:26:34 +00:00
|
|
|
ace.define("ace/ext/themelist",["require","exports","module"], function(require, exports, module){/**
|
|
|
|
* Generates a list of themes available when ace was built.
|
|
|
|
* @fileOverview Generates a list of themes available when ace was built.
|
|
|
|
* @author <a href="mailto:matthewkastor@gmail.com">
|
|
|
|
* Matthew Christopher Kastor-Inare III </a><br />
|
|
|
|
* ☭ Hial Atropa!! ☭
|
|
|
|
*/
|
2014-07-08 20:15:22 +00:00
|
|
|
"use strict";
|
2013-12-30 15:00:16 +00:00
|
|
|
var themeData = [
|
2023-01-16 22:26:34 +00:00
|
|
|
["Chrome"],
|
|
|
|
["Clouds"],
|
|
|
|
["Crimson Editor"],
|
|
|
|
["Dawn"],
|
|
|
|
["Dreamweaver"],
|
|
|
|
["Eclipse"],
|
|
|
|
["GitHub"],
|
|
|
|
["IPlastic"],
|
2013-12-30 15:00:16 +00:00
|
|
|
["Solarized Light"],
|
2023-01-16 22:26:34 +00:00
|
|
|
["TextMate"],
|
|
|
|
["Tomorrow"],
|
|
|
|
["XCode"],
|
2013-12-30 15:00:16 +00:00
|
|
|
["Kuroir"],
|
|
|
|
["KatzenMilch"],
|
2023-01-16 22:26:34 +00:00
|
|
|
["SQL Server", "sqlserver", "light"],
|
|
|
|
["Ambiance", "ambiance", "dark"],
|
|
|
|
["Chaos", "chaos", "dark"],
|
|
|
|
["Clouds Midnight", "clouds_midnight", "dark"],
|
|
|
|
["Dracula", "", "dark"],
|
|
|
|
["Cobalt", "cobalt", "dark"],
|
|
|
|
["Gruvbox", "gruvbox", "dark"],
|
|
|
|
["Green on Black", "gob", "dark"],
|
|
|
|
["idle Fingers", "idle_fingers", "dark"],
|
|
|
|
["krTheme", "kr_theme", "dark"],
|
|
|
|
["Merbivore", "merbivore", "dark"],
|
|
|
|
["Merbivore Soft", "merbivore_soft", "dark"],
|
|
|
|
["Mono Industrial", "mono_industrial", "dark"],
|
|
|
|
["Monokai", "monokai", "dark"],
|
|
|
|
["Nord Dark", "nord_dark", "dark"],
|
|
|
|
["One Dark", "one_dark", "dark"],
|
|
|
|
["Pastel on dark", "pastel_on_dark", "dark"],
|
|
|
|
["Solarized Dark", "solarized_dark", "dark"],
|
|
|
|
["Terminal", "terminal", "dark"],
|
|
|
|
["Tomorrow Night", "tomorrow_night", "dark"],
|
|
|
|
["Tomorrow Night Blue", "tomorrow_night_blue", "dark"],
|
|
|
|
["Tomorrow Night Bright", "tomorrow_night_bright", "dark"],
|
|
|
|
["Tomorrow Night 80s", "tomorrow_night_eighties", "dark"],
|
|
|
|
["Twilight", "twilight", "dark"],
|
|
|
|
["Vibrant Ink", "vibrant_ink", "dark"]
|
2014-03-16 18:05:39 +00:00
|
|
|
];
|
2013-12-30 15:00:16 +00:00
|
|
|
exports.themesByName = {};
|
2023-01-16 22:26:34 +00:00
|
|
|
exports.themes = themeData.map(function (data) {
|
2013-12-30 15:00:16 +00:00
|
|
|
var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
|
|
|
|
var theme = {
|
2014-03-16 18:05:39 +00:00
|
|
|
caption: data[0],
|
|
|
|
theme: "ace/theme/" + name,
|
|
|
|
isDark: data[2] == "dark",
|
|
|
|
name: name
|
2013-12-30 15:00:16 +00:00
|
|
|
};
|
|
|
|
exports.themesByName[name] = theme;
|
|
|
|
return theme;
|
|
|
|
});
|
|
|
|
|
2020-04-14 12:14:48 +00:00
|
|
|
}); (function() {
|
|
|
|
ace.require(["ace/ext/themelist"], function(m) {
|
|
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
|
|
module.exports = m;
|
|
|
|
}
|
|
|
|
});
|
2014-07-08 20:15:22 +00:00
|
|
|
})();
|
|
|
|
|