Skip to content

Commit fe7e958

Browse files
authored
feat: change dashboard tool result colors from green to purple (#133)
- Updated CSS variables for tool result styling in both light and dark themes - Light theme: background #f3e8ff, border #9333ea (previously green tones) - Dark theme: background #4c1d95, border #9333ea (previously green tones) - Updated test expectations to match new color values - Maintains WCAG AA accessibility compliance with excellent contrast ratios
1 parent 5a720b1 commit fe7e958

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

services/dashboard/src/layout/__tests__/styles.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ describe('Dark Mode CSS Variables', () => {
131131
expect(lightVars['--msg-user-bg']).toBe('#eff6ff')
132132
expect(lightVars['--msg-assistant-bg']).toBe('#ffffff')
133133
expect(lightVars['--msg-tool-use-bg']).toBe('#fef3c7')
134-
expect(lightVars['--msg-tool-result-bg']).toBe('#dcfce7')
134+
expect(lightVars['--msg-tool-result-bg']).toBe('#f3e8ff')
135135

136136
// Dark theme message colors
137137
expect(darkVars['--msg-user-bg']).toBe('#1e3a8a')
138138
expect(darkVars['--msg-assistant-bg']).toBe('#1e293b')
139139
expect(darkVars['--msg-tool-use-bg']).toBe('#78350f')
140-
expect(darkVars['--msg-tool-result-bg']).toBe('#14532d')
140+
expect(darkVars['--msg-tool-result-bg']).toBe('#4c1d95')
141141
})
142142
})

services/dashboard/src/layout/styles.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ export const dashboardStyles = `
5656
--msg-system-border: #9ca3af;
5757
--msg-tool-use-bg: #fef3c7;
5858
--msg-tool-use-border: #f59e0b;
59-
--msg-tool-result-bg: #dcfce7;
60-
--msg-tool-result-border: #22c55e;
59+
--msg-tool-result-bg: #f3e8ff;
60+
--msg-tool-result-border: #9333ea;
6161
6262
/* Code block colors */
6363
--code-bg: #1e293b;
@@ -117,8 +117,8 @@ export const dashboardStyles = `
117117
--msg-system-border: #6b7280;
118118
--msg-tool-use-bg: #78350f;
119119
--msg-tool-use-border: #f59e0b;
120-
--msg-tool-result-bg: #14532d;
121-
--msg-tool-result-border: #22c55e;
120+
--msg-tool-result-bg: #4c1d95;
121+
--msg-tool-result-border: #9333ea;
122122
123123
/* Code block colors */
124124
--code-bg: #0f172a;

0 commit comments

Comments
 (0)