bubbles
bubbles copied to clipboard
fix(table): Selected row styling not applying to cells.
Selected row styling not applying to individual cells.
- Fixes #729
- Now applies selected row styling to the individual cells.
- Individual cells now inherit necessary selected row styles.
s := table.DefaultStyles()
s.Header = s.Header.
BorderStyle(lipgloss.NormalBorder()).
BorderForeground(lipgloss.Color("240")).
BorderBottom(true).
Bold(false)
s.Selected = s.Selected.
Foreground(lipgloss.Color("229")).
Background(lipgloss.Color("57")).
Bold(true).
Italic(true).
Underline(true)
s.Cell = s.Cell.
Foreground(lipgloss.Color("57"))
t.SetStyles(s)
Before:
After:
You can experiment further...