mirror of
https://github.com/anotherhadi/default-creds-tui.git
synced 2026-10-05 19:08:25 +02:00
38 lines
1.1 KiB
Go
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)
|
|
)
|