@@ -17,10 +17,12 @@ import (
1717)
1818
1919var (
20- focusedStyle = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#EF15BF" ))
20+ focusedStyle = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#FFFFFF" )).Bold (true )
21+ focusedPromptStyle = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#EF15BF" )).Bold (true )
2122 blurredButtonStyle = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#15AEEF" ))
2223 cursorStyle = focusedStyle .Copy ()
2324 defaultStyle = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#FFFFFF" ))
25+ placeholderStyle = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#D5D2DC" ))
2426
2527 focusedButton = focusedStyle .Copy ().Render ("[ Submit ]" )
2628 blurredButton = fmt .Sprintf ("[ %s ]" , blurredButtonStyle .Render ("Submit" ))
@@ -106,7 +108,7 @@ func (m AddModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
106108 if i == m .focusIndex {
107109 // Set focused state
108110 cmds [i ] = m .inputs [i ].Focus ()
109- m .inputs [i ].PromptStyle = focusedStyle
111+ m .inputs [i ].PromptStyle = focusedPromptStyle
110112 m .inputs [i ].TextStyle = focusedStyle
111113 continue
112114 }
@@ -171,13 +173,14 @@ func createAddModel() AddModel {
171173 var input textinput.Model
172174 for i := range model .inputs {
173175 input = textinput .New ()
174- input .CursorStyle = cursorStyle
176+ input .Cursor .Style = cursorStyle
177+ input .PlaceholderStyle = placeholderStyle
175178
176179 switch i {
177180 case 0 :
178181 input .Placeholder = "Timer name"
179182 input .Focus ()
180- input .PromptStyle = focusedStyle
183+ input .PromptStyle = focusedPromptStyle
181184 input .TextStyle = focusedStyle
182185 input .CharLimit = 30
183186
0 commit comments