"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Colors_1 = require("../../../core/Colors");
const switchColorStyle = (colorType) => {
    const defaultOnInnerCircleColor = Colors_1.basicColors.white;
    const defaultOffContainerColor = Colors_1.basicColors.gray100;
    const defaultOffInnerCircleColor = Colors_1.semanticColors.controlSwitchEnabledOffInnerCircle;
    const disabledOnInnerCircleColor = Colors_1.semanticColors.controlSwitchDisabledOnInnerCircle;
    const disabledOffContainerColor = Colors_1.basicColors.gray50;
    const disabledOffInnerCircleColor = Colors_1.semanticColors.controlSwitchDisabledOffInnerCircle;
    switch (colorType) {
        case 'gray':
            return {
                default: {
                    on: {
                        containerColor: Colors_1.semanticColors.controlGraySwitchEnabledOnContainer,
                        innerCircleColor: defaultOnInnerCircleColor,
                    },
                    off: {
                        containerColor: defaultOffContainerColor,
                        innerCircleColor: defaultOffInnerCircleColor,
                    },
                },
                disabled: {
                    on: {
                        containerColor: Colors_1.basicColors.gray200,
                        innerCircleColor: disabledOnInnerCircleColor,
                    },
                    off: {
                        containerColor: disabledOffContainerColor,
                        innerCircleColor: disabledOffInnerCircleColor,
                    },
                },
            };
        default:
            return {
                default: {
                    on: {
                        containerColor: Colors_1.basicColors[`${colorType}400`],
                        innerCircleColor: defaultOnInnerCircleColor,
                    },
                    off: {
                        containerColor: defaultOffContainerColor,
                        innerCircleColor: defaultOffInnerCircleColor,
                    },
                },
                disabled: {
                    on: {
                        containerColor: Colors_1.basicColors[`${colorType}100`],
                        innerCircleColor: disabledOnInnerCircleColor,
                    },
                    off: {
                        containerColor: disabledOffContainerColor,
                        innerCircleColor: disabledOffInnerCircleColor,
                    },
                },
            };
    }
};
exports.default = switchColorStyle;
