-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.go
32 lines (26 loc) · 835 Bytes
/
styles.go
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
package common
import (
"github.com/charmbracelet/bubbles/list"
lg "github.com/charmbracelet/lipgloss"
)
const (
Accent = "#DDB6F2"
AccentDark = "#A689B5"
AccentLight = "#E5C8F5"
Secondary = "#F28FAD"
Text = "#F8F8F0"
Danger = "#FA827B"
)
var (
Styles = list.NewDefaultItemStyles()
Delegate = list.NewDefaultDelegate()
DimmedAccentColor = lg.AdaptiveColor{Light: AccentLight, Dark: AccentDark}
AccentColor = lg.Color(Accent)
SecondaryColor = lg.Color(Secondary)
TextColor = lg.Color(Text)
DangerColor = lg.Color(Danger)
AppStyle = lg.NewStyle().Margin(1, 2)
DangerForeground = lg.NewStyle().Foreground(DangerColor)
DangerForegroundBold = lg.NewStyle().Bold(true).Foreground(DangerColor)
AccentForegroundBold = lg.NewStyle().Bold(true).Foreground(AccentColor)
)