Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.
JavaScript aianthropiccross-platformgeminigroqlinuxmacosnvidiaopen-sourceopenaiparakeetspeech-to-texttranscribewhisperwindows
fix(style): provider button styling
Gabriel Steina4ec0f677595
diff --git a/src/components/TranscriptionModelPicker.tsx b/src/components/TranscriptionModelPicker.tsxindex 20bb435c0..c3846ecba 100644--- a/src/components/TranscriptionModelPicker.tsx+++ b/src/components/TranscriptionModelPicker.tsx@@ -216,10 +216,10 @@ interface ModeToggleProps {function ModeToggle({ useLocalWhisper, onModeChange }: ModeToggleProps) {return (- <div className="relative flex p-0.5 rounded-lg bg-surface-raised dark:bg-white/3 border border-border dark:border-white/5">+ <div className="relative flex p-0.5 rounded-lg bg-surface-raised dark:bg-surface-1 border border-border dark:border-border-subtle">{/* Sliding indicator */}<div- className={`absolute top-0.5 bottom-0.5 w-[calc(50%-2px)] rounded-md bg-white dark:bg-white/10 border border-border-hover dark:border-white/15 shadow-[0_1px_2px_rgba(0,0,0,0.06)] dark:shadow-[0_1px_2px_rgba(0,0,0,0.1)] transition-transform duration-200 ease-out ${+ className={`absolute top-0.5 bottom-0.5 w-[calc(50%-2px)] rounded-md bg-card border border-border dark:border-border-subtle shadow-sm dark:shadow-(--shadow-card) transition-transform duration-200 ease-out ${useLocalWhisper ? "translate-x-[calc(100%+4px)]" : "translate-x-0"}`}/>diff --git a/src/components/ui/ProviderTabs.tsx b/src/components/ui/ProviderTabs.tsxindex 72581f2cf..e8b275157 100644--- a/src/components/ui/ProviderTabs.tsx+++ b/src/components/ui/ProviderTabs.tsx@@ -71,11 +71,11 @@ export function ProviderTabs({return (<divref={containerRef}- className={`relative flex p-0.5 rounded-md bg-surface-raised dark:bg-white/3 ${scrollable ? "overflow-x-auto" : ""}`}+ className={`relative flex p-0.5 rounded-md bg-surface-raised dark:bg-surface-1 ${scrollable ? "overflow-x-auto" : ""}`}>{/* Sliding indicator - frosted glass treatment */}<div- className="absolute top-0.5 left-0 rounded-md bg-white dark:bg-surface-3 border border-border dark:border-border-subtle shadow-[0_1px_2px_rgba(0,0,0,0.08)] dark:shadow-[0_1px_3px_rgba(0,0,0,0.3)] transition-all duration-200 ease-out pointer-events-none"+ className="absolute top-0.5 left-0 rounded-md bg-card border border-border dark:border-border-subtle shadow-sm dark:shadow-(--shadow-card) transition-all duration-200 ease-out pointer-events-none"style={indicatorStyle}/>diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsxindex c623bb72c..40f8f04ac 100644--- a/src/components/ui/tabs.tsx+++ b/src/components/ui/tabs.tsx@@ -27,7 +27,7 @@ const TabsTrigger = React.forwardRef<<TabsPrimitive.Triggerref={ref}className={cn(- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background dark:data-[state=active]:bg-surface-3 data-[state=active]:text-foreground data-[state=active]:shadow",+ "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-card data-[state=active]:text-foreground data-[state=active]:shadow",className)}{...props}