mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
reuse central tui styles (#153)
This commit is contained in:
parent
245e2a7f21
commit
2767280d2c
@ -98,7 +98,7 @@ func newInviteTui() inviteTui {
|
|||||||
inputs: make([]textinput.Model, 2),
|
inputs: make([]textinput.Model, 2),
|
||||||
}
|
}
|
||||||
m.focusedStyle = tui.WarningStyle
|
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.errorStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#F00"))
|
||||||
m.cursorStyle = m.focusedStyle.Copy()
|
m.cursorStyle = m.focusedStyle.Copy()
|
||||||
m.noStyle = lipgloss.NewStyle()
|
m.noStyle = lipgloss.NewStyle()
|
||||||
|
Loading…
Reference in New Issue
Block a user