fix(web-shell): Polish new-session welcome header visuals (#10230)

* fix(web-shell): Polish new-session welcome header visuals

* fix(web-shell): Align welcome title gradient with Qwen brand purple
This commit is contained in:
Shaojin Wen authored and GitHub committed 2026-08-27 13:16:24 +00:00
1 parent 6cd0cc7869
commit a3ec41a281
2 files changed
+39 -15

No files matched your search

+6 -6
View File
@@ -454,9 +454,9 @@
--streaming-label-color: #b794f4;
--agent-logo-gradient: linear-gradient(
90deg,
#4796e4 0%,
#847ace 52%,
#c3677f 100%
#5b8def 0%,
#6d44e8 55%,
#a78bfa 100%
);
--subtle-bg: rgba(255, 255, 255, 0.04);
--subtle-bg-strong: rgba(255, 255, 255, 0.06);
@@ -528,9 +528,9 @@
--streaming-label-color: #7b4ab8;
--agent-logo-gradient: linear-gradient(
90deg,
#0b66c3 0%,
#7357b8 52%,
#bd4f67 100%
#2563eb 0%,
#6d44e8 55%,
#7c3aed 100%
);
--subtle-bg: rgba(32, 31, 25, 0.05);
--subtle-bg-strong: rgba(32, 31, 25, 0.08);
@@ -2,10 +2,29 @@
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
padding: 12px 0 16px;
gap: 10px;
padding: 24px 0 20px;
font-family: var(--font-sans, system-ui, sans-serif);
text-align: center;
animation: welcomeFadeIn 400ms ease-out;
}
@keyframes welcomeFadeIn {
from {
opacity: 0;
transform: translateY(4px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
.header {
animation: none;
}
}
.titleRow {
@@ -15,9 +34,10 @@
justify-content: center;
gap: 0.35em;
color: var(--foreground);
font-size: 28px;
font-size: 32px;
font-weight: 600;
line-height: 36px;
line-height: 40px;
letter-spacing: -0.02em;
}
.title {
@@ -29,15 +49,19 @@
}
.subtitle {
color: var(--muted-foreground);
font-size: 16px;
color: color-mix(in srgb, var(--muted-foreground) 85%, transparent);
font-size: 15px;
font-weight: 400;
line-height: 24px;
line-height: 22px;
}
@media (max-width: 760px) {
.header {
padding: 16px 0 14px;
}
.titleRow {
font-size: 24px;
line-height: 32px;
font-size: 26px;
line-height: 34px;
}
}