reuse central tui styles (#153)

This commit is contained in:
Michael Quigley 2023-01-11 14:29:14 -05:00
parent 245e2a7f21
commit 2767280d2c
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

@ -98,7 +98,7 @@ func newInviteTui() inviteTui {
inputs: make([]textinput.Model, 2),
}
m.focusedStyle = tui.WarningStyle
m.blurredStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#555"))
m.blurredStyle = tui.CodeStyle
m.errorStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#F00"))
m.cursorStyle = m.focusedStyle.Copy()
m.noStyle = lipgloss.NewStyle()