-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.go
More file actions
186 lines (148 loc) · 4.52 KB
/
Copy pathstyles.go
File metadata and controls
186 lines (148 loc) · 4.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package main
import "github.com/charmbracelet/lipgloss"
var (
// Farben
colorTitle = lipgloss.Color("#1e3a5f")
colorTitleFg = lipgloss.Color("#e8f4fd")
colorAccent = lipgloss.Color("#4fc3f7")
colorGreen = lipgloss.Color("#81c784")
colorYellow = lipgloss.Color("#fff176")
colorRed = lipgloss.Color("#ef5350")
colorDim = lipgloss.Color("#546e7a")
colorDivider = lipgloss.Color("#37474f")
colorACBg = lipgloss.Color("#1a2332")
colorACHlBg = lipgloss.Color("#1e3a5f")
colorACHlFg = lipgloss.Color("#4fc3f7")
colorUserBg = lipgloss.Color("#1b3a1b")
colorUserFg = lipgloss.Color("#81c784")
colorAgentBg = lipgloss.Color("#0d2137")
colorAgentFg = lipgloss.Color("#4fc3f7")
// Titelzeile
titleBarStyle = lipgloss.NewStyle().
Background(colorTitle).
Foreground(colorTitleFg).
Bold(true).
Padding(0, 1)
titleVersionStyle = lipgloss.NewStyle().
Background(colorTitle).
Foreground(colorAccent).
Bold(false)
// Trennlinie
dividerStyle = lipgloss.NewStyle().
Foreground(colorDivider)
// Benutzer-Label
userLabelStyle = lipgloss.NewStyle().
Background(colorUserBg).
Foreground(colorUserFg).
Bold(true).
Padding(0, 1)
// Assistent-Label
assistantLabelStyle = lipgloss.NewStyle().
Background(colorAgentBg).
Foreground(colorAgentFg).
Bold(true).
Padding(0, 1)
// Systemnachricht (Befehlsausgabe, Info)
systemMsgStyle = lipgloss.NewStyle().
Foreground(colorYellow)
// Fehlermeldung
errorMsgStyle = lipgloss.NewStyle().
Foreground(colorRed)
// Dimmer Hilfetext
dimStyle = lipgloss.NewStyle().
Foreground(colorDim).
Italic(true)
// Eingabe-Prompt
promptStyle = lipgloss.NewStyle().
Foreground(colorAccent).
Bold(true)
inputTextStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#eceff1"))
inputCursorStyle = lipgloss.NewStyle().Reverse(true)
placeholderStyle = lipgloss.NewStyle().
Foreground(colorDim)
// Autocomplete
acItemStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#90a4ae")).
Padding(0, 1)
acItemSelectedStyle = lipgloss.NewStyle().
Background(colorACHlBg).
Foreground(colorACHlFg).
Bold(true).
Padding(0, 1)
acDescStyle = lipgloss.NewStyle().
Foreground(colorDim)
// Bestätigungsdialog
confirmCmdStyle = lipgloss.NewStyle().
Foreground(colorYellow).
Bold(true)
confirmExplStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#90a4ae"))
// Hinweiszeile
hintStyle = lipgloss.NewStyle().
Foreground(colorDim)
hintKeyStyle = lipgloss.NewStyle().
Foreground(colorAccent).
Bold(true)
// Ladeindikator
loadingStyle = lipgloss.NewStyle().
Foreground(colorAccent)
// Titelzeile: Modus-Badges
autoModeBadgeStyle = lipgloss.NewStyle().
Background(lipgloss.Color("#2e7d32")).
Foreground(lipgloss.Color("#e8f5e9")).
Bold(true).
Padding(0, 1)
askModeBadgeStyle = lipgloss.NewStyle().
Background(lipgloss.Color("#bf360c")).
Foreground(lipgloss.Color("#fbe9e7")).
Bold(true).
Padding(0, 1)
sessionBadgeOnStyle = lipgloss.NewStyle().
Background(lipgloss.Color("#1565c0")).
Foreground(lipgloss.Color("#e3f2fd")).
Bold(true).
Padding(0, 1)
sessionBadgeOffStyle = lipgloss.NewStyle().
Background(lipgloss.Color("#37474f")).
Foreground(lipgloss.Color("#b0bec5")).
Bold(true).
Padding(0, 1)
// Bevorzugtes Profil (★ in Profilliste)
preferredStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#ffd54f")).
Bold(true)
dimTitleStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#78909c"))
// Konfigurationseditor
configTitleStyle = lipgloss.NewStyle().
Foreground(colorAccent).
Bold(true)
configLabelStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#78909c"))
configLabelSelectedStyle = lipgloss.NewStyle().
Foreground(colorAccent).
Bold(true)
configValueStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#cfd8dc"))
configValueSelectedStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#eceff1")).
Bold(true)
configEditingStyle = lipgloss.NewStyle().
Foreground(colorDim).
Italic(true)
configAutoStyle = lipgloss.NewStyle().
Foreground(lipgloss.Color("#a5d6a7")).
Bold(true)
configAskStyle = lipgloss.NewStyle().
Foreground(colorYellow).
Bold(true)
// Abschnittsüberschriften im Config-Editor
sectionStyle = lipgloss.NewStyle().
Foreground(colorDim).
Bold(true)
)
// noStyleDef gibt einen leeren Lipgloss-Style zurück (für Textarea-Rahmen entfernen)
func noStyleDef() lipgloss.Style {
return lipgloss.NewStyle()
}