🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
20
node_modules/log-symbols/index.js
generated
vendored
Normal file
20
node_modules/log-symbols/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue