Skip to content

Commit 6d44097

Browse files
quiet-nodeclaude
andauthored
style: unified frosted glass aesthetic for AskBarView and ConversationView (#67)
style: apply unified frosted glass aesthetic to AskBarView and ConversationView Brings the main chat UI in line with the approved onboarding screens: - Warm dark surface base (rgba(22,18,15,0.98)) replacing the neutral gray - Warm elevated surface (rgba(38,30,24,0.6)) for consistency - Radial gradient glow at top of morphing container (signature warm ambient touch) - Top border accent (rgba(255,141,92,0.2)) matching onboarding panel treatment - Glowing line pseudo-element at top edge via ::before - AI chat bubble warmed to rgba(36,30,26,0.95) with top border accent - Shadow tokens tightened: removed wide-spread glow that caused native window clipping Signed-off-by: Logan Nguyen <lg.131.dev@gmail.com> Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 8c7f2cd commit 6d44097

1 file changed

Lines changed: 34 additions & 9 deletions

File tree

src/App.css

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
--color-neutral: #1a1a1c;
1515

1616
/* Surface tokens derived from the palette */
17-
--color-surface-base: rgba(26, 26, 28, 1);
18-
--color-surface-elevated: rgba(42, 42, 46, 0.6);
19-
--color-surface-border: rgba(255, 141, 92, 0.1);
17+
--color-surface-base: rgba(22, 18, 15, 0.98);
18+
--color-surface-elevated: rgba(38, 30, 24, 0.6);
19+
--color-surface-border: rgba(255, 141, 92, 0.12);
2020

2121
/* Text tokens */
2222
--color-text-primary: #f0f0f2;
@@ -31,12 +31,12 @@
3131

3232
/* Elevation — input bar mode (compact floating effect, Spotlight-inspired) */
3333
--shadow-bar:
34-
0 6px 20px -6px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 141, 92, 0.1);
34+
0 6px 20px -6px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 141, 92, 0.12);
3535

3636
/* Elevation — chat window mode (layered depth without excessive spread) */
3737
--shadow-chat:
38-
0 4px 14px -3px rgba(0, 0, 0, 0.45), 0 1px 4px -1px rgba(0, 0, 0, 0.25),
39-
0 0 0 1px rgba(255, 141, 92, 0.1);
38+
0 4px 14px -3px rgba(0, 0, 0, 0.5), 0 1px 4px -1px rgba(0, 0, 0, 0.3),
39+
0 0 0 1px rgba(255, 141, 92, 0.12);
4040
}
4141

4242
html,
@@ -55,6 +55,30 @@ body {
5555
transition:
5656
box-shadow 0.5s cubic-bezier(0.12, 0.8, 0.2, 1.18),
5757
border-radius 0.5s cubic-bezier(0.12, 0.8, 0.2, 1.18);
58+
background-image: radial-gradient(
59+
ellipse 70% 40% at 50% 0%,
60+
rgba(255, 141, 92, 0.08) 0%,
61+
transparent 65%
62+
);
63+
border-top-color: rgba(255, 141, 92, 0.2);
64+
}
65+
66+
/* Subtle glowing line at the very top edge — matches approved onboarding style */
67+
.morphing-container::before {
68+
content: '';
69+
position: absolute;
70+
top: 0;
71+
left: 15%;
72+
right: 15%;
73+
height: 1px;
74+
background: linear-gradient(
75+
90deg,
76+
transparent,
77+
rgba(255, 141, 92, 0.35),
78+
transparent
79+
);
80+
pointer-events: none;
81+
z-index: 1;
5882
}
5983

6084
/* ─── Chat Bubble Styles ─── */
@@ -76,15 +100,16 @@ body {
76100

77101
/**
78102
* AI bubble — frosted glass surface with a subtle border for depth.
79-
* Harmonizes with the dark overlay backdrop.
103+
* Harmonizes with the warm ambient dark overlay backdrop.
80104
*/
81105
.chat-bubble-ai {
82-
background: rgba(50, 50, 56, 0.95);
106+
background: rgba(36, 30, 26, 0.95);
83107
backdrop-filter: blur(12px);
84108
-webkit-backdrop-filter: blur(12px);
85109
border: 1px solid rgba(255, 255, 255, 0.06);
110+
border-top-color: rgba(255, 141, 92, 0.1);
86111
box-shadow:
87-
0 2px 8px -2px rgba(0, 0, 0, 0.25),
112+
0 2px 8px -2px rgba(0, 0, 0, 0.3),
88113
inset 0 1px 0 rgba(255, 255, 255, 0.04);
89114
}
90115

0 commit comments

Comments
 (0)