define(["require", "exports", "./colors/index", "./effects/index", "./fonts/index", "./mergeThemes", "./spacing/index", "./utilities/makeSemanticColors"], function (require, exports, index_1, index_2, index_3, mergeThemes_1, index_4, makeSemanticColors_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    /**
     * Creates a custom theme definition.
     * @param theme - Partial theme object.
     * @param depComments - Whether to include deprecated tags as comments for deprecated slots.
     */
    function createTheme(theme, depComments) {
        if (theme === void 0) { theme = {}; }
        if (depComments === void 0) { depComments = false; }
        var isInverted = !!theme.isInverted;
        var baseTheme = {
            palette: index_1.DefaultPalette,
            effects: index_2.DefaultEffects,
            fonts: index_3.DefaultFontStyles,
            spacing: index_4.DefaultSpacing,
            isInverted: isInverted,
            disableGlobalClassNames: false,
            semanticColors: makeSemanticColors_1.makeSemanticColors(index_1.DefaultPalette, index_2.DefaultEffects, undefined, isInverted, depComments),
            rtl: undefined,
        };
        return mergeThemes_1.mergeThemes(baseTheme, theme);
    }
    exports.createTheme = createTheme;
});
//# sourceMappingURL=createTheme.js.map