xonecas.io
6119
My

mysis / files

mysis / internal / styles / styles.go

2.0 KB
1// Package styles provides UI styling based on Zoea Nova brand colors.
2package styles
3
4import (
5	"github.com/charmbracelet/lipgloss"
6)
7
8// Colors - Retro-futuristic aesthetic based on Zoea Nova brand
9// Brand colors from logo: #9D00FF (electric purple), #00FFCC (bright teal)
10var (
11	// Brand colors
12	ColorBrand    = lipgloss.Color("#9D00FF") // Electric purple (from logo)
13	ColorTeal     = lipgloss.Color("#00FFCC") // Bright teal (from logo)
14	ColorBrandDim = lipgloss.Color("#6B00B3") // Dimmed purple for subtle accents
15	ColorTealDim  = lipgloss.Color("#00AA99") // Dimmed teal
16
17	// Semantic colors
18	ColorError   = lipgloss.Color("#FF3366") // Error red-pink
19	ColorSuccess = lipgloss.Color("#00FF66") // Success green
20	ColorMuted   = lipgloss.Color("#5555AA") // Muted purple-gray
21
22	// Backgrounds - deep space with purple undertones
23	ColorBg      = lipgloss.Color("#08080F") // Deep space black
24	ColorBgAlt   = lipgloss.Color("#101018") // Slightly lighter
25	ColorBgPanel = lipgloss.Color("#14141F") // Panel background
26	ColorBorder  = lipgloss.Color("#2A2A55") // Purple-tinted border
27
28	// Role colors
29	ColorUser      = ColorTeal
30	ColorAssistant = ColorTealDim
31	ColorSystem    = ColorBorder
32	ColorTool      = ColorBrandDim
33)
34
35// Base styles
36var (
37	BaseStyle = lipgloss.NewStyle().
38			Background(ColorBg)
39
40	TitleStyle = lipgloss.NewStyle().
41			Bold(true).
42			Foreground(ColorBrand)
43
44	ErrorStyle = lipgloss.NewStyle().
45			Foreground(ColorError).
46			Bold(true)
47
48	SuccessStyle = lipgloss.NewStyle().
49			Foreground(ColorSuccess).
50			Bold(true)
51
52	// Brand styles for primary UI elements
53	Brand = lipgloss.NewStyle().
54		Foreground(ColorBrand)
55
56	BrandBold = lipgloss.NewStyle().
57			Foreground(ColorBrand).
58			Bold(true)
59
60	// Secondary color (teal)
61	Secondary = lipgloss.NewStyle().
62			Foreground(ColorTeal)
63
64	// Muted text
65	Muted = lipgloss.NewStyle().
66		Foreground(ColorMuted)
67
68	// Semantic styles
69	Error = lipgloss.NewStyle().
70		Foreground(ColorError)
71
72	Success = lipgloss.NewStyle().
73		Foreground(ColorSuccess)
74)