chore: cleanup
This commit is contained in:
parent
4bb350a09b
commit
8cbfc581b5
28 changed files with 187 additions and 237 deletions
|
|
@ -31,7 +31,7 @@ type container struct {
|
|||
borderBottom bool
|
||||
borderLeft bool
|
||||
borderStyle lipgloss.Border
|
||||
|
||||
|
||||
focused bool // Track focus state
|
||||
}
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ func (c *container) View() string {
|
|||
width--
|
||||
}
|
||||
style = style.Border(c.borderStyle, c.borderTop, c.borderRight, c.borderBottom, c.borderLeft)
|
||||
|
||||
|
||||
// Use primary color for border if focused
|
||||
if c.focused {
|
||||
style = style.BorderBackground(t.Background()).BorderForeground(t.Primary())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue