feat: main flow created
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
package tui
|
||||
|
||||
import "charm.land/lipgloss/v2"
|
||||
|
||||
const padding = 2
|
||||
|
||||
const (
|
||||
primary = "#005F87" // Deep Sea Blue
|
||||
secondary = "#00D7FF" // Cyan/Data highlight
|
||||
success = "#06D6A0" // Emerald Green
|
||||
warning = "#FFD166" // Soft Gold
|
||||
danger = "#EF476F" // Muted Crimson
|
||||
neutral = "#8E9AAF" // Slate Gray
|
||||
darkGray = "#353B48"
|
||||
)
|
||||
|
||||
var (
|
||||
// Core Text Styles
|
||||
TitleStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color(primary)).
|
||||
Bold(true).
|
||||
MarginBottom(1)
|
||||
|
||||
CursorStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color(secondary))
|
||||
|
||||
HelpStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color("#626262"))
|
||||
|
||||
// Status Styles
|
||||
ErrorStyle = lipgloss.NewStyle().Foreground(lipgloss.Color(danger))
|
||||
InfoStyle = lipgloss.NewStyle().Foreground(lipgloss.Color(primary))
|
||||
WarnStyle = lipgloss.NewStyle().Foreground(lipgloss.Color(warning))
|
||||
|
||||
// Form & Selection
|
||||
SelectedStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color(secondary)).
|
||||
Bold(true).
|
||||
PaddingLeft(1)
|
||||
|
||||
DimStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color("#4A4A4A"))
|
||||
|
||||
// Data Components (Progress / Charts)
|
||||
ProgressFillStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color(primary))
|
||||
|
||||
ProgressEmptyStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color(darkGray))
|
||||
|
||||
// Table Styles
|
||||
HeaderStyle = lipgloss.NewStyle().
|
||||
Foreground(lipgloss.Color(secondary)).
|
||||
Bold(true).
|
||||
Border(lipgloss.NormalBorder(), false, false, true)
|
||||
)
|
||||
Reference in New Issue
Block a user