🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style(chat): use theme color for active dictation (#18869)
Tsukibc4bfdff7692
diff --git a/src/features/ChatInput/Dictation/index.tsx b/src/features/ChatInput/Dictation/index.tsxindex 13905caaf5b..736cfcd2303 100644--- a/src/features/ChatInput/Dictation/index.tsx+++ b/src/features/ChatInput/Dictation/index.tsx@@ -38,48 +38,35 @@ const styles = createStaticStyles(({ css, cssVar }) => ({background: ${cssVar.colorFillSecondary};`,listening: css`- color: ${cssVar.colorWhite};-- background: ${cssVar.colorSuccess};- box-shadow: 0 0 0 3px ${cssVar.colorSuccessBg};-transition:color 160ms ease,background 160ms ease,- box-shadow 160ms ease,transform 120ms ease;- animation: dictation-halo-breathe 1.6s ease-in-out infinite;- &:hover {- color: ${cssVar.colorWhite};- background: ${cssVar.colorSuccessHover};- box-shadow: 0 0 0 4px ${cssVar.colorSuccessBgHover};+ && {+ color: contrast-color(${cssVar.colorPrimary});+ background: ${cssVar.colorPrimary};}- &:active {- transform: scale(0.94);- background: ${cssVar.colorSuccessActive};+ &&:hover {+ color: contrast-color(${cssVar.colorPrimaryHover});+ background: ${cssVar.colorPrimaryHover};}- &:focus-visible {- outline: 2px solid ${cssVar.colorSuccess};- outline-offset: 3px;+ &&:active {+ transform: scale(0.94);+ color: contrast-color(${cssVar.colorPrimaryActive});+ background: ${cssVar.colorPrimaryActive};}- @keyframes dictation-halo-breathe {- 0%,- 100% {- box-shadow: 0 0 0 3px ${cssVar.colorSuccessBg};- }-- 50% {- box-shadow: 0 0 0 6px ${cssVar.colorSuccessBgHover};- }+ &&:focus-visible {+ outline: 2px solid currentcolor;+ outline-offset: -3px;+ box-shadow: none;}@media (prefers-reduced-motion: reduce) {transition: none;- animation: none;}`,listeningStatus: css`