fix: separate text-accent from background-accent colors

- Add --text-accent CSS variable (light purple #c4b5fd)
- Keep --accent for backgrounds only (dark purple #2e0a5d)
- Update Assistant name color to use --text-accent
- Update drawer section headers to use --text-accent
- Update streaming label to use --text-accent
- All purple text is now much lighter for readability
- Backgrounds retain the dark purple shade
- All 52 tests passing, build successful
This commit is contained in:
2026-02-26 02:30:27 +01:00
parent 73d53d8ef4
commit c430766afc
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -311,7 +311,7 @@ export function ChatWindow({ session, config, onAddMessage }: ChatWindowProps) {
fontSize: '12px', fontSize: '12px',
fontWeight: 600, fontWeight: 600,
marginBottom: '8px', marginBottom: '8px',
color: msg.role === 'user' ? 'var(--text-secondary)' : 'var(--accent)' color: msg.role === 'user' ? 'var(--text-secondary)' : 'var(--text-accent)'
}}> }}>
{msg.role === 'user' ? 'You' : 'Assistant'} {msg.role === 'user' ? 'You' : 'Assistant'}
</div> </div>
@@ -346,7 +346,7 @@ export function ChatWindow({ session, config, onAddMessage }: ChatWindowProps) {
fontSize: '12px', fontSize: '12px',
fontWeight: 600, fontWeight: 600,
marginBottom: '8px', marginBottom: '8px',
color: 'var(--accent)', color: 'var(--accent-light)',
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
gap: '6px' gap: '6px'
+3 -3
View File
@@ -125,7 +125,7 @@ export function SessionDrawer({
fontSize: '13px', fontSize: '13px',
fontWeight: 600, fontWeight: 600,
marginBottom: '16px', marginBottom: '16px',
color: 'var(--accent)', color: 'var(--text-accent)',
textTransform: 'uppercase', textTransform: 'uppercase',
letterSpacing: '0.5px' letterSpacing: '0.5px'
}}> }}>
@@ -205,7 +205,7 @@ export function SessionDrawer({
display: 'block', display: 'block',
fontSize: '13px', fontSize: '13px',
fontWeight: 500, fontWeight: 500,
color: 'var(--accent)', color: 'var(--text-accent)',
marginBottom: '2px' marginBottom: '2px'
}}> }}>
Streaming Response Streaming Response
@@ -247,7 +247,7 @@ export function SessionDrawer({
fontWeight: 600, fontWeight: 600,
marginBottom: '12px', marginBottom: '12px',
marginLeft: '8px', marginLeft: '8px',
color: 'var(--accent)', color: 'var(--text-accent)',
textTransform: 'uppercase', textTransform: 'uppercase',
letterSpacing: '0.5px' letterSpacing: '0.5px'
}}> }}>
+1
View File
@@ -9,6 +9,7 @@
--accent: #2e0a5d; --accent: #2e0a5d;
--accent-hover: #3a0d75; --accent-hover: #3a0d75;
--accent-light: #4a1f95; --accent-light: #4a1f95;
--text-accent: #c4b5fd;
--border: #2a2a2a; --border: #2a2a2a;
--border-light: #383838; --border-light: #383838;
--success: #0d9488; --success: #0d9488;