Skip to content

Commit fa4010f

Browse files
committed
Implement theme management and UI updates across various components, including the addition of a theme script, color adjustments, and CSS variable integration for improved styling consistency.
1 parent 462d8b5 commit fa4010f

37 files changed

Lines changed: 3260 additions & 2574 deletions

agent-feed/index.html

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Kaiden - Agent Feed</title>
7-
<link rel="stylesheet" href="../assets/css/styles.css">
7+
<script src="../assets/js/kaiden-theme.js"></script>
8+
<link rel="stylesheet" href="../assets/css/styles.css">
89
<script src="../assets/js/demo-scenario.js"></script>
910
<script src="../assets/js/demo-screen-data.js"></script>
1011
<script src="../assets/js/sidebar-loader.js"></script>
@@ -38,21 +39,21 @@
3839
display: flex;
3940
align-items: center;
4041
justify-content: center;
41-
background: rgba(139, 92, 246, 0.12);
42-
border: 1px solid rgba(139, 92, 246, 0.2);
42+
background: rgba(79, 195, 247, 0.12);
43+
border: 1px solid rgba(79, 195, 247, 0.2);
4344
border-radius: 10px;
4445
}
4546

4647
.agent-feed-page-icon svg {
4748
width: 20px;
4849
height: 20px;
49-
color: #c4b5fd;
50+
color: #a8e6fc;
5051
}
5152

5253
.agent-feed-page-title {
5354
font-size: 22px;
5455
font-weight: 700;
55-
color: #e5e7eb;
56+
color: #e8eef7;
5657
letter-spacing: -0.02em;
5758
}
5859

@@ -66,7 +67,7 @@
6667
border-radius: 20px;
6768
font-size: 12px;
6869
font-weight: 500;
69-
color: #9ca3af;
70+
color: #7090b8;
7071
}
7172

7273
.agent-feed-page-badge .page-badge-dot {
@@ -151,7 +152,7 @@
151152
.af-panel-title {
152153
font-size: 14px;
153154
font-weight: 600;
154-
color: #e5e7eb;
155+
color: #e8eef7;
155156
}
156157

157158
.af-panel-count {
@@ -191,7 +192,7 @@
191192
}
192193

193194
.af-panel-stream::-webkit-scrollbar-thumb {
194-
background: rgba(139, 92, 246, 0.15);
195+
background: rgba(79, 195, 247, 0.15);
195196
border-radius: 3px;
196197
}
197198

@@ -212,7 +213,7 @@
212213
background: rgba(255, 255, 255, 0.03);
213214
border: 1px solid rgba(255, 255, 255, 0.08);
214215
border-radius: 9px;
215-
color: #9ca3af;
216+
color: #7090b8;
216217
font-size: 12px;
217218
font-weight: 500;
218219
cursor: pointer;

assets/css/demo-bar.css

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
5252
right: 0;
5353
height: 48px;
5454
z-index: 2100;
55-
background: linear-gradient(180deg, #2a2b38 0%, #1e1f2b 100%);
56-
border-bottom: 1px solid #3d3e4f;
55+
background: linear-gradient(180deg, var(--kd-bg-card) 0%, var(--kd-bg) 100%);
56+
border-bottom: 1px solid var(--kd-border);
5757
display: flex;
5858
align-items: center;
5959
padding: 0 12px 0 16px;
6060
font-size: 12px;
61-
color: #e5e7eb;
62-
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
61+
color: var(--kd-text-primary);
62+
box-shadow: none;
6363
}
6464

6565
.kaiden-demo-bar--idle .kaiden-demo-bar__progress-fill {
@@ -80,7 +80,7 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
8080
font-weight: 700;
8181
text-transform: uppercase;
8282
letter-spacing: 0.08em;
83-
color: #a78bfa;
83+
color: var(--kd-accent-bright);
8484
}
8585

8686
.kaiden-demo-bar__progress {
@@ -94,15 +94,15 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
9494

9595
.kaiden-demo-bar__progress-track {
9696
height: 4px;
97-
background: #3d3e4f;
97+
background: var(--kd-border);
9898
border-radius: 2px;
9999
overflow: hidden;
100100
}
101101

102102
.kaiden-demo-bar__progress-fill {
103103
height: 100%;
104104
border-radius: 2px;
105-
background: linear-gradient(90deg, #7c3aed, #a78bfa);
105+
background: linear-gradient(90deg, var(--kd-accent-dim), var(--kd-accent-bright));
106106
transition: width 0.35s ease;
107107
}
108108

@@ -134,23 +134,23 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
134134
width: 8px;
135135
height: 8px;
136136
border-radius: 50%;
137-
background: #4b5563;
138-
border: 1px solid #6b7280;
137+
background: var(--kd-surface-muted);
138+
border: 1px solid var(--kd-text-muted);
139139
transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
140140
}
141141

142142
.kaiden-demo-bar__segment:hover:not(:disabled) .kaiden-demo-bar__segment-dot {
143-
background: #6b7280;
143+
background: var(--kd-text-muted);
144144
}
145145

146146
.kaiden-demo-bar__segment--pending .kaiden-demo-bar__segment-dot {
147-
background: #374151;
148-
border-color: #4b5563;
147+
background: var(--kd-surface-input);
148+
border-color: var(--kd-surface-muted);
149149
}
150150

151151
.kaiden-demo-bar__segment--pending:hover:not(:disabled) .kaiden-demo-bar__segment-dot {
152-
background: #4b5563;
153-
border-color: #6b7280;
152+
background: var(--kd-surface-muted);
153+
border-color: var(--kd-text-muted);
154154
}
155155

156156
.kaiden-demo-bar__segment--done .kaiden-demo-bar__segment-dot {
@@ -159,9 +159,9 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
159159
}
160160

161161
.kaiden-demo-bar__segment--current .kaiden-demo-bar__segment-dot {
162-
background: #a78bfa;
163-
border-color: #c4b5fd;
164-
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25);
162+
background: var(--kd-accent-bright);
163+
border-color: #a8e6fc;
164+
box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.25);
165165
transform: scale(1.15);
166166
}
167167

@@ -177,12 +177,12 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
177177
.kaiden-demo-bar__title {
178178
font-weight: 600;
179179
font-size: 13px;
180-
color: #f3f4f6;
180+
color: var(--kd-text-primary);
181181
}
182182

183183
.kaiden-demo-bar__subtitle {
184184
font-size: 11px;
185-
color: #9ca3af;
185+
color: var(--kd-text-muted);
186186
white-space: nowrap;
187187
overflow: hidden;
188188
text-overflow: ellipsis;
@@ -203,16 +203,16 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
203203
height: 34px;
204204
padding: 0;
205205
border-radius: 8px;
206-
border: 1px solid #3d3e4f;
206+
border: 1px solid var(--kd-border);
207207
background: rgba(255, 255, 255, 0.04);
208-
color: #d1d5db;
208+
color: var(--kd-text-secondary);
209209
cursor: pointer;
210210
transition: background 0.15s, border-color 0.15s, color 0.15s;
211211
}
212212

213213
.kaiden-demo-bar__btn:hover:not(:disabled) {
214-
background: rgba(139, 92, 246, 0.12);
215-
border-color: #6d28d9;
214+
background: rgba(79, 195, 247, 0.12);
215+
border-color: var(--kd-accent-dim);
216216
color: #fff;
217217
}
218218

@@ -222,9 +222,9 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
222222
}
223223

224224
.kaiden-demo-bar__play.kaiden-demo-bar__play--active {
225-
background: rgba(139, 92, 246, 0.2);
226-
border-color: #8b5cf6;
227-
color: #e9d5ff;
225+
background: rgba(79, 195, 247, 0.2);
226+
border-color: var(--kd-accent);
227+
color: #d4f1fc;
228228
}
229229

230230
.kaiden-demo-bar__btn--restart {
@@ -248,7 +248,7 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
248248
padding: 0 12px;
249249
font-size: 11px;
250250
font-weight: 600;
251-
color: #9ca3af;
251+
color: var(--kd-text-muted);
252252
}
253253

254254
.kaiden-demo-bar__btn--exit:hover:not(:disabled) {
@@ -262,14 +262,14 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
262262
padding: 0 14px;
263263
font-size: 11px;
264264
font-weight: 600;
265-
color: #f5f3ff;
266-
border-color: #7c3aed;
267-
background: rgba(139, 92, 246, 0.22);
265+
color: #eaf8fd;
266+
border-color: var(--kd-accent-dim);
267+
background: rgba(79, 195, 247, 0.22);
268268
}
269269

270270
.kaiden-demo-bar__btn--start:hover:not(:disabled) {
271-
background: rgba(139, 92, 246, 0.35);
272-
border-color: #a78bfa;
271+
background: rgba(79, 195, 247, 0.35);
272+
border-color: var(--kd-accent-bright);
273273
color: #fff;
274274
}
275275

@@ -288,8 +288,8 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
288288
margin: 16px 24px 0;
289289
padding: 14px 18px;
290290
border-radius: 12px;
291-
border: 1px solid rgba(139, 92, 246, 0.35);
292-
background: rgba(139, 92, 246, 0.08);
291+
border: 1px solid rgba(79, 195, 247, 0.35);
292+
background: rgba(79, 195, 247, 0.08);
293293
}
294294

295295
.kaiden-empty-shell-notice__inner {
@@ -300,19 +300,19 @@ body.kaiden-demo-bar-open.cli-page .cli-page-layout {
300300
display: block;
301301
font-size: 14px;
302302
font-weight: 600;
303-
color: #e9d5ff;
303+
color: #d4f1fc;
304304
margin-bottom: 6px;
305305
}
306306

307307
.kaiden-empty-shell-notice__text {
308308
margin: 0;
309309
font-size: 13px;
310310
line-height: 1.55;
311-
color: #c4b5fd;
311+
color: #a8e6fc;
312312
}
313313

314314
.kaiden-empty-shell-notice__text strong {
315-
color: #f5f3ff;
315+
color: #eaf8fd;
316316
}
317317

318318
/* Page layouts use 100vh; subtract demo bar (48px) so content fits */

0 commit comments

Comments
 (0)