"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.pageTheme = void 0; const theme_1 = require("@backstage/theme"); const pageTheme = (input) => { const { headerColor1, headerColor2 } = input; const defaultColors = ["#005f60", "#73c5c5"]; const headerColor = [ headerColor1 || defaultColors[0], headerColor2 || defaultColors[1], ]; return { home: (0, theme_1.genPageTheme)({ colors: [headerColor[0], headerColor[1]], shape: theme_1.shapes.wave, }), app: (0, theme_1.genPageTheme)({ colors: [headerColor[0], headerColor[1]], shape: theme_1.shapes.wave, }), apis: (0, theme_1.genPageTheme)({ colors: [headerColor[0], headerColor[1]], shape: theme_1.shapes.wave, }), documentation: (0, theme_1.genPageTheme)({ colors: [headerColor[0], headerColor[1]], shape: theme_1.shapes.wave, }), tool: (0, theme_1.genPageTheme)({ colors: [headerColor[0], headerColor[1]], shape: theme_1.shapes.round, }), other: (0, theme_1.genPageTheme)({ colors: [headerColor[0], headerColor[1]], shape: theme_1.shapes.wave, }), }; }; exports.pageTheme = pageTheme;