Skip to content

Commit

Permalink
optimize the color
Browse files Browse the repository at this point in the history
  • Loading branch information
hwbrzzl committed Aug 8, 2024
1 parent 84bfaa1 commit 83a657c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
*.so
*.dylib
.vs.code
.idea

# Test binary, built with `go test -c`
*.test
Expand Down
2 changes: 1 addition & 1 deletion console/commands/new_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit 83a657c

Please sign in to comment.