dont override default tailwind pulse

This commit is contained in:
timothycarambat 2024-08-09 13:00:12 -07:00
parent 53d64f30b1
commit 1e8d752a54
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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)",