Debian Codegraph @

extensions/CodeEditor/modules/lib/ace/ext-themelist.js

raw symbols SCIP
1 ace.define("ace/ext/themelist",["require","exports","module"], function(require, exports, module){/**
2 * Generates a list of themes available when ace was built.
3 * @fileOverview Generates a list of themes available when ace was built.
4 * @author <a href="mailto:[email protected]">
5 * Matthew Christopher Kastor-Inare III </a><br />
6 * ☭ Hial Atropa!! ☭
7 */
8 "use strict";
9 var themeData = [
10 ["Chrome"],
11 ["Clouds"],
12 ["Crimson Editor"],
13 ["Dawn"],
14 ["Dreamweaver"],
15 ["Eclipse"],
16 ["GitHub"],
17 ["IPlastic"],
18 ["Solarized Light"],
19 ["TextMate"],
20 ["Tomorrow"],
21 ["XCode"],
22 ["Kuroir"],
23 ["KatzenMilch"],
24 ["SQL Server", "sqlserver", "light"],
25 ["CloudEditor", "cloud_editor", "light"],
26 ["Ambiance", "ambiance", "dark"],
27 ["Chaos", "chaos", "dark"],
28 ["Clouds Midnight", "clouds_midnight", "dark"],
29 ["Dracula", "", "dark"],
30 ["Cobalt", "cobalt", "dark"],
31 ["Gruvbox", "gruvbox", "dark"],
32 ["Green on Black", "gob", "dark"],
33 ["idle Fingers", "idle_fingers", "dark"],
34 ["krTheme", "kr_theme", "dark"],
35 ["Merbivore", "merbivore", "dark"],
36 ["Merbivore Soft", "merbivore_soft", "dark"],
37 ["Mono Industrial", "mono_industrial", "dark"],
38 ["Monokai", "monokai", "dark"],
39 ["Nord Dark", "nord_dark", "dark"],
40 ["One Dark", "one_dark", "dark"],
41 ["Pastel on dark", "pastel_on_dark", "dark"],
42 ["Solarized Dark", "solarized_dark", "dark"],
43 ["Terminal", "terminal", "dark"],
44 ["Tomorrow Night", "tomorrow_night", "dark"],
45 ["Tomorrow Night Blue", "tomorrow_night_blue", "dark"],
46 ["Tomorrow Night Bright", "tomorrow_night_bright", "dark"],
47 ["Tomorrow Night 80s", "tomorrow_night_eighties", "dark"],
48 ["Twilight", "twilight", "dark"],
49 ["Vibrant Ink", "vibrant_ink", "dark"],
50 ["GitHub Dark", "github_dark", "dark"],
51 ["CloudEditor Dark", "cloud_editor_dark", "dark"]
52 ];
53 exports.themesByName = {};
54 exports.themes = themeData.map(function (data) {
55 var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
56 var theme = {
57 caption: data[0],
58 theme: "ace/theme/" + name,
59 isDark: data[2] == "dark",
60 name: name
61 };
62 exports.themesByName[name] = theme;
63 return theme;
64 });
65
66 }); (function() {
67 ace.require(["ace/ext/themelist"], function(m) {
68 if (typeof module == "object" && typeof exports == "object" && module) {
69 module.exports = m;
70 }
71 });
72 })();
73