mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-21 23:54:17 +02:00
fix(ui): update stash input styles
This commit is contained in:
parent
cfc1b9ba87
commit
1f19341df4
1 changed files with 5 additions and 2 deletions
|
|
@ -380,8 +380,11 @@ func newStashModel(common *commonModel) stashModel {
|
|||
|
||||
si := textinput.New()
|
||||
si.Prompt = "Find:"
|
||||
si.PromptStyle = stashInputPromptStyle
|
||||
si.Cursor.Style = stashInputCursorStyle
|
||||
styles := si.Styles()
|
||||
styles.Focused.Prompt = stashInputPromptStyle
|
||||
styles.Blurred.Prompt = stashInputPromptStyle
|
||||
styles.Cursor.Color = fuchsia
|
||||
si.SetStyles(styles)
|
||||
si.Focus()
|
||||
|
||||
s := []section{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue