diff --git a/src/app/components/VoiceMessageRecorder.tsx b/src/app/components/VoiceMessageRecorder.tsx index 18253304e..c8de02d1e 100644 --- a/src/app/components/VoiceMessageRecorder.tsx +++ b/src/app/components/VoiceMessageRecorder.tsx @@ -185,6 +185,7 @@ export function VoiceMessageRecorder({ onSend, onError }: VoiceRecorderProps) { if (state === 'recording') { return ( {formatDuration(durationMs)} ( )} - + { + setLocationError(err); + setTimeout(() => setLocationError(null), 4000); + }} + /> div`, { + background: '#00D4FF !important' as any, +}); +// light TDS +globalStyle( + `html[data-theme="light"] body.${lotusTerminalBodyClass} [data-voice-recorder="recording"]`, + { + background: 'rgba(0,98,184,0.05) !important' as any, + border: '1px solid rgba(0,98,184,0.22) !important' as any, + }, +); +globalStyle(`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-voice-rec-dot]`, { + background: '#006d35 !important' as any, + boxShadow: 'none', +}); +globalStyle(`html[data-theme="light"] body.${lotusTerminalBodyClass} [data-voice-waveform] > div`, { + background: '#0062b8 !important' as any, +}); + // ── Caption input TDS focus ring ────────────────────────────────────────────── globalStyle(`body.${lotusTerminalBodyClass} [data-caption-input]:focus-visible`, { borderColor: 'rgba(255,107,0,0.65) !important' as any,