"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_1 = require("../../core");
const mainButtonColorStyle = (colorType) => {
    let textColor;
    let disabledTextColor;
    let defaultContainerColor;
    let hoverContainerColor;
    let focusedContainerColor;
    let disabledContainerColor;
    switch (colorType) {
        case 'gray':
        default:
            textColor = core_1.basicColors.white;
            disabledTextColor = core_1.basicColors.white;
            break;
    }
    switch (colorType) {
        case 'gray':
            defaultContainerColor = core_1.basicColors.gray900;
            hoverContainerColor = core_1.basicColors.gray700;
            focusedContainerColor = core_1.basicColors.gray800;
            disabledContainerColor = core_1.basicColors.gray100;
            break;
        default:
            defaultContainerColor = core_1.basicColors[`${colorType}400`];
            hoverContainerColor = core_1.basicColors[`${colorType}500`];
            focusedContainerColor = core_1.basicColors[`${colorType}600`];
            disabledContainerColor = core_1.basicColors[`${colorType}100`];
            break;
    }
    return {
        textColor,
        disabledTextColor,
        defaultContainerColor,
        hoverContainerColor,
        focusedContainerColor,
        disabledContainerColor,
    };
};
const subButtonColorStyle = (colorType) => {
    let textColor;
    let disabledTextColor;
    let defaultContainerColor;
    let hoverContainerColor;
    let focusedContainerColor;
    let disabledContainerColor;
    switch (colorType) {
        case 'gray':
            textColor = core_1.basicColors.gray700;
            break;
        default:
            textColor = core_1.basicColors[`${colorType}400`];
            break;
    }
    switch (colorType) {
        default:
            disabledTextColor = core_1.semanticColorsMethod.buttonSubDisabledText(colorType);
    }
    switch (colorType) {
        case 'gray':
        default:
            defaultContainerColor = core_1.basicColors[`${colorType}50`];
            hoverContainerColor = core_1.basicColors[`${colorType}100`];
            focusedContainerColor = core_1.basicColors[`${colorType}200`];
            disabledContainerColor = core_1.basicColors[`${colorType}50`];
    }
    return {
        textColor,
        disabledTextColor,
        defaultContainerColor,
        hoverContainerColor,
        focusedContainerColor,
        disabledContainerColor,
    };
};
const singleButtonColorStyle = ({ colorType, purpose }) => {
    switch (purpose) {
        case 'main':
            return mainButtonColorStyle(colorType);
        case 'sub':
            return subButtonColorStyle(colorType);
    }
};
exports.default = singleButtonColorStyle;
