Skip to content

Commit 4bd9301

Browse files
committed
💄 style(app): add Assistant/You labels, save redesign spec
- Assistant label: '⬡ Assistant' in uppercase blue before AI messages - User label: 'You' in cyan aligned right before user messages - Both labels use CSS ::before pseudo-elements (no TSX changes) - Save full redesign spec for future TSX work
1 parent 3547b3a commit 4bd9301

1 file changed

Lines changed: 30 additions & 3 deletions

File tree

‎packages/app/src/index.css‎

Lines changed: 30 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,37 @@
146146
color: var(--text-interactive-base) !important;
147147
}
148148

149-
/* --- Assistant message area: Add subtle left accent for visual grouping --- */
149+
/* --- Assistant message: Avatar icon + label via CSS --- */
150150
[data-slot="session-turn-assistant-content"] {
151-
padding-left: 12px;
152-
border-left: 2px solid color-mix(in srgb, var(--icon-interactive-base) 25%, transparent);
151+
padding-left: 0;
152+
border-left: none;
153+
position: relative;
154+
}
155+
156+
[data-slot="session-turn-assistant-content"]::before {
157+
content: "⬡ Assistant";
158+
display: flex;
159+
align-items: center;
160+
gap: 8px;
161+
margin-bottom: 12px;
162+
font-family: var(--font-family-sans);
163+
font-size: 12px;
164+
font-weight: 700;
165+
letter-spacing: 0.5px;
166+
text-transform: uppercase;
167+
color: var(--text-interactive-base);
168+
}
169+
170+
/* --- User message: "You" label via CSS --- */
171+
[data-component="user-message"]::before {
172+
content: "You";
173+
display: block;
174+
text-align: right;
175+
margin-bottom: 6px;
176+
font-family: var(--font-family-sans);
177+
font-size: 12px;
178+
font-weight: 700;
179+
color: var(--icon-agent-ask-base);
153180
}
154181

155182
/* --- Tool collapsible triggers: Better hover feedback --- */

0 commit comments

Comments
 (0)