✨(frontend) add a pulsing effect when a participant is speaking
Inspired by Gmeet animation (mine is far from perfect). Some details should be improved, especially to have a smooth animation stop when the user stops speaking.
This commit is contained in:
committed by
aleb_the_flash
parent
b3ef57e1b6
commit
c16c27fa50
@@ -58,6 +58,11 @@ const config: Config = {
|
||||
},
|
||||
},
|
||||
fade: { from: { opacity: 0 }, to: { opacity: 1 } },
|
||||
pulse: {
|
||||
'0%': { boxShadow: '0 0 0 0 rgba(255, 255, 255, 0.7)' },
|
||||
'75%': { boxShadow: '0 0 0 30px rgba(255, 255, 255, 0)' },
|
||||
'100%': { boxShadow: '0 0 0 0 rgba(255, 255, 255, 0)' },
|
||||
},
|
||||
},
|
||||
tokens: defineTokens({
|
||||
/* we take a few things from the panda preset but for now we clear out some stuff.
|
||||
|
||||
Reference in New Issue
Block a user