hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/internal/cli/styles.go
blob: c0a61e5ab9ac88c6ee139a8f7a93e34253aab525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package cli

import "github.com/charmbracelet/lipgloss"

var (
	colPrimary = lipgloss.Color("#F97316")
	colAccent  = lipgloss.Color("#A855F7")
	colSuccess = lipgloss.Color("#22C55E")
	colError   = lipgloss.Color("#EF4444")
	colWarn    = lipgloss.Color("#EAB308")
	colMuted   = lipgloss.Color("#6B7280")
	colInk     = lipgloss.Color("#111827")

	bannerStyle = lipgloss.NewStyle().
			Border(lipgloss.RoundedBorder()).
			BorderForeground(colPrimary).
			Padding(0, 3)

	titleStyle    = lipgloss.NewStyle().Bold(true).Foreground(colPrimary)
	subtitleStyle = lipgloss.NewStyle().Foreground(colMuted)

	promptStyle = lipgloss.NewStyle().Bold(true).Foreground(colAccent)

	chipStyle = lipgloss.NewStyle().
			Foreground(colMuted).
			Padding(0, 1)

	chipActiveStyle = lipgloss.NewStyle().
			Foreground(colInk).
			Background(colPrimary).
			Bold(true).
			Padding(0, 1)

	headingStyle = lipgloss.NewStyle().Bold(true).Foreground(colAccent)
	bulletStyle  = lipgloss.NewStyle().Foreground(colPrimary)
	mutedStyle   = lipgloss.NewStyle().Foreground(colMuted)
	successStyle = lipgloss.NewStyle().Foreground(colSuccess)
	errorStyle   = lipgloss.NewStyle().Foreground(colError)
	warnStyle    = lipgloss.NewStyle().Foreground(colWarn)
)