mirror of
https://github.com/anotherhadi/default-creds-tui.git
synced 2026-10-05 10:58:25 +02:00
@@ -0,0 +1,37 @@
|
||||
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)
|
||||
)
|
||||
Reference in New Issue
Block a user