From 0b0b76ef7061fdc4640e142c5c7f4eb227e5bebf Mon Sep 17 00:00:00 2001 From: Dmitry Muhomor Date: Sat, 26 Aug 2023 12:55:23 +0300 Subject: [PATCH] do not use bright green color for action spinner text It has bad readability when using dark-on-light terminal color schemes. --- src/util/cli.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util/cli.ts b/src/util/cli.ts index a347c10..c8fd958 100644 --- a/src/util/cli.ts +++ b/src/util/cli.ts @@ -8,8 +8,7 @@ export type ProgressCallback = (progress: string) => void export function createActionSpinner(action: string) { return ora({ - prefixText: chalk.bold(chalk.greenBright(action)), - color: 'green', + prefixText: chalk.bold(action), }) }