Skip to content

Open source alternative to Semrush and Ahrefs

Raise default control size to 40px and add a 48px CTA size (EVE-352) (#767)

Carter Smith6c7f79ddbc24
diff --git a/src/client/components/LocationSelect.tsx b/src/client/components/LocationSelect.tsx
index 1baf8bc7..b180a1b5 100644
--- a/src/client/components/LocationSelect.tsx
+++ b/src/client/components/LocationSelect.tsx
@@ -1,4 +1,3 @@
-import { cn } from "cn";
import {
Combobox,
ComboboxContent,
@@ -50,7 +49,7 @@ export function LocationSelect({
}}
>
<ComboboxInput
- className={cn("h-10", className)}
+ className={className}
placeholder="Select country"
aria-label="Country"
/>
diff --git a/src/client/components/ResearchScopeSelect.tsx b/src/client/components/ResearchScopeSelect.tsx
index 5dd05d5b..1b023710 100644
--- a/src/client/components/ResearchScopeSelect.tsx
+++ b/src/client/components/ResearchScopeSelect.tsx
@@ -1,4 +1,3 @@
-import { cn } from "cn";
import {
Select,
SelectContent,
@@ -51,7 +50,7 @@ export function ResearchScopeSelect({
disabled={disabledReason != null}
>
<SelectTrigger
- className={cn("data-[size=default]:h-10", className)}
+ className={className}
aria-label={ariaLabel}
title={disabledReason}
>
diff --git a/src/client/components/SearchCard.tsx b/src/client/components/SearchCard.tsx
index 84855b52..79d46147 100644
--- a/src/client/components/SearchCard.tsx
+++ b/src/client/components/SearchCard.tsx
@@ -38,13 +38,7 @@ export function SearchCard({
<form noValidate className="space-y-3" onSubmit={onSubmit}>
<div className="flex flex-col gap-3 lg:flex-row lg:items-center">
{children}
- {/* 40px, the height of the fields in the row. */}
- <Button
- type="submit"
- size="lg"
- className="h-10 px-6"
- pending={pending}
- >
+ <Button type="submit" className="px-6" pending={pending}>
Search
</Button>
</div>
@@ -66,7 +60,7 @@ export function SearchInput({
...props
}: ComponentProps<typeof InputGroupInput>) {
return (
- <InputGroup className={cn("h-10 lg:min-w-0 lg:flex-1", className)}>
+ <InputGroup className={cn("lg:min-w-0 lg:flex-1", className)}>
<InputGroupAddon>
<Search />
</InputGroupAddon>
diff --git a/src/client/components/ui/button.tsx b/src/client/components/ui/button.tsx
index 985cf280..9e5bd872 100644
--- a/src/client/components/ui/button.tsx
+++ b/src/client/components/ui/button.tsx
@@ -20,16 +20,16 @@ const buttonVariants = cva(
link: "text-primary underline-offset-4 hover:underline",
},
size: {
- default: "h-8 gap-1.5 px-2.5",
+ default: "h-10 gap-1.5 px-4",
xs: "h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
sm: "h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3.5",
- lg: "h-9 gap-1.5 px-2.5",
- icon: "size-8",
+ lg: "h-12 gap-2 px-6 text-base",
+ icon: "size-10",
"icon-xs":
"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3",
"icon-sm":
"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg",
- "icon-lg": "size-9",
+ "icon-lg": "size-12",
},
},
defaultVariants: {
diff --git a/src/client/components/ui/combobox.tsx b/src/client/components/ui/combobox.tsx
index bec5bd76..dc2ddff3 100644
--- a/src/client/components/ui/combobox.tsx
+++ b/src/client/components/ui/combobox.tsx
@@ -229,7 +229,7 @@ function ComboboxChips({
<ComboboxPrimitive.Chips
data-slot="combobox-chips"
className={cn(
- "flex min-h-8 flex-wrap items-center gap-1 rounded-lg border border-input bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1 dark:bg-input/30 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40",
+ "flex min-h-10 flex-wrap items-center gap-1 rounded-lg border border-input bg-background bg-clip-padding px-3 py-1 text-sm text-foreground transition-colors focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/50 has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 has-data-[slot=combobox-chip]:px-1 dark:has-aria-invalid:border-destructive/50 dark:has-aria-invalid:ring-destructive/40",
className,
)}
{...props}
diff --git a/src/client/components/ui/input-group.tsx b/src/client/components/ui/input-group.tsx
index 64773692..fd3d11a4 100644
--- a/src/client/components/ui/input-group.tsx
+++ b/src/client/components/ui/input-group.tsx
@@ -14,7 +14,7 @@ function InputGroup({ className, ...props }: React.ComponentProps<"div">) {
data-slot="input-group"
role="group"
className={cn(
- "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
+ "group/input-group relative flex h-10 w-full min-w-0 items-center rounded-lg border border-input bg-background text-foreground transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
className,
)}
{...props}
@@ -126,7 +126,7 @@ function InputGroupInput({
<Input
data-slot="input-group-control"
className={cn(
- "flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent",
+ "h-full flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent",
className,
)}
{...props}
diff --git a/src/client/components/ui/input.tsx b/src/client/components/ui/input.tsx
index 6e3974ba..6e093db2 100644
--- a/src/client/components/ui/input.tsx
+++ b/src/client/components/ui/input.tsx
@@ -8,7 +8,7 @@ function Input({ className, type, ...props }: React.ComponentProps<"input">) {
type={type}
data-slot="input"
className={cn(
- "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
+ "h-10 w-full min-w-0 rounded-lg border border-input bg-background px-3 py-1 text-base text-foreground transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
className,
)}
{...props}
diff --git a/src/client/components/ui/select.tsx b/src/client/components/ui/select.tsx
index 4910400e..38118ecd 100644
--- a/src/client/components/ui/select.tsx
+++ b/src/client/components/ui/select.tsx
@@ -40,7 +40,7 @@ function SelectTrigger({
data-slot="select-trigger"
data-size={size}
className={cn(
- "flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-background py-2 pr-2.5 pl-3 text-sm text-foreground whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-10 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className,
)}
{...props}
diff --git a/src/client/components/ui/textarea.tsx b/src/client/components/ui/textarea.tsx
index c7f2ec4b..363983d8 100644
--- a/src/client/components/ui/textarea.tsx
+++ b/src/client/components/ui/textarea.tsx
@@ -6,7 +6,7 @@ function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {
<textarea
data-slot="textarea"
className={cn(
- "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-transparent px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
+ "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-background px-3 py-2 text-base text-foreground transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
className,
)}
{...props}
diff --git a/src/client/components/ui/toggle.tsx b/src/client/components/ui/toggle.tsx
index a7cadc54..fca71424 100644
--- a/src/client/components/ui/toggle.tsx
+++ b/src/client/components/ui/toggle.tsx
@@ -11,9 +11,9 @@ const toggleVariants = cva(
outline: "border border-input bg-transparent hover:bg-muted",
},
size: {
- default: "h-8 min-w-8 px-2.5",
+ default: "h-10 min-w-10 px-3",
sm: "h-7 min-w-7 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] [&_svg:not([class*='size-'])]:size-3.5",
- lg: "h-9 min-w-9 px-2.5",
+ lg: "h-12 min-w-12 px-4 text-base",
},
},
defaultVariants: {
diff --git a/src/client/features/ai-mcp/AgentSetupPanel.tsx b/src/client/features/ai-mcp/AgentSetupPanel.tsx
index 85b1221f..0dc26c46 100644
--- a/src/client/features/ai-mcp/AgentSetupPanel.tsx
+++ b/src/client/features/ai-mcp/AgentSetupPanel.tsx
@@ -28,7 +28,7 @@ export function AgentSetupPanel({
<CopyButton
variant="default"
size="lg"
- className="h-11 w-full gap-2"
+ className="w-full"
value={prompt}
label="Copy setup prompt"
successMessage="Setup prompt copied"
diff --git a/src/client/features/ai-search/components/BrandLookupSearchCard.tsx b/src/client/features/ai-search/components/BrandLookupSearchCard.tsx
index f0498100..250be5e4 100644
--- a/src/client/features/ai-search/components/BrandLookupSearchCard.tsx
+++ b/src/client/features/ai-search/components/BrandLookupSearchCard.tsx
@@ -77,7 +77,6 @@ export function BrandLookupSearchCard({
onChange={(event) => onCompetitorsChange(event.target.value)}
autoComplete="off"
spellCheck={false}
- className="h-10"
aria-label="Competitors"
aria-invalid={competitorsError || undefined}
aria-describedby={
diff --git a/src/client/features/ai-search/components/PromptExplorerForm.tsx b/src/client/features/ai-search/components/PromptExplorerForm.tsx
index fc82d98c..b1006d08 100644
--- a/src/client/features/ai-search/components/PromptExplorerForm.tsx
+++ b/src/client/features/ai-search/components/PromptExplorerForm.tsx
@@ -182,7 +182,6 @@ export function PromptExplorerForm({
</div>
<Button
type="submit"
- size="lg"
className="px-6"
pending={isLoading}
disabled={form.models.length === 0}
diff --git a/src/client/features/billing/PlanPageAccountMenu.tsx b/src/client/features/billing/PlanPageAccountMenu.tsx
index be683b83..8e9e5b9e 100644
--- a/src/client/features/billing/PlanPageAccountMenu.tsx
+++ b/src/client/features/billing/PlanPageAccountMenu.tsx
@@ -24,7 +24,7 @@ export function PlanPageAccountMenu({ email }: { email: string | undefined }) {
render={
<Button
variant="ghost"
- size="icon-lg"
+ size="icon"
aria-label="Open account menu"
/>
}
diff --git a/src/client/features/dashboard/DashboardCards.tsx b/src/client/features/dashboard/DashboardCards.tsx
index b69fe626..b665d715 100644
--- a/src/client/features/dashboard/DashboardCards.tsx
+++ b/src/client/features/dashboard/DashboardCards.tsx
@@ -53,7 +53,7 @@ export function GscCard({
if (!connected || (report && !report.connected)) {
return (
<div id="connect-gsc">
- <GoogleConnectionCard provider="gsc" projectId={projectId} />
+ <GoogleConnectionCard provider="gsc" projectId={projectId} prominent />
</div>
);
}
@@ -121,6 +121,7 @@ export function AuditHealthCard({
message="Crawl your site for broken links, missing tags and indexability problems."
cta={
<Button
+ size="lg"
nativeButton={false}
render={<Link to="/p/$projectId/audit" params={{ projectId }} />}
>
diff --git a/src/client/features/dashboard/DashboardSetupAction.tsx b/src/client/features/dashboard/DashboardSetupAction.tsx
index 603ca57f..275899e2 100644
--- a/src/client/features/dashboard/DashboardSetupAction.tsx
+++ b/src/client/features/dashboard/DashboardSetupAction.tsx
@@ -173,7 +173,7 @@ export function DashboardSetupAction({
project. Use the project switcher in the sidebar → New project
anytime.
</p>
- <Button size="sm" onClick={() => setShowModal(true)}>
+ <Button onClick={() => setShowModal(true)}>
Create another project
</Button>
<Collapsible className="rounded-lg border border-border p-4">
@@ -211,9 +211,7 @@ export function DashboardSetupAction({
Bring a teammate into your workspace to share projects, research, and
results.
</p>
- <Button size="sm" onClick={() => setShowModal(true)}>
- Invite a teammate
- </Button>
+ <Button onClick={() => setShowModal(true)}>Invite a teammate</Button>
{showModal && (
<InviteTeammateModal
onClose={() => setShowModal(false)}
@@ -298,6 +296,7 @@ function StepInputForm({
onBlur={field.handleBlur}
onChange={(event) => field.handleChange(event.target.value)}
aria-invalid={field.state.meta.errors.length > 0}
+ className="h-12 px-4 md:text-base"
/>
{field.state.meta.errors.length > 0 && (
<span className="text-xs text-destructive">
@@ -309,7 +308,7 @@ function StepInputForm({
</form.Field>
<form.Subscribe selector={(state) => state.canSubmit}>
{(canSubmit) => (
- <Button type="submit" size="sm" disabled={!canSubmit || pending}>
+ <Button type="submit" size="lg" disabled={!canSubmit || pending}>
{submitLabel}
</Button>
)}
diff --git a/src/client/features/dashboard/Ga4ConnectCard.tsx b/src/client/features/dashboard/Ga4ConnectCard.tsx
index 586d2e06..847591ba 100644
--- a/src/client/features/dashboard/Ga4ConnectCard.tsx
+++ b/src/client/features/dashboard/Ga4ConnectCard.tsx
@@ -23,6 +23,7 @@ export function Ga4ConnectCard({
<GoogleConnectionCard
provider="ga4"
projectId={projectId}
+ prominent
onDismiss={
connected
? undefined
diff --git a/src/client/features/domain/components/DomainSearchCard.tsx b/src/client/features/domain/components/DomainSearchCard.tsx
index 3e5d250a..5feae1ed 100644
--- a/src/client/features/domain/components/DomainSearchCard.tsx
+++ b/src/client/features/domain/components/DomainSearchCard.tsx
@@ -111,7 +111,7 @@ export function DomainSearchCard({
>
<SelectTrigger
aria-label="Sort keywords"
- className="h-10 w-full shrink-0 data-[size=default]:h-10 lg:w-36"
+ className="w-full shrink-0 lg:w-36"
>
<SelectValue />
</SelectTrigger>
diff --git a/src/client/features/integrations/GoogleConnectionCard.tsx b/src/client/features/integrations/GoogleConnectionCard.tsx
index 4d730aed..85e909a2 100644
--- a/src/client/features/integrations/GoogleConnectionCard.tsx
+++ b/src/client/features/integrations/GoogleConnectionCard.tsx
@@ -34,9 +34,12 @@ export function GoogleConnectionCard({
projectId,
onDismiss,
dismissing = false,
+ prominent,
}: {
provider: GoogleProvider;
projectId: string;
+ /** Shows the connect button as a large primary call to action. */
+ prominent?: boolean;
/** Adds a Dismiss button while the project is not connected. */
onDismiss?: () => void;
dismissing?: boolean;
@@ -233,6 +236,7 @@ export function GoogleConnectionCard({
hasGrant={hasGrant}
canManage={canManage}
disabled={linking}
+ prominent={prominent}
onLink={handleConnect}
onChoose={startPicking}
>
diff --git a/src/client/features/integrations/GoogleProjectEmptyState.tsx b/src/client/features/integrations/GoogleProjectEmptyState.tsx
index c04d50d9..c6646bc6 100644
--- a/src/client/features/integrations/GoogleProjectEmptyState.tsx
+++ b/src/client/features/integrations/GoogleProjectEmptyState.tsx
@@ -7,6 +7,7 @@ export function GoogleProjectEmptyState({
hasGrant,
disabled,
canManage,
+ prominent,
onChoose,
onLink,
children,
@@ -15,6 +16,7 @@ export function GoogleProjectEmptyState({
hasGrant: boolean;
disabled: boolean;
canManage: boolean;
+ prominent?: boolean;
onChoose: () => void;
onLink: () => void;
children?: ReactNode;
@@ -29,14 +31,20 @@ export function GoogleProjectEmptyState({
<div className="flex flex-wrap items-center gap-1">
{canManage || hasGrant ? (
<Button
- variant="outline"
- size="sm"
+ variant={prominent ? "default" : "outline"}
+ size={prominent ? "lg" : "sm"}
onClick={hasGrant ? onChoose : onLink}
pending={disabled}
>
- {!disabled && !hasGrant ? (
+ {disabled || hasGrant ? null : prominent ? (
+ // The white chip keeps the brand colours readable on a primary
+ // button.
+ <span className="flex size-6 items-center justify-center rounded-full bg-white">
+ <GoogleGlyph className="size-4" />
+ </span>
+ ) : (
<GoogleGlyph className="size-[18px]" />
- ) : null}
+ )}
{disabled
? "Opening Google…"
: canManage
diff --git a/src/client/features/keywords/page/KeywordResearchPage.tsx b/src/client/features/keywords/page/KeywordResearchPage.tsx
index ee5c80c9..3fb5fbeb 100644
--- a/src/client/features/keywords/page/KeywordResearchPage.tsx
+++ b/src/client/features/keywords/page/KeywordResearchPage.tsx
@@ -199,7 +199,7 @@ export function KeywordResearchPage(input: Props) {
return (
<div className="px-4 py-4 md:px-6 md:py-6 pb-24 md:pb-8 overflow-auto">
- <div className="mx-auto flex max-w-7xl flex-col gap-5">
+ <div className="mx-auto flex max-w-7xl flex-col gap-4">
<PageHeader
title="Keyword Research"
description="Discover keyword ideas, search demand, and ranking opportunities."
diff --git a/src/client/features/keywords/page/KeywordResearchSearchBar.tsx b/src/client/features/keywords/page/KeywordResearchSearchBar.tsx
index 31b4071f..2806788f 100644
--- a/src/client/features/keywords/page/KeywordResearchSearchBar.tsx
+++ b/src/client/features/keywords/page/KeywordResearchSearchBar.tsx
@@ -35,7 +35,7 @@ export function KeywordResearchSearchBar({ controller }: Props) {
<CardContent className="space-y-2">
<form
noValidate
- className="flex flex-col gap-3 lg:flex-row lg:flex-wrap lg:items-start lg:gap-2"
+ className="flex flex-col gap-3 lg:flex-row lg:flex-wrap lg:items-start"
onSubmit={handleSearchSubmit}
>
<controlsForm.Field name="keyword">
@@ -52,7 +52,7 @@ export function KeywordResearchSearchBar({ controller }: Props) {
<Search />
</InputGroupAddon>
<InputGroupTextarea
- className="min-h-0 leading-6 field-sizing-fixed"
+ className="min-h-0 py-[7px] leading-6 field-sizing-fixed"
rows={rows}
placeholder="Enter a keyword"
aria-label="Keywords"
@@ -107,11 +107,7 @@ export function KeywordResearchSearchBar({ controller }: Props) {
<KeywordSearchOptions controller={controller} />
- <Button
- type="submit"
- size="lg"
- className="h-10 w-full px-6 lg:w-auto lg:shrink-0"
- >
+ <Button type="submit" className="w-full px-6 lg:w-auto lg:shrink-0">
Search
</Button>
</div>
diff --git a/src/client/features/keywords/page/KeywordSearchOptions.tsx b/src/client/features/keywords/page/KeywordSearchOptions.tsx
index 63fb8562..7e801766 100644
--- a/src/client/features/keywords/page/KeywordSearchOptions.tsx
+++ b/src/client/features/keywords/page/KeywordSearchOptions.tsx
@@ -55,8 +55,7 @@ export function KeywordSearchOptions({ controller }: Props) {
<>
<Button
variant="outline"
- size="lg"
- className="h-10 w-full font-normal lg:w-auto lg:shrink-0"
+ className="w-full font-normal lg:w-auto lg:shrink-0"
aria-haspopup="dialog"
onClick={() => setOpen(true)}
>
diff --git a/src/client/features/onboarding/SearchConsoleOnboardingStep.tsx b/src/client/features/onboarding/SearchConsoleOnboardingStep.tsx
index 1a4f707e..6077f682 100644
--- a/src/client/features/onboarding/SearchConsoleOnboardingStep.tsx
+++ b/src/client/features/onboarding/SearchConsoleOnboardingStep.tsx
@@ -193,6 +193,7 @@ function GscConnect({
<Button
type="button"
variant="outline"
+ size="lg"
onClick={handleConnect}
disabled={linking}
aria-busy={linking}
diff --git a/src/client/features/saved-keywords/SavedKeywordsFilterPanel.tsx b/src/client/features/saved-keywords/SavedKeywordsFilterPanel.tsx
index 390080f0..8139f7ee 100644
--- a/src/client/features/saved-keywords/SavedKeywordsFilterPanel.tsx
+++ b/src/client/features/saved-keywords/SavedKeywordsFilterPanel.tsx
@@ -148,7 +148,7 @@ function TermsTokenInput({
}
};
return (
- <div className="flex min-h-9 flex-wrap items-center gap-1.5 rounded-md border border-input px-2 py-1.5 focus-within:border-ring">
+ <div className="flex min-h-10 flex-wrap items-center gap-1.5 rounded-md border border-input bg-background px-2 py-1.5 focus-within:border-ring">
{terms.map((term) => (
<span
key={term}
diff --git a/src/client/styles/app.css b/src/client/styles/app.css
index 1e97bcb4..ced7b85a 100644
--- a/src/client/styles/app.css
+++ b/src/client/styles/app.css
@@ -87,7 +87,7 @@
--info: oklch(70% 0.15 230);
--info-foreground: oklch(100% 0 0);
--border: oklch(92% 0 0);
- --input: oklch(92% 0 0);
+ --input: oklch(82% 0 0);
--ring: oklch(50% 0.12 262);
--chart-1: oklch(57.5% 0.163 255.5);
--chart-2: oklch(67.1% 0.175 40.6);
@@ -128,7 +128,7 @@
--info: oklch(70% 0.15 230);
--info-foreground: oklch(100% 0 0);
--border: oklch(30% 0 0);
- --input: oklch(30% 0 0);
+ --input: oklch(40% 0 0);
--ring: oklch(66% 0.12 262);
--chart-1: oklch(62.2% 0.161 255.1);
--chart-2: oklch(62.2% 0.173 40.1);
diff --git a/src/routes/_app/ai.tsx b/src/routes/_app/ai.tsx
index 719be982..df0c28ef 100644
--- a/src/routes/_app/ai.tsx
+++ b/src/routes/_app/ai.tsx
@@ -112,7 +112,6 @@ function AiPage() {
<CopyButton
variant="default"
size="lg"
- className="h-11 gap-2 px-4"
value={prompt}
label="Copy setup prompt"
successMessage="Setup prompt copied"
@@ -160,7 +159,6 @@ function AiPage() {
<CopyButton
variant="default"
size="lg"
- className="h-11 gap-2 px-4"
value={agentUpdatePrompt}
label="Copy update prompt"
successMessage="Update prompt copied"