From 1e8d752a54b5d261912321c5dce2b9af08eb9461 Mon Sep 17 00:00:00 2001 From: timothycarambat <rambat1010@gmail.com> Date: Fri, 9 Aug 2024 13:00:12 -0700 Subject: [PATCH] dont override default tailwind pulse --- .../ChatContainer/PromptInput/SpeechToText/index.jsx | 2 +- frontend/tailwind.config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx index ee88735b0..a25f3ef6e 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx @@ -105,7 +105,7 @@ export default function SpeechToText({ sendCommand }) { <Microphone weight="fill" className={`w-6 h-6 pointer-events-none text-white overflow-hidden rounded-full ${ - listening ? "animate-pulse" : "" + listening ? "animate-pulse-glow" : "" }`} /> <Tooltip diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index 2092c50ae..1ef8e56d9 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -87,7 +87,7 @@ export default { }, animation: { sweep: "sweep 0.5s ease-in-out", - pulse: "pulse 1.5s infinite" + "pulse-glow": "pulse-glow 1.5s infinite" }, keyframes: { sweep: { @@ -102,7 +102,7 @@ export default { "0%": { opacity: 1 }, "100%": { opacity: 0 } }, - pulse: { + "pulse-glow": { "0%": { opacity: 1, transform: "scale(1)", -- GitLab