"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrap = exports.codes = void 0;
exports.codes = {
    white: '\u000300',
    black: '\u000301',
    dark_blue: '\u000302',
    dark_green: '\u000303',
    light_red: '\u000304',
    dark_red: '\u000305',
    magenta: '\u000306',
    orange: '\u000307',
    yellow: '\u000308',
    light_green: '\u000309',
    cyan: '\u000310',
    light_cyan: '\u000311',
    light_blue: '\u000312',
    light_magenta: '\u000313',
    gray: '\u000314',
    light_gray: '\u000315',
    bold: '\u0002',
    underline: '\u001f',
    reset: '\u000f'
};
function wrap(color, text, resetColor) {
    if (exports.codes[color]) {
        text = exports.codes[color] + text;
        text += (exports.codes[resetColor]) ? exports.codes[resetColor] : exports.codes.reset;
    }
    return text;
}
exports.wrap = wrap;
//# sourceMappingURL=colors.js.map