define([
    'ace/theme'
], function(aceTheme) {
    var themes = codebox.require("core/themes");

    themes.add({
        id: "tomorrow.night",
        title: "Tomorrow Night",

        editor: {
            'theme': aceTheme
        }
    });
});

@@ -100,132 +100,3031 @@
     
-themes.add(%7B%0A        id: %22tomorrow.night%22,%0A        title: %22Tomorrow Night%22,%0A%0A        editor: %7B%0A            'theme': aceTheme
+var bgDarker = %22#1a1d24%22;%0A    var colorDarker = %22#505c66%22;%0A%0A    var bgDark = %22#222830%22;%0A    var colorDark = %22#64737e%22;%0A%0A    var bgNormal = %22#1c1f25%22;%0A    var colorNormal = %22#dfe0e6%22;%0A%0A    var bgLight = %22#2b303b%22;%0A    var colorLight = %22#dadfe6%22;%0A%0A    themes.add(%7B%0A        id: %22tomorrow.night%22,%0A        title: %22Tomorrow Night%22,%0A%0A        editor: %7B%0A            'theme': aceTheme%0A        %7D,%0A        styles: %7B%0A            // Top menubar%0A            menubar: %7B%0A                'background': bgDarker,%0A                'color': colorDark,%0A                'border-color': %22#111%22,%0A%0A                button: %7B%0A                    'border-color': bgNormal%0A                %7D%0A            %7D,%0A%0A            // Statusbar%0A            statusbar: %7B%0A                'background': bgDarker,%0A                'color': colorDark,%0A                'border-color': %22#111%22,%0A%0A                button: %7B%0A                    'border-color': bgNormal%0A                %7D%0A            %7D,%0A%0A            // Lateral bar panels%0A            lateralbar: %7B%0A                'background': bgDark,%0A%0A                commands: %7B%0A                    'background': bgDark,%0A                    'color': colorLight%0A                %7D,%0A                body: %7B%0A                    'color': colorDark%0A                %7D%0A            %7D,%0A%0A            // Body%0A            body: %7B%0A                'background': bgDark,%0A                'color': colorDark%0A            %7D,%0A%0A            // Tabs%0A            tabs: %7B%0A                section: %7B%0A                    'border-color': bgDark%0A                %7D,%0A                header: %7B%0A                    'background': bgDark,%0A                    'color': colorDark%0A                %7D,%0A                content: %7B%0A                    'background': bgLight%0A                %7D,%0A                tab: %7B%0A                    '&.active': %7B%0A                        'background': bgLight,%0A                        'color': colorLight%0A                    %7D%0A                %7D%0A            %7D,%0A%0A            // Operations%0A            operations: %7B%0A                operation: %7B%0A                    'background': bgLight,%0A                    'color': %22#fff%22,%0A                    'border-color': %22transparent%22%0A                %7D%0A            %7D,%0A%0A            // Alerts%0A            alerts: %7B%0A                alert: %7B%0A                    'background': bgLight,%0A                    'color': colorLight,%0A                    'border-color': %22transparent%22%0A                %7D%0A            %7D,%0A%0A            // Palette%0A            palette: %7B%0A                'background': bgDark,%0A                'border-color': bgDarker,%0A%0A                input: %7B%0A                    'background': bgLight,%0A                    'border-color': bgDarker,%0A                    'color': colorLight%0A                %7D,%0A%0A                results: %7B%0A                    'background': bgLight,%0A                    'border-color': bgDarker,%0A                    'color': colorLight,%0A%0A                    command: %7B%0A                        'border-color': bgDarker%0A                    %7D%0A                %7D%0A            %7D
 %0A   

Revert to include dark UI theme