"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getColorFromStatus = exports.EStatusColor = exports.colors = void 0;
exports.colors = {
    WHITE: "#FFFFFF",
    STATUS_GREEN: "#00C3A9",
    STATUS_RED: "#D32F2F",
    STATUS_BLUE: "#0078FF",
};
var EStatusColor;
(function (EStatusColor) {
    EStatusColor["IDLE"] = "IDLE";
    EStatusColor["SUCCESS"] = "SUCCESS";
    EStatusColor["DANGER"] = "DANGER";
    EStatusColor["PRIMARY"] = "PRIMARY";
})(EStatusColor = exports.EStatusColor || (exports.EStatusColor = {}));
const getColorFromStatus = (status) => {
    switch (status) {
        case EStatusColor.DANGER:
            return exports.colors.STATUS_RED;
        case EStatusColor.PRIMARY:
            return exports.colors.STATUS_BLUE;
        case EStatusColor.SUCCESS:
            return exports.colors.STATUS_GREEN;
        default:
            return exports.colors.WHITE;
    }
};
exports.getColorFromStatus = getColorFromStatus;
//# sourceMappingURL=theme.js.map