diff --git a/packages/web/src/components/voice/ConnectionInfoPopover.tsx b/packages/web/src/components/voice/ConnectionInfoPopover.tsx
index 6ac20936..765a9da5 100644
--- a/packages/web/src/components/voice/ConnectionInfoPopover.tsx
+++ b/packages/web/src/components/voice/ConnectionInfoPopover.tsx
@@ -13,21 +13,21 @@ function formatBitrate(kbps: number): string {
}
function pingColor(ms: number): string {
- if (ms <= 80) return 'text-discord-green';
- if (ms <= 200) return 'text-discord-yellow';
- return 'text-discord-red';
+ if (ms <= 80) return 'text-status-online';
+ if (ms <= 200) return 'text-status-idle';
+ return 'text-txt-danger';
}
function lossColor(pct: number): string {
- if (pct <= 1) return 'text-discord-green';
- if (pct <= 5) return 'text-discord-yellow';
- return 'text-discord-red';
+ if (pct <= 1) return 'text-status-online';
+ if (pct <= 5) return 'text-status-idle';
+ return 'text-txt-danger';
}
function jitterColor(ms: number): string {
- if (ms <= 30) return 'text-discord-green';
- if (ms <= 80) return 'text-discord-yellow';
- return 'text-discord-red';
+ if (ms <= 30) return 'text-status-online';
+ if (ms <= 80) return 'text-status-idle';
+ return 'text-txt-danger';
}
function sourceLabel(source: string): string {
@@ -51,15 +51,15 @@ function trackLabel(direction: 'send' | 'recv', source: string, participantName:
const Row = ({ label, value, colorClass }: { label: string; value: string; colorClass?: string }) => (
- {label}
- {value}
+ {label}
+ {value}
);
-const Divider = () => ;
+const Divider = () => ;
const SectionHeader = ({ title }: { title: string }) => (
-
+
{title}
);
@@ -68,10 +68,10 @@ function AudioTrackRow({ track }: { track: AudioTrackStat }) {
const label = trackLabel(track.direction, track.source, track.participantName);
return (
- {label}
-
+ {label}
+
{formatBitrate(track.bitrate)}
- {track.codec && {track.codec}}
+ {track.codec && {track.codec}}
);
@@ -84,19 +84,19 @@ function VideoTrackRow({ track }: { track: VideoTrackStat }) {
return (
- {label}
-
+ {label}
+
{formatBitrate(track.bitrate)}
- {track.codec && {track.codec}}
+ {track.codec && {track.codec}}
{(resolution || track.fps !== null || track.qualityLimitation || track.simulcastLayer) && (
-
+
{resolution && `${resolution}`}
{track.fps !== null && ` @${track.fps}`}
-
+
{track.direction === 'send' && track.qualityLimitation && track.qualityLimitation !== 'none'
? track.qualityLimitation
: ''}
@@ -133,17 +133,17 @@ export function ConnectionInfoPopover({ open, onClose }: ConnectionInfoPopoverPr
return (
-
-
Connection Info
+
+ Connection Info
{!room ? (
-
Not connected
+
Not connected
) : !stats ? (
-
Gathering stats...
+
Gathering stats...
) : (
<>
{/* Network */}
diff --git a/packages/web/src/components/voice/IncomingCallModal.tsx b/packages/web/src/components/voice/IncomingCallModal.tsx
index 981576f2..6a83d9d9 100644
--- a/packages/web/src/components/voice/IncomingCallModal.tsx
+++ b/packages/web/src/components/voice/IncomingCallModal.tsx
@@ -43,22 +43,22 @@ export function IncomingCallModal() {
{/* Call card */}
-
+
{/* Ring animation background */}
{/* Content */}
{/* Caller avatar */}
-
+
{incomingCall.callerName.charAt(0).toUpperCase()}
{/* Ringing phone icon */}
-
+
@@ -67,8 +67,8 @@ export function IncomingCallModal() {
{/* Caller info */}
-
{incomingCall.callerName}
-
Incoming Voice Call...
+
{incomingCall.callerName}
+
Incoming Voice Call...
{/* Action buttons */}
@@ -76,7 +76,7 @@ export function IncomingCallModal() {
{/* Decline */}