From 737d237283ee1a8abd19a4755ad3197f79ce1303 Mon Sep 17 00:00:00 2001 From: lyingbug Date: Mon, 19 Oct 2026 15:07:00 +0800 Subject: [PATCH] style(assistant): tone down the running child agent highlight (#4476) --- .../views/chat/components/ChildAgentTabBar.vue | 2 +- .../views/chat/components/CollaborationTasks.vue | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/views/chat/components/ChildAgentTabBar.vue b/frontend/src/views/chat/components/ChildAgentTabBar.vue index f06de9bf..aed7f3a5 100644 --- a/frontend/src/views/chat/components/ChildAgentTabBar.vue +++ b/frontend/src/views/chat/components/ChildAgentTabBar.vue @@ -74,7 +74,7 @@ watch(() => props.activeId, () => nextTick(() => { .child-agent-tab-dot.running { background: var(--td-brand-color); animation: child-tab-pulse 1.6s ease-out infinite; } .child-agent-tab-dot.succeeded { background: var(--td-success-color); } .child-agent-tab-name.is-running { - background: linear-gradient(90deg, currentColor 30%, var(--td-brand-color) 50%, currentColor 70%) 0 0 / 300% 100%; + background: linear-gradient(90deg, currentColor 30%, var(--td-text-color-placeholder) 50%, currentColor 70%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; diff --git a/frontend/src/views/chat/components/CollaborationTasks.vue b/frontend/src/views/chat/components/CollaborationTasks.vue index 3e463f84..4774d7e8 100644 --- a/frontend/src/views/chat/components/CollaborationTasks.vue +++ b/frontend/src/views/chat/components/CollaborationTasks.vue @@ -58,19 +58,19 @@ const activity = computed(() => { mask-position: center; } .child-task-row.is-running { - .child-task-icon { background: var(--td-brand-color); animation: child-task-breathe 1.8s ease-in-out infinite; } + .child-task-icon { animation: child-task-breathe 2s ease-in-out infinite; } &::before { content: ''; position: absolute; - inset: -3px -8px; + inset: -2px -6px; z-index: -1; - border-radius: var(--app-radius-md, 8px); + border-radius: var(--app-radius-sm, 6px); pointer-events: none; background: linear-gradient(100deg, - transparent 25%, - color-mix(in srgb, var(--td-brand-color) 8%, transparent) 50%, - transparent 75%) 0 0 / 250% 100%; - animation: child-task-sweep 2.6s ease-in-out infinite; + transparent 30%, + color-mix(in srgb, var(--td-text-color-primary) 5%, transparent) 50%, + transparent 70%) 0 0 / 250% 100%; + animation: child-task-sweep 2.8s ease-in-out infinite; } } .child-task-name { @@ -123,7 +123,7 @@ const activity = computed(() => { to { background-position: -50% 0; } } @keyframes child-task-breathe { - 50% { opacity: 0.45; } + 50% { opacity: 0.5; } } @media (prefers-reduced-motion: reduce) { .child-task-name.is-running { animation: none; color: var(--td-text-color-secondary); background: none; }