Using tcell.Colors instead of HardCoding Hex Values
This commit is contained in:
@@ -36,10 +36,10 @@ func NewApplication() *Application {
|
||||
imagePreviewer.SetBackgroundColor(tcell.ColorDefault)
|
||||
|
||||
searchBar.SetTitle("Search").SetTitleAlign(tview.AlignLeft)
|
||||
searchBar.SetAutocompleteBackgroundColor(tcell.GetColor("#15191a"))
|
||||
searchBar.SetAutocompleteSelectBackgroundColor(tcell.GetColor("#e5e5e5"))
|
||||
searchBar.SetAutocompleteMainTextColor(tcell.GetColor("#7f7f7f"))
|
||||
searchBar.SetAutocompleteSelectedTextColor(tcell.GetColor("#111111"))
|
||||
searchBar.SetAutocompleteBackgroundColor(tcell.ColorBlack)
|
||||
searchBar.SetAutocompleteSelectBackgroundColor(tcell.ColorWhite)
|
||||
searchBar.SetAutocompleteMainTextColor(tcell.ColorDarkGray)
|
||||
searchBar.SetAutocompleteSelectedTextColor(tcell.ColorBlack)
|
||||
Navbar.SetBorder(true)
|
||||
Navbar.SetSelectable(true, false)
|
||||
Navbar.SetCell(0, 0, tview.NewTableCell("PlayList"))
|
||||
|
||||
Reference in New Issue
Block a user