Skip to content

Commit 266c68f

Browse files
author
uid10804
committed
Revert "fix(cli): update colors to fit to white and black terminal"
This reverts commit e09355a.
1 parent e09355a commit 266c68f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/cli/src/commands/create-stack.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class CreateStackCommand extends Command {
5858
await Helpers.generateLogo('json-serverless');
5959
this.log();
6060
const { args, flags } = this.parse(CreateStackCommand);
61-
cli.action.start(`${chalk.blueBright('Check AWS Identity')}`, `${chalk.blueBright('initializing')}`, { stdout: true });
61+
cli.action.start(`${chalk.whiteBright('Check AWS Identity')}`, `${chalk.whiteBright('initializing')}`, { stdout: true });
6262
try {
6363
const identity = await AWSActions.checkValidAWSIdentity();
6464
this.log(`${chalk.green('AWS Account: ' + identity.Account)}`);
@@ -70,16 +70,16 @@ export class CreateStackCommand extends Command {
7070
this.log();
7171

7272

73-
const stackName = await cli.prompt(`${chalk.magenta('What is the name of the api ?')}`);
73+
const stackName = await cli.prompt(`${chalk.yellow('What is the name of the api ?')}`);
7474
this.log();
7575
const region = await this.getRegion();
7676
let filePath = path.normalize(args.file);
7777
const templateFolder = path.normalize(this.config.root + '/template');
7878
const stackFolder = path.normalize(process.cwd() + '/' + stackName);
7979
this.log();
80-
this.log('New stack template folder will be created under path: ' + `${chalk.blueBright.bold.underline(stackFolder)}`);
80+
this.log('New stack will be created under folder: ' + `${chalk.whiteBright.bold.underline(stackFolder)}`);
8181
this.log();
82-
await cli.confirm(`${chalk.magenta('Continue ? y/n')}`);
82+
await cli.confirm(`${chalk.yellow('Continue ? y/n')}`);
8383
this.log();
8484
const tasks = new Listr([
8585
{

packages/cli/src/commands/update-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class UpdateStackCommand extends Command {
4040
await Helpers.generateLogo("json-serverless");
4141
this.log();
4242
const { args, flags } = this.parse(UpdateStackCommand);
43-
cli.action.start(`${chalk.blueBright('Check AWS Identity')}`, `${chalk.blueBright('initializing')}`, { stdout: true });
43+
cli.action.start(`${chalk.whiteBright('Check AWS Identity')}`, `${chalk.whiteBright('initializing')}`, { stdout: true });
4444
try {
4545
const identity = await AWSActions.checkValidAWSIdentity();
4646
this.log(`${chalk.green('AWS Account: ' + identity.Account)}`);

0 commit comments

Comments
 (0)