"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildThemedComponents = buildThemedComponents;
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
const path_1 = require("path");
const theming_build_1 = require("@cloudscape-design/theming-build");
const index_cjs_1 = require("./internal/template/internal/generated/theming/index.cjs");
const internalDir = (0, path_1.join)(__dirname, './internal');
const scssDir = (0, path_1.join)(internalDir, './scss');
const templateDir = (0, path_1.join)(internalDir, './template');
const designTokensTemplateDir = (0, path_1.join)(internalDir, './template-tokens');
function buildThemedComponents({ theme, outputDir, baseThemeId }) {
    return (0, theming_build_1.buildThemedComponents)({
        override: theme,
        preset: index_cjs_1.preset,
        baseThemeId,
        componentsOutputDir: (0, path_1.join)(outputDir, 'components'),
        designTokensOutputDir: (0, path_1.join)(outputDir, 'design-tokens'),
        templateDir,
        designTokensTemplateDir,
        scssDir,
    });
}
//# sourceMappingURL=theming.js.map