Skip to content

Commit

Permalink
Use more of the tea-OG symbols with pterm
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS-ovm committed Sep 11, 2024
1 parent 482c9ad commit 6782289
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions cmd/pterm.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ import (

func PTermSetup() {
pterm.Success.Prefix.Text = "✔︎"
pterm.Error.Prefix.Text = "✗"

pterm.DefaultSpinner.Sequence = []string{"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"}
pterm.DefaultSpinner.Delay = 80 * time.Millisecond

// ensure that only error messages are printed to the console,
// disrupting bubbletea rendering (and potentially getting overwritten).
Expand Down
5 changes: 0 additions & 5 deletions cmd/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,6 @@ func MarkdownStyle() ansi.StyleConfig {
}
}

// var DotsSpinner = spinner.Spinner{
// Frames: []string{"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"},
// FPS: 80 * time.Millisecond,
// }

var titleStyle = lipgloss.NewStyle().Foreground(ColorPalette.BgMain).Bold(true)
var textStyle = lipgloss.NewStyle().Foreground(ColorPalette.LabelBase)
var addedLineStyle = lipgloss.NewStyle().Foreground(ColorPalette.LabelControl).Background(ColorPalette.BgSuccess)
Expand Down

0 comments on commit 6782289

Please sign in to comment.