don't just use some generic 'red' (#56)

This commit is contained in:
Michael Quigley 2023-01-12 13:10:20 -05:00
parent 6035207f2e
commit 6a4f2b86be
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62

View File

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