aboutsummaryrefslogtreecommitdiffstats
path: root/tui/style.go
blob: 7b21c78a781b3c23c30e9aad4321a9da956eb269 (plain) (blame)
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
41
42
43
package tui

import "github.com/charmbracelet/lipgloss"

var (
	// Colors
	maroon   = lipgloss.Color("#800000")
	lavender = lipgloss.Color("#E6E6FA")
	gray     = lipgloss.Color("#808080")
	darkGray = lipgloss.Color("#404040")

	// Styles
	TitleStyle = lipgloss.NewStyle().
			Bold(true).
			Foreground(lavender).
			Background(maroon).
			Padding(0, 1)

	ListStyle = lipgloss.NewStyle().
			Padding(1, 2)

	SelectedItemStyle = lipgloss.NewStyle().
				PaddingLeft(2).
				Foreground(lavender).
				Background(darkGray).
				Bold(true)

	ItemStyle = lipgloss.NewStyle().
			PaddingLeft(2)

	HeaderStyle = lipgloss.NewStyle().
			Bold(true).
			Foreground(maroon).
			MarginBottom(1)

	ContentStyle = lipgloss.NewStyle().
			Padding(1, 4)

	StatusStyle = lipgloss.NewStyle().
			Foreground(gray).
			Italic(true).
			MarginTop(1)
)