Skip to content

Commit 6de8be3

Browse files
committed
feat: re-aligned colour scheme with hermes
1 parent da288b9 commit 6de8be3

8 files changed

Lines changed: 18 additions & 10 deletions

File tree

api/src/chat/chat.prompts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export function buildChatPrompt(p: {
3333
export function buildTitlePrompt(firstMessage: string): string {
3434
return [
3535
`Generate a short, descriptive title for a chat conversation that opens with the message below.`,
36-
`Rules:\n- Output ONLY the title — no quotes, no markdown, no trailing punctuation, no preamble.\n- 3 to 6 words, Title Case.\n- Do NOT use any tools; just reply with the title.`,
36+
`Rules:\n- Output ONLY the title — no quotes, no markdown, no trailing punctuation, no preamble.\n- 4 to 8 words, Title Case.\n- Do NOT use any tools; just reply with the title.`,
3737
`--- FIRST MESSAGE ---\n${firstMessage}\n--- END ---`,
3838
].join('\n\n');
3939
}

app/src/components/Chat.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ export default function Chat() {
221221
session.messages.map((m) =>
222222
m.role === 'user' ? (
223223
<div key={m.id} class="flex justify-end">
224-
<div class="max-w-[85%] rounded-2xl rounded-br-sm bg-indigo-600/90 px-4 py-2.5 text-sm text-white whitespace-pre-wrap">
224+
<div class="max-w-[85%] rounded-2xl rounded-br-sm border border-zinc-700 bg-zinc-800 px-4 py-2.5 text-sm text-zinc-100 whitespace-pre-wrap">
225225
{m.content}
226226
</div>
227227
</div>
228228
) : (
229229
<div key={m.id} class="flex flex-col gap-2">
230230
{m.agentRunId && activity[m.agentRunId]?.length ? (
231-
<details open class="space-y-2">
231+
<details class="space-y-2">
232232
<summary class="cursor-pointer select-none text-xs text-zinc-500 hover:text-zinc-400">
233233
Activity · {activity[m.agentRunId].length} steps
234234
</summary>
@@ -297,7 +297,7 @@ export default function Chat() {
297297
<button
298298
type="submit"
299299
disabled={sending || !!activeRunId || input.trim().length === 0}
300-
class="rounded-xl bg-indigo-600 px-4 py-2.5 text-sm font-medium text-white hover:bg-indigo-500 disabled:opacity-50 transition-colors"
300+
class="rounded-xl bg-hermes-400 px-4 py-2.5 text-sm font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
301301
>
302302
Send
303303
</button>

app/src/components/ChatList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function ChatList() {
6868
<button
6969
disabled={creating}
7070
onClick={() => void newChat()}
71-
class="ml-auto rounded-lg bg-indigo-600 px-3 py-1.5 text-xs font-medium text-white hover:bg-indigo-500 disabled:opacity-50 transition-colors"
71+
class="ml-auto rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
7272
>
7373
{creating ? 'Starting…' : 'New chat'}
7474
</button>

app/src/components/CreateJob.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export default function CreateJob() {
136136
<button
137137
type="submit"
138138
disabled={!canSubmit}
139-
class="rounded-lg bg-indigo-600 px-4 py-2 text-sm font-medium text-white hover:bg-indigo-500 disabled:opacity-50 transition-colors"
139+
class="rounded-lg bg-hermes-400 px-4 py-2 text-sm font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
140140
>
141141
{submitting ? 'Creating…' : 'Create & plan'}
142142
</button>

app/src/components/JobDetail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export default function JobDetail() {
272272
<button
273273
disabled={actionPending}
274274
onClick={() => act('approve')}
275-
class="rounded-lg bg-indigo-600 px-3 py-1.5 text-xs font-medium text-white hover:bg-indigo-500 disabled:opacity-50 transition-colors"
275+
class="rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
276276
>
277277
{actionPending ? 'Approving…' : 'Approve plan'}
278278
</button>
@@ -282,7 +282,7 @@ export default function JobDetail() {
282282
<button
283283
disabled={actionPending}
284284
onClick={() => act('retry')}
285-
class="rounded-lg bg-indigo-600 px-3 py-1.5 text-xs font-medium text-white hover:bg-indigo-500 disabled:opacity-50 transition-colors"
285+
class="rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
286286
>
287287
{actionPending ? 'Working…' : 'Retry'}
288288
</button>

app/src/components/JobList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ export default function JobList() {
229229
<div class="ml-auto flex items-center gap-2">
230230
<button
231231
onClick={() => navigate('/create')}
232-
class="rounded-lg bg-indigo-600 px-3 py-1.5 text-xs font-medium text-white hover:bg-indigo-500 transition-colors"
232+
class="rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 transition-colors"
233233
>
234234
Create
235235
</button>

app/src/components/RepoControl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default function RepoControl({
8787
<button
8888
disabled={pending || invalid}
8989
onClick={() => void save()}
90-
class="rounded-lg bg-indigo-600 px-3 py-1.5 text-xs font-medium text-white hover:bg-indigo-500 disabled:opacity-50 transition-colors"
90+
class="rounded-lg bg-hermes-400 px-3 py-1.5 text-xs font-medium text-zinc-950 hover:bg-hermes-500 disabled:opacity-50 transition-colors"
9191
>
9292
{pending ? 'Saving…' : 'Save'}
9393
</button>

app/tailwind.config.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ export default {
88
fontFamily: {
99
mono: ['JetBrains Mono', 'ui-monospace', 'monospace'],
1010
},
11+
// Hermes Agent brand gold (from the app icon's gradient): light → core → deep.
12+
colors: {
13+
hermes: {
14+
300: '#FFF27A',
15+
400: '#FFD229',
16+
500: '#F4A900',
17+
},
18+
},
1119
},
1220
},
1321
plugins: [typography],

0 commit comments

Comments
 (0)