Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

style: add outline-flat button variant and use for meeting back button

Gabriel Stein9c003ce2b231
diff --git a/src/components/ControlPanel.tsx b/src/components/ControlPanel.tsx
index 02567023a..192c74a2a 100644
--- a/src/components/ControlPanel.tsx
+++ b/src/components/ControlPanel.tsx
@@ -435,17 +435,17 @@ export default function ControlPanel() {
>
{isMeetingMode && (
<div
- className={platform === "darwin" ? "ml-[84px] mt-[12px]" : "ml-2"}
+ className={platform === "darwin" ? "ml-[84px] mt-[16px]" : "ml-2"}
style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}
>
<Button
- variant="outline"
+ variant="outline-flat"
size="sm"
onClick={handleExitMeetingMode}
- className="h-7 px-2 gap-1"
+ className="h-7 px-2.5 pl-1.5 gap-1"
>
- <ChevronLeft size={14} strokeWidth={2} />
- <span className="text-xs">Back to notes</span>
+ <ChevronLeft size={14} strokeWidth={1.8} />
+ Back to notes
</Button>
</div>
)}
diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx
index fc22cfb64..eab3230d3 100644
--- a/src/components/ui/button.tsx
+++ b/src/components/ui/button.tsx
@@ -59,6 +59,16 @@ const buttonVariants = cva(
"transition-[background-color,border-color,color,transform] duration-200 ease-out",
].join(" "),
+ // Outline flat — transparent with thin border, no fill or shadow
+ "outline-flat": [
+ "font-medium",
+ "text-muted-foreground/70 bg-transparent",
+ "border border-border/50",
+ "hover:text-foreground/80 hover:border-border hover:bg-foreground/3",
+ "active:scale-[0.98]",
+ "dark:border-white/10 dark:hover:bg-white/5 dark:hover:border-white/15",
+ ].join(" "),
+
// Secondary — uses design tokens
secondary: [
"relative font-medium",