Projekt

Obecné

Profil

Stáhnout (2.7 KB) Statistiky
| Větev: | Tag: | Revize:
1
ace.define("ace/ext/themelist",["require","exports","module"], function(require, exports, module) {
2
"use strict";
3

    
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
    ["Nord Dark"            ,"nord_dark"               ,  "dark"],
34
    ["Pastel on dark"       ,"pastel_on_dark"          ,  "dark"],
35
    ["Solarized Dark"       ,"solarized_dark"          ,  "dark"],
36
    ["Terminal"             ,"terminal"                ,  "dark"],
37
    ["Tomorrow Night"       ,"tomorrow_night"          ,  "dark"],
38
    ["Tomorrow Night Blue"  ,"tomorrow_night_blue"     ,  "dark"],
39
    ["Tomorrow Night Bright","tomorrow_night_bright"   ,  "dark"],
40
    ["Tomorrow Night 80s"   ,"tomorrow_night_eighties" ,  "dark"],
41
    ["Twilight"             ,"twilight"                ,  "dark"],
42
    ["Vibrant Ink"          ,"vibrant_ink"             ,  "dark"]
43
];
44

    
45

    
46
exports.themesByName = {};
47
exports.themes = themeData.map(function(data) {
48
    var name = data[1] || data[0].replace(/ /g, "_").toLowerCase();
49
    var theme = {
50
        caption: data[0],
51
        theme: "ace/theme/" + name,
52
        isDark: data[2] == "dark",
53
        name: name
54
    };
55
    exports.themesByName[name] = theme;
56
    return theme;
57
});
58

    
59
});                (function() {
60
                    ace.require(["ace/ext/themelist"], function(m) {
61
                        if (typeof module == "object" && typeof exports == "object" && module) {
62
                            module.exports = m;
63
                        }
64
                    });
65
                })();
66
            
(21-21/244)