frontend/.pnpm-store/v3/files/10/f4461deffb30a1ab6e22d9b7571d1160c660fd0464ea90a11cbee3030570790b426187c54a057e9d13fa5508dd985b0563d2057960a26b27bae1120f82cd6e

21 lines
435 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import chalk from 'chalk';
import isUnicodeSupported from 'is-unicode-supported';
const main = {
info: chalk.blue(''),
success: chalk.green('✔'),
warning: chalk.yellow('⚠'),
error: chalk.red('✖'),
};
const fallback = {
info: chalk.blue('i'),
success: chalk.green('√'),
warning: chalk.yellow('‼'),
error: chalk.red('×'),
};
const logSymbols = isUnicodeSupported() ? main : fallback;
export default logSymbols;