Skip to content

Commit

Permalink
cmd/write: dracula shows better on light terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
joshi4 committed Jun 13, 2024
1 parent 379202d commit 46547ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/write.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var writeCmd = &cobra.Command{
if fileExists(filepath.Join(dirPath, filename)) {
var confirmation bool
confirmOverwrite := huh.NewConfirm().Title("File already exists").Description("Overwrite existing file?").Value(&confirmation)
if err := huh.NewForm(huh.NewGroup(confirmOverwrite)).Run(); err != nil {
if err := huh.NewForm(huh.NewGroup(confirmOverwrite)).WithTheme(huh.ThemeDracula()).Run(); err != nil {
display.FatalErrWithSupportCTA(err)
return
}
Expand Down

0 comments on commit 46547ce

Please sign in to comment.