(function (factory) {
    if (typeof module === "object" && typeof module.exports === "object") {
        var v = factory(require, exports);
        if (v !== undefined) module.exports = v;
    }
    else if (typeof define === "function" && define.amd) {
        define(["require", "exports", "tslib", "../Pallette/themes", "../utils/deepmerge"], factory);
    }
})(function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var tslib_1 = require("tslib");
    var themes_1 = require("../Pallette/themes");
    var deepmerge_1 = (0, tslib_1.__importDefault)(require("../utils/deepmerge"));
    var createTheme = function (options, defaultTheme) { return (0, deepmerge_1.default)(defaultTheme || themes_1.LIGHT_THEME, options); };
    exports.default = createTheme;
});
