Skip to content

Commit fd2e523

Browse files
committed
style: change logger.important styling
1 parent 1c393a4 commit fd2e523

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/logger.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ function log(...args: any[]) {
2424
*/
2525
function important(...args: any[]) {
2626
args = args.map((arg) =>
27-
typeof arg === 'string' ? chalk.hex(orange)(arg) : arg,
27+
typeof arg === 'string'
28+
? chalk.bold(chalk.bgMagenta(chalk.black(arg)))
29+
: arg,
2830
);
2931
console.log(...args);
3032
}

0 commit comments

Comments
 (0)