@@ -1,7 +1,7 @@
11 import { useEffect, useState } from "react";
22 import { MicOff, Volume2, VolumeX } from "lucide-react";
3-import { cn } from "cn";
43 import { Button } from "@/components/ui/button";
4+import Dot from "./Dot";
55 import type { Voice } from "../lib/voice";
66
77 const storageKey = "irvc.peerVolumes";
@@ -45,7 +45,7 @@ export default function VoicePeers({ voice, username }: { voice: Voice; username
4545
4646 return (
4747 <>
48- <div className="flex items-center gap-1.5 text-xs text-sepia/70">
48+ <div className="flex items-center gap-1.5 text-sm text-sepia/70">
4949 <Dot on={speaking.includes(username)} />
5050 {username} <span className="text-sepia/40">(you)</span>
5151 {selfMuted && <MicOff size={10} className="text-sepia/50" />}
@@ -54,7 +54,7 @@ export default function VoicePeers({ voice, username }: { voice: Voice; username
5454 <div key={p}>
5555 <button
5656 onClick={() => setOpen((o) => (o === p ? null : p))}
57- className="flex w-full items-center gap-1.5 text-left text-xs text-sepia/70 hover:text-sepia"
57+ className="flex w-full items-center gap-1.5 text-left text-sm text-sepia/70 hover:text-sepia"
5858 >
5959 <Dot on={speaking.includes(p)} />
6060 {p}
@@ -88,11 +88,3 @@ export default function VoicePeers({ voice, username }: { voice: Voice; username
8888 );
8989 }
9090
91-// The dot stays dim until the participant is speaking, then lights up.
92-function Dot({ on }: { on: boolean }) {
93- return (
94- <span
95- className={cn("h-1.5 w-1.5 rounded-full transition-colors", on ? "bg-gold" : "bg-sepia/25")}
96- />
97- );
98-}