We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c78cb87 + 94a49e9 commit 4005691Copy full SHA for 4005691
components/ConfirmationModal.go
@@ -1,6 +1,7 @@
1
package components
2
3
import (
4
+ "github.com/gdamore/tcell/v2"
5
"github.com/rivo/tview"
6
7
"github.com/jorgerojas26/lazysql/app"
@@ -19,6 +20,10 @@ func NewConfirmationModal(confirmationText string) *ConfirmationModal {
19
20
}
21
modal.AddButtons([]string{"Yes", "No"})
22
modal.SetBackgroundColor(app.Styles.PrimitiveBackgroundColor)
23
+ modal.SetButtonActivatedStyle(tcell.StyleDefault.
24
+ Background(app.Styles.InverseTextColor).
25
+ Foreground(app.Styles.ContrastSecondaryTextColor),
26
+ )
27
modal.SetTextColor(app.Styles.PrimaryTextColor)
28
29
return &ConfirmationModal{
0 commit comments