do not use bright green color for action spinner text

It has bad readability when using dark-on-light terminal color schemes.
This commit is contained in:
Dmitry Muhomor 2023-08-26 12:55:23 +03:00 committed by Daniel Micay
parent d7594443cd
commit 0b0b76ef70

View file

@ -8,8 +8,7 @@ export type ProgressCallback = (progress: string) => void
export function createActionSpinner(action: string) { export function createActionSpinner(action: string) {
return ora({ return ora({
prefixText: chalk.bold(chalk.greenBright(action)), prefixText: chalk.bold(action),
color: 'green',
}) })
} }