Skip to content

Commit 09aaf0f

Browse files
authored
chore: align auth page with CLI icon (#18)
1 parent 7609b47 commit 09aaf0f

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

src/lib/auth-pages.ts

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ export function renderSuccess(): string {
171171
--text: #1d1d1f;
172172
--text-secondary: #6e6e73;
173173
--text-muted: #aeaeb2;
174-
--comms-teal: #0dbed9;
175-
--comms-teal-soft: rgba(13, 190, 217, 0.06);
174+
--comms-ink: #344168;
175+
--comms-lavender: #a5b1ff;
176+
--comms-lavender-soft: rgba(165, 177, 255, 0.16);
176177
--green: #058527;
177178
--terminal-bg: #1a1b26;
178179
--terminal-text: #c0caf5;
@@ -203,7 +204,7 @@ export function renderSuccess(): string {
203204
transform: translateX(-50%);
204205
width: 800px;
205206
height: 500px;
206-
background: radial-gradient(ellipse, rgba(13, 190, 217, 0.07) 0%, transparent 70%);
207+
background: radial-gradient(ellipse, rgba(165, 177, 255, 0.14) 0%, transparent 70%);
207208
pointer-events: none;
208209
}
209210
.container {
@@ -226,10 +227,12 @@ export function renderSuccess(): string {
226227
height: 72px;
227228
margin: 0 auto 20px;
228229
position: relative;
230+
isolation: isolate;
229231
}
230232
.logo-wrap svg {
231233
width: 100%;
232234
height: 100%;
235+
display: block;
233236
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
234237
}
235238
.badge {
@@ -298,7 +301,7 @@ export function renderSuccess(): string {
298301
color: var(--terminal-text);
299302
}
300303
.line:last-child { margin-bottom: 0; }
301-
.ps { color: var(--comms-teal); user-select: none; font-weight: 500; }
304+
.ps { color: var(--comms-lavender); user-select: none; font-weight: 500; }
302305
.arg { color: var(--terminal-green); }
303306
.out {
304307
color: var(--terminal-muted);
@@ -313,7 +316,7 @@ export function renderSuccess(): string {
313316
display: inline-block;
314317
width: 8px;
315318
height: 16px;
316-
background: var(--comms-teal);
319+
background: var(--comms-lavender);
317320
border-radius: 1px;
318321
animation: blink 1.2s step-end infinite;
319322
}
@@ -335,22 +338,22 @@ export function renderSuccess(): string {
335338
flex-shrink: 0;
336339
width: 34px;
337340
height: 34px;
338-
background: var(--comms-teal-soft);
341+
background: var(--comms-lavender-soft);
339342
border-radius: 8px;
340343
display: flex;
341344
align-items: center;
342345
justify-content: center;
343346
}
344-
.info-icon svg { width: 16px; height: 16px; color: var(--comms-teal); }
347+
.info-icon svg { width: 16px; height: 16px; color: var(--comms-ink); }
345348
.info-text h4 { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
346349
.info-text p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
347350
.info-text code {
348351
font-family: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
349352
font-size: 12px;
350-
background: var(--comms-teal-soft);
353+
background: var(--comms-lavender-soft);
351354
padding: 2px 6px;
352355
border-radius: 4px;
353-
color: var(--comms-teal);
356+
color: var(--comms-ink);
354357
}
355358
footer {
356359
margin-top: 20px;
@@ -376,7 +379,7 @@ export function renderSuccess(): string {
376379
font-size: 12px;
377380
transition: color 0.2s;
378381
}
379-
.gh a:hover { color: var(--comms-teal); }
382+
.gh a:hover { color: var(--comms-ink); }
380383
.gh svg { width: 14px; height: 14px; }
381384
@media (max-width: 480px) {
382385
.container { padding: 32px 16px; }
@@ -508,10 +511,12 @@ export function renderError(errorMessage: string): string {
508511
height: 72px;
509512
margin: 0 auto 20px;
510513
position: relative;
514+
isolation: isolate;
511515
}
512516
.logo svg {
513517
width: 100%;
514518
height: 100%;
519+
display: block;
515520
filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
516521
}
517522
.badge {

0 commit comments

Comments
 (0)