From 83a657ccf4ae1f8b9cdb84a97ad955d124174cdd Mon Sep 17 00:00:00 2001 From: Bowen Date: Thu, 8 Aug 2024 08:36:55 +0800 Subject: [PATCH] optimize the color --- .gitignore | 1 + console/commands/new_command.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5b04d2e..0483e1c 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ *.so *.dylib .vs.code +.idea # Test binary, built with `go test -c` *.test diff --git a/console/commands/new_command.go b/console/commands/new_command.go index e8f3f4b..a880b52 100644 --- a/console/commands/new_command.go +++ b/console/commands/new_command.go @@ -46,7 +46,7 @@ func (receiver *NewCommand) Extend() command.Extend { // Handle Execute the console command. func (receiver *NewCommand) Handle(ctx console.Context) (err error) { - fmt.Println(pterm.NewRGB(142, 211, 249).Sprint(support.WelcomeHeading)) // color hex code: #8ED3F9 + fmt.Println(pterm.NewRGB(52, 124, 153).Sprint(support.WelcomeHeading)) // color hex code: #8ED3F9 ctx.NewLine() name := ctx.Argument(0) if name == "" {