Fixed the color as per video

This commit is contained in:
SujithThirumalaisamy 2025-04-06 20:57:33 +05:30
parent 9734b5e1e3
commit 58b5ebb559
2 changed files with 4 additions and 6 deletions

View File

@ -159,12 +159,10 @@ export function CustomControlBar({ room, roomName }: CustomControlBarProps) {
<TrackToggle source={Track.Source.Camera} />
<div
className={`control-btn ${isRecording ? '' : 'disabled'} ${isRecordingRequestPending || !isSelfRecord ? 'blinking' : ''}`}
className={`control-btn ${isRecording ? '' : 'disabled'} ${isRecordingRequestPending || isRecording ? 'blinking' : ''}`}
onClick={toggleRoomRecording}
data-lk-active={isRecording}
style={{
cursor: isRecordingRequestPending ? 'not-allowed' : 'pointer',
color: isRecording || isRecordingRequestPending ? '#ED7473' : 'white',
}}
>
{isRecording ? (

View File

@ -155,14 +155,14 @@ h2 a {
@keyframes blink {
0%,
100% {
background-color: #382327;
color: #ed7473;
}
50% {
background-color: #2d1e22;
color: #714144;
}
}
.blinking {
animation: blink 1s infinite;
animation: blink 1.5s infinite;
}