Files
Hadi 624a723b16 init
Signed-off-by: Hadi <[email protected]>
2026-08-27 00:05:08 +02:00

38 lines
1.1 KiB
Go

package ui
import (
"charm.land/lipgloss/v2"
"github.com/anotherhadi/ilovetui/style"
)
const searchIcon = ""
var (
headerStyle = lipgloss.NewStyle().
Bold(true).
Foreground(style.S.Primary).
PaddingLeft(1)
mutedStyle = lipgloss.NewStyle().Foreground(style.S.Muted)
subtleStyle = lipgloss.NewStyle().Foreground(style.S.Subtle)
manufacturerStyle = lipgloss.NewStyle().Foreground(style.S.Subtle).Bold(true)
versionStyle = lipgloss.NewStyle().Foreground(style.S.Subtle)
nameStyle = lipgloss.NewStyle().Foreground(style.S.Text).Bold(true)
nameSelectedStyle = lipgloss.NewStyle().Foreground(style.S.Primary).Bold(true)
commentStyle = lipgloss.NewStyle().Foreground(style.S.Muted).Italic(true)
chipStyle = lipgloss.NewStyle().
Foreground(style.S.Success).
Background(style.S.SubtleBg).
Padding(0, 1)
selectedBorderStyle = lipgloss.NewStyle().
Border(lipgloss.NormalBorder(), false, false, false, true).
BorderForeground(style.S.Primary).
PaddingLeft(1)
unselectedIndentStyle = lipgloss.NewStyle().PaddingLeft(2)
panelTitleStyle = lipgloss.NewStyle().Bold(true).Foreground(style.S.Primary)
)