Skip to content

Commit 7b2a9eb

Browse files
committed
suggest.goを新しいスピナー・パッケージで更新
1 parent 97ebd54 commit 7b2a9eb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cmd/suggest.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,20 @@ import (
99
"github.com/charmbracelet/bubbles/spinner"
1010
"github.com/charmbracelet/bubbles/textinput"
1111
tea "github.com/charmbracelet/bubbletea"
12+
"github.com/charmbracelet/lipgloss"
1213
"github.com/cocoide/commitify/internal/entity"
1314
"github.com/cocoide/commitify/internal/gateway"
1415
"github.com/cocoide/commitify/util"
1516
"github.com/fatih/color"
1617
"github.com/spf13/cobra"
1718
)
1819

20+
var (
21+
textStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("252")).Render
22+
spinnerStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("69"))
23+
helpStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("241")).Render
24+
)
25+
1926
type model struct {
2027
choices []string
2128
currentIdx int

0 commit comments

Comments
 (0)