From 72d658ca3f527be746454ead7be63949a7172381 Mon Sep 17 00:00:00 2001 From: cc-dan Date: Sat, 14 Mar 2026 07:26:48 +0000 Subject: [PATCH] =?UTF-8?q?refine:=20Claude=E5=A4=B4=E5=83=8F=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=83=8F=E7=B4=A0=E9=A3=8E=E8=9E=83=E8=9F=B9SVG?= =?UTF-8?q?=EF=BC=8C=E9=80=8F=E6=98=8E=E8=83=8C=E6=99=AF+=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E8=89=B2=E6=8F=8F=E8=BE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/app.js | 3 ++- public/style.css | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/public/app.js b/public/app.js index ac11d6b..bff08f3 100644 --- a/public/app.js +++ b/public/app.js @@ -1558,7 +1558,8 @@ } else if (currentAgent === 'codex') { avatar.innerHTML = ``; } else { - avatar.textContent = '🦀'; + // Pixel-style crab SVG (Claude mascot), transparent bg, currentColor + avatar.innerHTML = ``; } const bubble = document.createElement('div'); diff --git a/public/style.css b/public/style.css index ba3621e..7c8b2ce 100644 --- a/public/style.css +++ b/public/style.css @@ -1016,10 +1016,11 @@ body.session-loading-active { .msg.user .msg-avatar { background: var(--bg-bubble-user); color: #fff; } .msg.assistant .msg-avatar { background: var(--success); color: #fff; } .msg-avatar svg { display: block; flex-shrink: 0; } -/* Claude avatar: pixel crab emoji on accent bg */ +/* Claude avatar: transparent bg, pixel crab uses theme accent color */ .msg.assistant.agent-claude .msg-avatar { - background: var(--accent); - color: #fff; + background: transparent; + color: var(--accent); + border: 1.5px solid var(--accent); font-size: 18px; } /* Codex avatar: GPT logo on green bg */