* fix: standardize design system tokens and typography - Bump dark mode --muted-foreground from 0.56 to 0.65 for readable secondary text - Bump dark mode --border from 0.235 to 0.28 for visible borders - Bump dark mode --sidebar-foreground from 0.72 to 0.78 - Replace all arbitrary font sizes with standard Tailwind scale: text-[0.625rem]→text-xs, text-[0.75rem]→text-xs, text-[0.8125rem]→text-sm, text-[0.9375rem]→text-base, text-[9-13px]→text-xs, text-[14-15px]→text-sm - Remove all opacity modifiers on text-muted-foreground (46 occurrences) — the token itself is already the correct contrast level * bump sidebar nav items from text-xs to text-sm * bump text-xs to text-sm for readable content Upgrade form labels, descriptions, helper text, error messages, dialog descriptions, select triggers, and loading states from text-xs (12px) to text-sm (14px). Keeps text-xs for badges, tooltips, code blocks, column headers, and secondary metadata.
Unified · Split
| @@ -65,7 +65,7 @@ function BillingPage() { · 64 unmodified lines | ||
| 65 | 65 | <div className="flex items-center justify-between py-4"> |
| 66 | 66 | <div> |
| 67 | 67 | <div className="flex items-center gap-2"> |
| 68 | − <p className="text-[0.8125rem] font-medium text-foreground leading-none"> | |
| 68 | + <p className="text-sm font-medium text-foreground leading-none"> | |
| 69 | 69 | {planName} |
| 70 | 70 | </p> |
| 71 | 71 | {isSwitching && ( |
| @@ -79,7 +79,7 @@ function BillingPage() { · 7 unmodified lines | ||
| 79 | 79 | </Badge> |
| 80 | 80 | )} |
| 81 | 81 | </div> |
| 82 | − <p className="mt-1 text-[0.75rem] text-muted-foreground/70 leading-none"> | |
| 82 | + <p className="mt-1 text-xs text-muted-foreground leading-none"> | |
| 83 | 83 | {isSwitching && sub?.currentPeriodEnd |
| 84 | 84 | ? `Starts ${new Date(sub.currentPeriodEnd).toLocaleDateString(undefined, { month: "long", day: "numeric", year: "numeric" })}` |
| 85 | 85 | : isCanceling && sub?.currentPeriodEnd |
| @@ -95,14 +95,14 @@ function BillingPage() { · 9 unmodified lines | ||
| 95 | 95 | variant="ghost" |
| 96 | 96 | type="button" |
| 97 | 97 | onClick={() => openCustomerPortal()} |
| 98 | − className="rounded-md px-3 py-1.5 text-[0.75rem] font-medium text-destructive transition-colors hover:bg-destructive/10" | |
| 98 | + className="rounded-md px-3 py-1.5 text-xs font-medium text-destructive transition-colors hover:bg-destructive/10" | |
| 99 | 99 | > |
| 100 | 100 | Cancel plan |
| 101 | 101 | </Button> |
| 102 | 102 | )} |
| 103 | 103 | <Link |
| 104 | 104 | to="/billing/plans" |
| 105 | − className="rounded-md bg-primary px-3 py-1.5 text-[0.75rem] font-medium text-primary-foreground transition-colors hover:bg-primary/90" | |
| 105 | + className="rounded-md bg-primary px-3 py-1.5 text-xs font-medium text-primary-foreground transition-colors hover:bg-primary/90" | |
| 106 | 106 | > |
| 107 | 107 | Manage |
| 108 | 108 | </Link> |
| @@ -116,10 +116,10 @@ function BillingPage() { · 7 unmodified lines | ||
| 116 | 116 | {executions && ( |
| 117 | 117 | <div className="py-4"> |
| 118 | 118 | <div className="flex items-center justify-between mb-2"> |
| 119 | − <p className="text-[0.8125rem] font-medium text-foreground">Executions</p> | |
| 120 | − <p className="text-[0.8125rem] tabular-nums text-muted-foreground"> | |
| 119 | + <p className="text-sm font-medium text-foreground">Executions</p> | |
| 120 | + <p className="text-sm tabular-nums text-muted-foreground"> | |
| 121 | 121 | {executions.usage.toLocaleString()} |
| 122 | − <span className="text-muted-foreground/50"> | |
| 122 | + <span className="text-muted-foreground"> | |
| 123 | 123 | {" / "} |
| 124 | 124 | {executions.granted.toLocaleString()} this month |
| 125 | 125 | </span> |
| @@ -58,7 +58,7 @@ function PlansPage() { · 57 unmodified lines | ||
| 58 | 58 | <div className="mb-8"> |
| 59 | 59 | <Link |
| 60 | 60 | to="/billing" |
| 61 | − className="inline-flex items-center gap-1 text-[0.8125rem] text-muted-foreground hover:text-foreground transition-colors mb-4" | |
| 61 | + className="inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors mb-4" | |
| 62 | 62 | > |
| 63 | 63 | <svg viewBox="0 0 16 16" fill="none" className="size-3.5"> |
| 64 | 64 | <path |
| @@ -74,7 +74,7 @@ function PlansPage() { · 9 unmodified lines | ||
| 74 | 74 | <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl"> |
| 75 | 75 | Choose a plan |
| 76 | 76 | </h1> |
| 77 | − <p className="mt-1.5 text-[0.875rem] text-muted-foreground"> | |
| 77 | + <p className="mt-1.5 text-sm text-muted-foreground"> | |
| 78 | 78 | Pick the plan that works for you. Upgrade or downgrade anytime. |
| 79 | 79 | </p> |
| 80 | 80 | </div> |
| @@ -117,7 +117,7 @@ function PlansPage() { · 36 unmodified lines | ||
| 117 | 117 | ].join(" ")} |
| 118 | 118 | > |
| 119 | 119 | <div className="flex items-center justify-between"> |
| 120 | − <p className="text-[0.9375rem] font-semibold text-foreground leading-none"> | |
| 120 | + <p className="text-base font-semibold text-foreground leading-none"> | |
| 121 | 121 | {plan.name} |
| 122 | 122 | </p> |
| 123 | 123 | {isCurrent && ( |
| @@ -136,14 +136,14 @@ function PlansPage() { · 12 unmodified lines | ||
| 136 | 136 | </Badge> |
| 137 | 137 | )} |
| 138 | 138 | </div> |
| 139 | − <p className="mt-1 text-[0.75rem] text-muted-foreground/70">{meta.tagline}</p> | |
| 139 | + <p className="mt-1 text-sm text-muted-foreground">{meta.tagline}</p> | |
| 140 | 140 | |
| 141 | 141 | <div className="mt-4 flex items-baseline gap-1.5"> |
| 142 | 142 | <span className="text-2xl font-semibold text-foreground tabular-nums"> |
| 143 | 143 | ${plan.price?.amount ?? 0} |
| 144 | 144 | </span> |
| 145 | 145 | {plan.price?.interval && ( |
| 146 | − <span className="text-[0.75rem] text-muted-foreground/60"> | |
| 146 | + <span className="text-sm text-muted-foreground"> | |
| 147 | 147 | USD / seat / {plan.price.interval} |
| 148 | 148 | </span> |
| 149 | 149 | )} |
| @@ -151,7 +151,7 @@ function PlansPage() { · 1 unmodified line | ||
| 151 | 151 | |
| 152 | 152 | <div className="mt-4"> |
| 153 | 153 | {(isCurrent && !isCanceling) || isScheduled ? ( |
| 154 | − <div className="flex h-9 items-center justify-center rounded-md border border-border bg-muted/30 text-[0.8125rem] font-medium text-muted-foreground"> | |
| 154 | + <div className="flex h-9 items-center justify-center rounded-md border border-border bg-muted/30 text-sm font-medium text-muted-foreground"> | |
| 155 | 155 | {isCurrent ? "Current plan" : "Scheduled"} |
| 156 | 156 | </div> |
| 157 | 157 | ) : isCanceling ? ( |
| @@ -159,7 +159,7 @@ function PlansPage() { · 1 unmodified line | ||
| 159 | 159 | type="button" |
| 160 | 160 | disabled={loadingPlan !== null} |
| 161 | 161 | onClick={() => openCustomerPortal()} |
| 162 | − className="flex h-9 w-full items-center justify-center rounded-md bg-primary text-[0.8125rem] font-medium text-primary-foreground transition-colors hover:bg-primary/90 disabled:opacity-60" | |
| 162 | + className="flex h-9 w-full items-center justify-center rounded-md bg-primary text-sm font-medium text-primary-foreground transition-colors hover:bg-primary/90 disabled:opacity-60" | |
| 163 | 163 | > |
| 164 | 164 | Resume |
| 165 | 165 | </Button> |
| @@ -173,7 +173,7 @@ function PlansPage() { · 7 unmodified lines | ||
| 173 | 173 | setLoadingPlan(null); |
| 174 | 174 | }} |
| 175 | 175 | className={[ |
| 176 | − "flex h-9 w-full items-center justify-center rounded-md text-[0.8125rem] font-medium transition-colors disabled:opacity-60", | |
| 176 | + "flex h-9 w-full items-center justify-center rounded-md text-sm font-medium transition-colors disabled:opacity-60", | |
| 177 | 177 | isUpgradeAction |
| 178 | 178 | ? "bg-primary text-primary-foreground hover:bg-primary/90" |
| 179 | 179 | : "border border-border bg-background text-foreground hover:bg-muted", |
| @@ -188,7 +188,7 @@ function PlansPage() { · 8 unmodified lines | ||
| 188 | 188 | {meta.features.map((f) => ( |
| 189 | 189 | <li |
| 190 | 190 | key={f} |
| 191 | − className="flex items-start gap-2 text-[0.75rem] text-muted-foreground" | |
| 191 | + className="flex items-start gap-2 text-xs text-muted-foreground" | |
| 192 | 192 | > |
| 193 | 193 | <svg |
| 194 | 194 | viewBox="0 0 16 16" |
| @@ -353,7 +353,7 @@ function OrgPage() { · 352 unmodified lines | ||
| 353 | 353 | {member.avatarUrl ? ( |
| 354 | 354 | <img src={member.avatarUrl} alt="" className="size-8 rounded-full" /> |
| 355 | 355 | ) : ( |
| 356 | − <div className="flex size-8 items-center justify-center rounded-full bg-muted text-[0.625rem] font-semibold text-muted-foreground"> | |
| 356 | + <div className="flex size-8 items-center justify-center rounded-full bg-muted text-xs font-semibold text-muted-foreground"> | |
| 357 | 357 | {member.name |
| 358 | 358 | ? member.name |
| 359 | 359 | .split(" ") |
| @@ -368,7 +368,7 @@ function OrgPage() { · 8 unmodified lines | ||
| 368 | 368 | {/* Name + email */} |
| 369 | 369 | <div className="min-w-0"> |
| 370 | 370 | <div className="flex items-center gap-2"> |
| 371 | − <p className="truncate text-[0.8125rem] font-medium text-foreground leading-none"> | |
| 371 | + <p className="truncate text-sm font-medium text-foreground leading-none"> | |
| 372 | 372 | {member.name ?? member.email} |
| 373 | 373 | </p> |
| 374 | 374 | {member.isCurrentUser && ( |
| @@ -381,19 +381,19 @@ function OrgPage() { · 6 unmodified lines | ||
| 381 | 381 | )} |
| 382 | 382 | </div> |
| 383 | 383 | {member.name && ( |
| 384 | − <p className="mt-0.5 truncate text-[0.75rem] text-muted-foreground leading-none"> | |
| 384 | + <p className="mt-0.5 truncate text-xs text-muted-foreground leading-none"> | |
| 385 | 385 | {member.email} |
| 386 | 386 | </p> |
| 387 | 387 | )} |
| 388 | 388 | </div> |
| 389 | 389 | |
| 390 | 390 | {/* Role */} |
| 391 | − <p className="text-[0.8125rem] text-muted-foreground capitalize leading-none"> | |
| 391 | + <p className="text-sm text-muted-foreground capitalize leading-none"> | |
| 392 | 392 | {member.role} |
| 393 | 393 | </p> |
| 394 | 394 | |
| 395 | 395 | {/* Last active */} |
| 396 | − <p className="text-[0.75rem] text-muted-foreground leading-none"> | |
| 396 | + <p className="text-xs text-muted-foreground leading-none"> | |
| 397 | 397 | {formatLastActive(member.lastActiveAt)} |
| 398 | 398 | </p> |
| 399 | 399 | |
| @@ -417,14 +417,14 @@ function OrgPage() { · 17 unmodified lines | ||
| 417 | 417 | {roles.length > 0 && ( |
| 418 | 418 | <> |
| 419 | 419 | <DropdownMenuSub> |
| 420 | − <DropdownMenuSubTrigger className="text-[0.75rem]"> | |
| 420 | + <DropdownMenuSubTrigger className="text-xs"> | |
| 421 | 421 | Change role |
| 422 | 422 | </DropdownMenuSubTrigger> |
| 423 | 423 | <DropdownMenuSubContent> |
| 424 | 424 | {roles.map((role) => ( |
| 425 | 425 | <DropdownMenuItem |
| 426 | 426 | key={role.slug} |
| 427 | − className="text-[0.75rem]" | |
| 427 | + className="text-xs" | |
| 428 | 428 | disabled={role.slug === member.role} |
| 429 | 429 | onClick={() => |
| 430 | 430 | handleChangeRole(member.id, role.slug, role.name) |
| @@ -452,7 +452,7 @@ function OrgPage() { · 21 unmodified lines | ||
| 452 | 452 | </> |
| 453 | 453 | )} |
| 454 | 454 | <DropdownMenuItem |
| 455 | − className="text-destructive focus:text-destructive text-[0.75rem]" | |
| 455 | + className="text-destructive focus:text-destructive text-sm" | |
| 456 | 456 | onClick={() => handleRemove(member.id, member.name ?? member.email)} |
| 457 | 457 | > |
| 458 | 458 | Remove member |
| @@ -539,7 +539,7 @@ function DomainCard({ · 80 unmodified lines | ||
| 539 | 539 | </DropdownMenuTrigger> |
| 540 | 540 | <DropdownMenuContent align="end" className="w-44"> |
| 541 | 541 | <DropdownMenuItem |
| 542 | − className="text-destructive focus:text-destructive text-[0.75rem]" | |
| 542 | + className="text-destructive focus:text-destructive text-sm" | |
| 543 | 543 | onClick={onDelete} |
| 544 | 544 | > |
| 545 | 545 | Remove domain |
| @@ -618,7 +618,7 @@ function InviteDialog(props: { · 72 unmodified lines | ||
| 618 | 618 | <DialogContent className="sm:max-w-[400px]"> |
| 619 | 619 | <DialogHeader> |
| 620 | 620 | <DialogTitle className="font-display text-xl">Invite member</DialogTitle> |
| 621 | − <DialogDescription className="text-[0.8125rem] leading-relaxed"> | |
| 621 | + <DialogDescription className="text-sm leading-relaxed"> | |
| 622 | 622 | Send an email invitation to join your organization. |
| 623 | 623 | </DialogDescription> |
| 624 | 624 | </DialogHeader> |
| @@ -627,7 +627,7 @@ function InviteDialog(props: { · 2 unmodified lines | ||
| 627 | 627 | <div className="grid gap-1.5"> |
| 628 | 628 | <Label |
| 629 | 629 | htmlFor="invite-email" |
| 630 | − className="text-[0.6875rem] font-medium uppercase tracking-wider text-muted-foreground" | |
| 630 | + className="text-sm font-medium uppercase tracking-wider text-muted-foreground" | |
| 631 | 631 | > |
| 632 | 632 | |
| 633 | 633 | </Label> |
| @@ -642,7 +642,7 @@ function InviteDialog(props: { · 8 unmodified lines | ||
| 642 | 642 | onKeyDown={(e) => { |
| 643 | 643 | if (e.key === "Enter") handleInvite(); |
| 644 | 644 | }} |
| 645 | − className="text-[0.8125rem] h-9" | |
| 645 | + className="text-sm h-9" | |
| 646 | 646 | /> |
| 647 | 647 | </div> |
| 648 | 648 | |
| @@ -650,7 +650,7 @@ function InviteDialog(props: { · 1 unmodified line | ||
| 650 | 650 | <div className="grid gap-1.5"> |
| 651 | 651 | <Label |
| 652 | 652 | htmlFor="invite-role" |
| 653 | − className="text-[0.6875rem] font-medium uppercase tracking-wider text-muted-foreground" | |
| 653 | + className="text-sm font-medium uppercase tracking-wider text-muted-foreground" | |
| 654 | 654 | > |
| 655 | 655 | Role |
| 656 | 656 | </Label> |
| @@ -658,7 +658,7 @@ function InviteDialog(props: { · 1 unmodified line | ||
| 658 | 658 | value={state.roleSlug} |
| 659 | 659 | onValueChange={(v) => dispatch({ type: "setRole", roleSlug: v })} |
| 660 | 660 | > |
| 661 | − <SelectTrigger id="invite-role" className="h-9 text-[0.8125rem]"> | |
| 661 | + <SelectTrigger id="invite-role" className="h-9 text-sm"> | |
| 662 | 662 | <SelectValue placeholder="Select a role" /> |
| 663 | 663 | </SelectTrigger> |
| 664 | 664 | <SelectContent> |
| @@ -674,7 +674,7 @@ function InviteDialog(props: { · 9 unmodified lines | ||
| 674 | 674 | |
| 675 | 675 | {state.status === "error" && state.error && ( |
| 676 | 676 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 677 | − <p className="text-[0.75rem] text-destructive">{state.error}</p> | |
| 677 | + <p className="text-sm text-destructive">{state.error}</p> | |
| 678 | 678 | </div> |
| 679 | 679 | )} |
| 680 | 680 | </div> |
| @@ -28,7 +28,7 @@ function NavItem(props: { to: string; label: string; active: boolean; onNavigate · 27 unmodified lines | ||
| 28 | 28 | to={props.to} |
| 29 | 29 | onClick={props.onNavigate} |
| 30 | 30 | className={[ |
| 31 | − "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-[13px] transition-colors", | |
| 31 | + "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-sm transition-colors", | |
| 32 | 32 | props.active |
| 33 | 33 | ? "bg-sidebar-active text-foreground font-medium" |
| 34 | 34 | : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground", |
| @@ -47,14 +47,14 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 12 unmodified lines | ||
| 47 | 47 | |
| 48 | 48 | return Result.match(sources, { |
| 49 | 49 | onInitial: () => ( |
| 50 | − <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">Loading…</div> | |
| 50 | + <div className="px-2.5 py-2 text-xs text-muted-foreground">Loading…</div> | |
| 51 | 51 | ), |
| 52 | 52 | onFailure: () => ( |
| 53 | − <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">No sources yet</div> | |
| 53 | + <div className="px-2.5 py-2 text-xs text-muted-foreground">No sources yet</div> | |
| 54 | 54 | ), |
| 55 | 55 | onSuccess: ({ value }) => |
| 56 | 56 | value.length === 0 ? ( |
| 57 | − <div className="px-2.5 py-2 text-[11px] leading-relaxed text-muted-foreground/40"> | |
| 57 | + <div className="px-2.5 py-2 text-sm leading-relaxed text-muted-foreground"> | |
| 58 | 58 | No sources yet |
| 59 | 59 | </div> |
| 60 | 60 | ) : ( |
| @@ -70,7 +70,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 9 unmodified lines | ||
| 70 | 70 | params={{ namespace: s.id }} |
| 71 | 71 | onClick={props.onNavigate} |
| 72 | 72 | className={[ |
| 73 | − "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-[13px] transition-colors", | |
| 73 | + "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-xs transition-colors", | |
| 74 | 74 | active |
| 75 | 75 | ? "bg-sidebar-active text-foreground font-medium" |
| 76 | 76 | : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground", |
| @@ -78,7 +78,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 1 unmodified line | ||
| 78 | 78 | > |
| 79 | 79 | <SourceFavicon url={s.url} /> |
| 80 | 80 | <span className="flex-1 truncate">{s.name}</span> |
| 81 | − <span className="rounded bg-secondary/50 px-1 py-px text-[9px] font-medium text-muted-foreground/50"> | |
| 81 | + <span className="rounded bg-secondary/50 px-1 py-px text-xs font-medium text-muted-foreground"> | |
| 82 | 82 | {s.kind} |
| 83 | 83 | </span> |
| 84 | 84 | </Link> |
| @@ -110,16 +110,16 @@ function UserFooter() { · 25 unmodified lines | ||
| 110 | 110 | {auth.user.avatarUrl ? ( |
| 111 | 111 | <img src={auth.user.avatarUrl} alt="" className="size-7 shrink-0 rounded-full" /> |
| 112 | 112 | ) : ( |
| 113 | − <div className="flex size-7 shrink-0 items-center justify-center rounded-full bg-primary/10 text-[10px] font-semibold text-primary"> | |
| 113 | + <div className="flex size-7 shrink-0 items-center justify-center rounded-full bg-primary/10 text-xs font-semibold text-primary"> | |
| 114 | 114 | {initials} |
| 115 | 115 | </div> |
| 116 | 116 | )} |
| 117 | 117 | <div className="min-w-0 flex-1"> |
| 118 | − <p className="truncate text-[12px] font-medium text-foreground"> | |
| 118 | + <p className="truncate text-xs font-medium text-foreground"> | |
| 119 | 119 | {auth.user.name ?? auth.user.email} |
| 120 | 120 | </p> |
| 121 | 121 | {auth.organization && ( |
| 122 | − <p className="truncate text-[10px] text-muted-foreground">{auth.organization.name}</p> | |
| 122 | + <p className="truncate text-xs text-muted-foreground">{auth.organization.name}</p> | |
| 123 | 123 | )} |
| 124 | 124 | </div> |
| 125 | 125 | <form action={AUTH_PATHS.logout} method="post"> |
| @@ -127,7 +127,7 @@ function UserFooter() { · 1 unmodified line | ||
| 127 | 127 | variant="ghost" |
| 128 | 128 | size="icon-xs" |
| 129 | 129 | type="submit" |
| 130 | − className="shrink-0 text-muted-foreground/50 hover:bg-sidebar-active hover:text-foreground" | |
| 130 | + className="shrink-0 text-muted-foreground hover:bg-sidebar-active hover:text-foreground" | |
| 131 | 131 | title="Sign out" |
| 132 | 132 | > |
| 133 | 133 | <svg viewBox="0 0 16 16" fill="none" className="size-3.5"> |
| @@ -170,7 +170,7 @@ function SidebarContent(props: { pathname: string; onNavigate?: () => void; show · 36 unmodified lines | ||
| 170 | 170 | <NavItem to="/org" label="Organization" active={isOrg} onNavigate={props.onNavigate} /> |
| 171 | 171 | <NavItem to="/billing" label="Billing" active={isBilling} onNavigate={props.onNavigate} /> |
| 172 | 172 | |
| 173 | − <div className="mt-5 mb-1 px-2.5 text-[10px] font-medium uppercase tracking-widest text-muted-foreground/50"> | |
| 173 | + <div className="mt-5 mb-1 px-2.5 text-xs font-medium uppercase tracking-widest text-muted-foreground"> | |
| 174 | 174 | <span>Sources</span> |
| 175 | 175 | </div> |
| 176 | 176 | |
| @@ -152,8 +152,8 @@ function UpdateCard(props: { latestVersion: string; channel: UpdateChannel }) { · 151 unmodified lines | ||
| 152 | 152 | </svg> |
| 153 | 153 | </div> |
| 154 | 154 | <div className="min-w-0"> |
| 155 | − <p className="text-[11px] font-semibold text-foreground">Update available</p> | |
| 156 | − <p className="text-[10px] text-muted-foreground">v{props.latestVersion}</p> | |
| 155 | + <p className="text-xs font-semibold text-foreground">Update available</p> | |
| 156 | + <p className="text-sm text-muted-foreground">v{props.latestVersion}</p> | |
| 157 | 157 | </div> |
| 158 | 158 | </div> |
| 159 | 159 | <Button |
| @@ -162,7 +162,7 @@ function UpdateCard(props: { latestVersion: string; channel: UpdateChannel }) { · 2 unmodified lines | ||
| 162 | 162 | onClick={handleCopy} |
| 163 | 163 | className="mt-2.5 flex w-full items-center justify-between gap-2 rounded-lg border-border/60 bg-background/50 px-2.5 py-1.5 text-left hover:bg-background/80" |
| 164 | 164 | > |
| 165 | − <code className="truncate font-mono text-[10px] text-sidebar-foreground">{command}</code> | |
| 165 | + <code className="truncate font-mono text-xs text-sidebar-foreground">{command}</code> | |
| 166 | 166 | <span className="shrink-0 text-muted-foreground transition-colors group-hover:text-foreground"> |
| 167 | 167 | {copied ? ( |
| 168 | 168 | <svg viewBox="0 0 16 16" fill="none" className="size-3 text-primary"> |
| @@ -207,7 +207,7 @@ function NavItem(props: { to: string; label: string; active: boolean; onNavigate · 38 unmodified lines | ||
| 207 | 207 | to={props.to} |
| 208 | 208 | onClick={props.onNavigate} |
| 209 | 209 | className={[ |
| 210 | − "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-[13px] transition-colors", | |
| 210 | + "flex items-center gap-2.5 rounded-md px-2.5 py-1.5 text-sm transition-colors", | |
| 211 | 211 | props.active |
| 212 | 212 | ? "bg-sidebar-active text-foreground font-medium" |
| 213 | 213 | : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground", |
| @@ -226,14 +226,14 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 12 unmodified lines | ||
| 226 | 226 | |
| 227 | 227 | return Result.match(sources, { |
| 228 | 228 | onInitial: () => ( |
| 229 | − <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">Loading…</div> | |
| 229 | + <div className="px-2.5 py-2 text-xs text-muted-foreground">Loading…</div> | |
| 230 | 230 | ), |
| 231 | 231 | onFailure: () => ( |
| 232 | − <div className="px-2.5 py-2 text-[11px] text-muted-foreground/40">No sources yet</div> | |
| 232 | + <div className="px-2.5 py-2 text-xs text-muted-foreground">No sources yet</div> | |
| 233 | 233 | ), |
| 234 | 234 | onSuccess: ({ value }) => |
| 235 | 235 | value.length === 0 ? ( |
| 236 | − <div className="px-2.5 py-2 text-[11px] leading-relaxed text-muted-foreground/40"> | |
| 236 | + <div className="px-2.5 py-2 text-sm leading-relaxed text-muted-foreground"> | |
| 237 | 237 | No sources yet |
| 238 | 238 | </div> |
| 239 | 239 | ) : ( |
| @@ -249,7 +249,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 9 unmodified lines | ||
| 249 | 249 | params={{ namespace: s.id }} |
| 250 | 250 | onClick={props.onNavigate} |
| 251 | 251 | className={[ |
| 252 | − "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-[13px] transition-colors", | |
| 252 | + "group flex items-center gap-2 rounded-md px-2.5 py-1.5 text-xs transition-colors", | |
| 253 | 253 | active |
| 254 | 254 | ? "bg-sidebar-active text-foreground font-medium" |
| 255 | 255 | : "text-sidebar-foreground hover:bg-sidebar-active/60 hover:text-foreground", |
| @@ -257,7 +257,7 @@ function SourceList(props: { pathname: string; onNavigate?: () => void }) { · 1 unmodified line | ||
| 257 | 257 | > |
| 258 | 258 | <SourceFavicon url={s.url} /> |
| 259 | 259 | <span className="flex-1 truncate">{s.name}</span> |
| 260 | − <span className="rounded bg-secondary/50 px-1 py-px text-[9px] font-medium text-muted-foreground/50"> | |
| 260 | + <span className="rounded bg-secondary/50 px-1 py-px text-xs font-medium text-muted-foreground"> | |
| 261 | 261 | {s.kind} |
| 262 | 262 | </span> |
| 263 | 263 | </Link> |
| @@ -278,14 +278,14 @@ function ScopeLabel() { · 14 unmodified lines | ||
| 278 | 278 | |
| 279 | 279 | return ( |
| 280 | 280 | <div className="mb-1.5 flex items-center gap-1.5 rounded-md px-2.5 py-1.5" title={name}> |
| 281 | − <svg viewBox="0 0 16 16" fill="none" className="size-3.5 shrink-0 text-muted-foreground/50"> | |
| 281 | + <svg viewBox="0 0 16 16" fill="none" className="size-3.5 shrink-0 text-muted-foreground"> | |
| 282 | 282 | <path |
| 283 | 283 | d="M2 4.5C2 3.67 2.67 3 3.5 3h3.09a1 1 0 0 1 .7.29l1.42 1.42a1 1 0 0 0 .7.29H12.5c.83 0 1.5.67 1.5 1.5v5.5c0 .83-.67 1.5-1.5 1.5h-9A1.5 1.5 0 0 1 2 12V4.5z" |
| 284 | 284 | stroke="currentColor" |
| 285 | 285 | strokeWidth="1.2" |
| 286 | 286 | /> |
| 287 | 287 | </svg> |
| 288 | − <span className="truncate text-[12px] font-medium text-foreground/80">{folder}</span> | |
| 288 | + <span className="truncate text-xs font-medium text-foreground/80">{folder}</span> | |
| 289 | 289 | </div> |
| 290 | 290 | ); |
| 291 | 291 | } |
| @@ -319,7 +319,7 @@ function SidebarContent(props: { · 27 unmodified lines | ||
| 319 | 319 | <NavItem to="/secrets" label="Secrets" active={isSecrets} onNavigate={props.onNavigate} /> |
| 320 | 320 | |
| 321 | 321 | {/* Sources list */} |
| 322 | − <div className="mt-5 mb-1 px-2.5 text-[10px] font-medium uppercase tracking-widest text-muted-foreground/50"> | |
| 322 | + <div className="mt-5 mb-1 px-2.5 text-xs font-medium uppercase tracking-widest text-muted-foreground"> | |
| 323 | 323 | <span>Sources</span> |
| 324 | 324 | </div> |
| 325 | 325 | |
| @@ -332,12 +332,12 @@ function SidebarContent(props: { · 6 unmodified lines | ||
| 332 | 332 | |
| 333 | 333 | {/* Footer */} |
| 334 | 334 | <div className="shrink-0 border-t border-sidebar-border px-4 py-2.5"> |
| 335 | − <div className="flex flex-col gap-1.5 text-[11px] leading-none"> | |
| 335 | + <div className="flex flex-col gap-1.5 text-xs leading-none"> | |
| 336 | 336 | <a |
| 337 | 337 | href={`${VITE_GITHUB_URL}/issues`} |
| 338 | 338 | target="_blank" |
| 339 | 339 | rel="noreferrer" |
| 340 | − className="text-muted-foreground/70 transition-colors hover:text-foreground" | |
| 340 | + className="text-muted-foreground transition-colors hover:text-foreground" | |
| 341 | 341 | > |
| 342 | 342 | Feedback / bug? |
| 343 | 343 | </a> |
| @@ -345,11 +345,11 @@ function SidebarContent(props: { · 1 unmodified line | ||
| 345 | 345 | href={VITE_GITHUB_URL} |
| 346 | 346 | target="_blank" |
| 347 | 347 | rel="noreferrer" |
| 348 | − className="text-muted-foreground/70 transition-colors hover:text-foreground" | |
| 348 | + className="text-muted-foreground transition-colors hover:text-foreground" | |
| 349 | 349 | > |
| 350 | 350 | Star on GitHub |
| 351 | 351 | </a> |
| 352 | − <span className="mt-0.5 text-[10px] text-muted-foreground/50 tabular-nums"> | |
| 352 | + <span className="mt-0.5 text-xs text-muted-foreground tabular-nums"> | |
| 353 | 353 | v{VITE_APP_VERSION} |
| 354 | 354 | </span> |
| 355 | 355 | </div> |
| @@ -61,40 +61,40 @@ function InlineCreateSecret(props: { · 60 unmodified lines | ||
| 61 | 61 | |
| 62 | 62 | return ( |
| 63 | 63 | <div className="rounded-lg border border-primary/20 bg-primary/[0.02] p-3 space-y-2.5"> |
| 64 | − <p className="text-[11px] font-semibold text-primary tracking-wide uppercase">New secret</p> | |
| 64 | + <p className="text-xs font-semibold text-primary tracking-wide uppercase">New secret</p> | |
| 65 | 65 | <div className="grid grid-cols-2 gap-2"> |
| 66 | 66 | <div className="space-y-1"> |
| 67 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">ID</Label> | |
| 67 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground">ID</Label> | |
| 68 | 68 | <Input |
| 69 | 69 | value={secretId} |
| 70 | 70 | onChange={(e) => setSecretIdValue((e.target as HTMLInputElement).value)} |
| 71 | 71 | placeholder="google-client-secret" |
| 72 | − className="h-8 text-xs font-mono" | |
| 72 | + className="h-8 text-sm font-mono" | |
| 73 | 73 | /> |
| 74 | 74 | </div> |
| 75 | 75 | <div className="space-y-1"> |
| 76 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 76 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 77 | 77 | Label |
| 78 | 78 | </Label> |
| 79 | 79 | <Input |
| 80 | 80 | value={secretName} |
| 81 | 81 | onChange={(e) => setSecretName((e.target as HTMLInputElement).value)} |
| 82 | 82 | placeholder="Client Secret" |
| 83 | − className="h-8 text-xs" | |
| 83 | + className="h-8 text-sm" | |
| 84 | 84 | /> |
| 85 | 85 | </div> |
| 86 | 86 | </div> |
| 87 | 87 | <div className="space-y-1"> |
| 88 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">Value</Label> | |
| 88 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground">Value</Label> | |
| 89 | 89 | <Input |
| 90 | 90 | type="password" |
| 91 | 91 | value={secretValue} |
| 92 | 92 | onChange={(e) => setSecretValue((e.target as HTMLInputElement).value)} |
| 93 | 93 | placeholder="paste your client secret…" |
| 94 | − className="h-8 text-xs font-mono" | |
| 94 | + className="h-8 text-sm font-mono" | |
| 95 | 95 | /> |
| 96 | 96 | </div> |
| 97 | − {error && <p className="text-[11px] text-destructive">{error}</p>} | |
| 97 | + {error && <p className="text-sm text-destructive">{error}</p>} | |
| 98 | 98 | <div className="flex gap-1.5 pt-0.5"> |
| 99 | 99 | <Button variant="outline" size="xs" onClick={props.onCancel}> |
| 100 | 100 | Cancel |
| @@ -582,7 +582,7 @@ export default function AddGoogleDiscoverySource(props: { · 481 unmodified lines | ||
| 582 | 582 | <div className="space-y-6"> |
| 583 | 583 | <div> |
| 584 | 584 | <h1 className="text-xl font-semibold text-foreground">Add Google Discovery Source</h1> |
| 585 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 585 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 586 | 586 | Connect a Google API from its Discovery document and register its methods as tools. |
| 587 | 587 | </p> |
| 588 | 588 | </div> |
| @@ -590,7 +590,7 @@ export default function AddGoogleDiscoverySource(props: { · 1 unmodified line | ||
| 590 | 590 | <section className="space-y-2"> |
| 591 | 591 | <div className="flex items-center justify-between gap-3"> |
| 592 | 592 | <Label>Presets</Label> |
| 593 | − <span className="text-xs text-muted-foreground"> | |
| 593 | + <span className="text-sm text-muted-foreground"> | |
| 594 | 594 | Select a Google API to prefill the source. |
| 595 | 595 | </span> |
| 596 | 596 | </div> |
| @@ -620,11 +620,11 @@ export default function AddGoogleDiscoverySource(props: { · 23 unmodified lines | ||
| 620 | 620 | </div> |
| 621 | 621 | <div className="min-w-0"> |
| 622 | 622 | <p className="text-sm font-semibold text-foreground">{template.name}</p> |
| 623 | − <p className="mt-1 text-xs text-muted-foreground">{template.summary}</p> | |
| 623 | + <p className="mt-1 text-sm text-muted-foreground">{template.summary}</p> | |
| 624 | 624 | </div> |
| 625 | 625 | </div> |
| 626 | 626 | <div className="mt-3 flex items-center justify-between gap-3"> |
| 627 | − <p className="text-[11px] font-mono text-muted-foreground"> | |
| 627 | + <p className="text-xs font-mono text-muted-foreground"> | |
| 628 | 628 | {template.service} · {template.version} |
| 629 | 629 | </p> |
| 630 | 630 | <div className="h-px flex-1 bg-border/70" /> |
| @@ -680,7 +680,7 @@ export default function AddGoogleDiscoverySource(props: { · 49 unmodified lines | ||
| 680 | 680 | </div> |
| 681 | 681 | <div> |
| 682 | 682 | <p className="text-sm font-semibold text-foreground">{probe.title ?? probe.name}</p> |
| 683 | − <p className="mt-1 text-xs text-muted-foreground"> | |
| 683 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 684 | 684 | {probe.service} · {probe.version} |
| 685 | 685 | </p> |
| 686 | 686 | </div> |
| @@ -731,7 +731,7 @@ export default function AddGoogleDiscoverySource(props: { · 44 unmodified lines | ||
| 731 | 731 | <Collapsible open={showScopes} onOpenChange={setShowScopes} className="space-y-2"> |
| 732 | 732 | <div className="flex items-start justify-between gap-3"> |
| 733 | 733 | <div className="min-w-0 space-y-1"> |
| 734 | − <p className="text-xs text-muted-foreground"> | |
| 734 | + <p className="text-sm text-muted-foreground"> | |
| 735 | 735 | {canUseOAuth |
| 736 | 736 | ? `${probe?.scopes.length ?? 0} scopes will be requested from Google.` |
| 737 | 737 | : "This API does not advertise OAuth scopes."} |
| @@ -782,7 +782,7 @@ export default function AddGoogleDiscoverySource(props: { · 44 unmodified lines | ||
| 782 | 782 | {(probe?.scopes ?? []).map((scope) => ( |
| 783 | 783 | <li |
| 784 | 784 | key={scope} |
| 785 | − className="break-all font-mono text-[11px] text-muted-foreground" | |
| 785 | + className="break-all font-mono text-xs text-muted-foreground" | |
| 786 | 786 | > |
| 787 | 787 | {scope} |
| 788 | 788 | </li> |
| @@ -23,7 +23,7 @@ export default function EditGoogleDiscoverySource({ · 22 unmodified lines | ||
| 23 | 23 | <div className="space-y-6"> |
| 24 | 24 | <div> |
| 25 | 25 | <h1 className="text-xl font-semibold text-foreground">Edit Google Discovery Source</h1> |
| 26 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 26 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 27 | 27 | View configuration for this Google API source. To change authentication, remove and re-add |
| 28 | 28 | the source with updated OAuth credentials. |
| 29 | 29 | </p> |
| @@ -40,7 +40,7 @@ export default function EditGoogleDiscoverySource({ · 10 unmodified lines | ||
| 40 | 40 | </p> |
| 41 | 41 | )} |
| 42 | 42 | </div> |
| 43 | − <Badge variant="secondary" className="text-[10px]"> | |
| 43 | + <Badge variant="secondary" className="text-xs"> | |
| 44 | 44 | Google Discovery |
| 45 | 45 | </Badge> |
| 46 | 46 | </div> |
| @@ -49,13 +49,13 @@ export default function EditGoogleDiscoverySource({ · 2 unmodified lines | ||
| 49 | 49 | <div className="space-y-3"> |
| 50 | 50 | <div className="grid grid-cols-2 gap-3 text-sm"> |
| 51 | 51 | <div className="rounded-lg border border-border bg-card/50 p-3"> |
| 52 | − <p className="text-[10px] uppercase tracking-wider text-muted-foreground mb-1"> | |
| 52 | + <p className="text-xs uppercase tracking-wider text-muted-foreground mb-1"> | |
| 53 | 53 | Service |
| 54 | 54 | </p> |
| 55 | 55 | <p className="text-sm font-medium text-foreground">{config.service}</p> |
| 56 | 56 | </div> |
| 57 | 57 | <div className="rounded-lg border border-border bg-card/50 p-3"> |
| 58 | − <p className="text-[10px] uppercase tracking-wider text-muted-foreground mb-1"> | |
| 58 | + <p className="text-xs uppercase tracking-wider text-muted-foreground mb-1"> | |
| 59 | 59 | Version |
| 60 | 60 | </p> |
| 61 | 61 | <p className="text-sm font-medium text-foreground">{config.version}</p> |
| @@ -63,7 +63,7 @@ export default function EditGoogleDiscoverySource({ · 1 unmodified line | ||
| 63 | 63 | </div> |
| 64 | 64 | |
| 65 | 65 | <div className="rounded-lg border border-border bg-card/50 p-3"> |
| 66 | − <p className="text-[10px] uppercase tracking-wider text-muted-foreground mb-1"> | |
| 66 | + <p className="text-xs uppercase tracking-wider text-muted-foreground mb-1"> | |
| 67 | 67 | Authentication |
| 68 | 68 | </p> |
| 69 | 69 | <p className="text-sm font-medium text-foreground capitalize"> |
| @@ -3,10 +3,10 @@ import { Badge } from "@executor/react/components/badge"; · 2 unmodified lines | ||
| 3 | 3 | export default function GoogleDiscoverySourceSummary({ sourceId }: { readonly sourceId: string }) { |
| 4 | 4 | return ( |
| 5 | 5 | <span className="inline-flex items-center gap-1.5"> |
| 6 | − <Badge variant="secondary" className="text-[10px]"> | |
| 6 | + <Badge variant="secondary" className="text-xs"> | |
| 7 | 7 | |
| 8 | 8 | </Badge> |
| 9 | − <span className="text-xs text-muted-foreground">{sourceId}</span> | |
| 9 | + <span className="text-sm text-muted-foreground">{sourceId}</span> | |
| 10 | 10 | </span> |
| 11 | 11 | ); |
| 12 | 12 | } |
| @@ -106,7 +106,7 @@ export default function AddGraphqlSource(props: { · 105 unmodified lines | ||
| 106 | 106 | placeholder="https://api.example.com/graphql" |
| 107 | 107 | className="font-mono text-sm" |
| 108 | 108 | /> |
| 109 | − <p className="text-[12px] text-muted-foreground"> | |
| 109 | + <p className="text-sm text-muted-foreground"> | |
| 110 | 110 | The endpoint will be introspected to discover available queries and mutations. |
| 111 | 111 | </p> |
| 112 | 112 | </section> |
| @@ -122,7 +122,7 @@ export default function AddGraphqlSource(props: { · 9 unmodified lines | ||
| 122 | 122 | placeholder="my_api" |
| 123 | 123 | className="font-mono text-sm" |
| 124 | 124 | /> |
| 125 | − <p className="text-[12px] text-muted-foreground"> | |
| 125 | + <p className="text-sm text-muted-foreground"> | |
| 126 | 126 | A prefix for the tool names. Derived from the endpoint hostname if not provided. |
| 127 | 127 | </p> |
| 128 | 128 | </section> |
| @@ -134,7 +134,7 @@ export default function AddGraphqlSource(props: { · 5 unmodified lines | ||
| 134 | 134 | <Label> |
| 135 | 135 | Authentication <span className="text-muted-foreground font-normal">(optional)</span> |
| 136 | 136 | </Label> |
| 137 | − <p className="mt-1 text-[12px] text-muted-foreground"> | |
| 137 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 138 | 138 | Secret-backed headers sent with every request, including introspection. |
| 139 | 139 | </p> |
| 140 | 140 | </div> |
| @@ -171,7 +171,7 @@ export default function AddGraphqlSource(props: { · 30 unmodified lines | ||
| 171 | 171 | {/* Error */} |
| 172 | 172 | {addError && ( |
| 173 | 173 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 174 | − <p className="text-[12px] text-destructive">{addError}</p> | |
| 174 | + <p className="text-sm text-destructive">{addError}</p> | |
| 175 | 175 | </div> |
| 176 | 176 | )} |
| 177 | 177 | |
| @@ -69,7 +69,7 @@ function EditForm(props: { · 68 unmodified lines | ||
| 69 | 69 | <div className="space-y-6"> |
| 70 | 70 | <div> |
| 71 | 71 | <h1 className="text-xl font-semibold text-foreground">Edit GraphQL Source</h1> |
| 72 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 72 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 73 | 73 | Update the endpoint and authentication headers for this source. |
| 74 | 74 | </p> |
| 75 | 75 | </div> |
| @@ -78,7 +78,7 @@ function EditForm(props: { · 2 unmodified lines | ||
| 78 | 78 | <div className="min-w-0 flex-1"> |
| 79 | 79 | <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p> |
| 80 | 80 | </div> |
| 81 | − <Badge variant="secondary" className="text-[10px]"> | |
| 81 | + <Badge variant="secondary" className="text-xs"> | |
| 82 | 82 | GraphQL |
| 83 | 83 | </Badge> |
| 84 | 84 | </div> |
| @@ -129,7 +129,7 @@ function EditForm(props: { · 44 unmodified lines | ||
| 129 | 129 | |
| 130 | 130 | {error && ( |
| 131 | 131 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 132 | − <p className="text-[12px] text-destructive">{error}</p> | |
| 132 | + <p className="text-sm text-destructive">{error}</p> | |
| 133 | 133 | </div> |
| 134 | 134 | )} |
| 135 | 135 | |
| @@ -158,7 +158,7 @@ export default function EditGraphqlSource(props: { sourceId: string; onSave: () · 22 unmodified lines | ||
| 158 | 158 | <div className="space-y-6"> |
| 159 | 159 | <div> |
| 160 | 160 | <h1 className="text-xl font-semibold text-foreground">Edit GraphQL Source</h1> |
| 161 | − <p className="mt-1 text-[13px] text-muted-foreground">Loading configuration…</p> | |
| 161 | + <p className="mt-1 text-sm text-muted-foreground">Loading configuration…</p> | |
| 162 | 162 | </div> |
| 163 | 163 | </div> |
| 164 | 164 | ); |
| @@ -487,7 +487,7 @@ export default function AddMcpSource(props: { · 486 unmodified lines | ||
| 487 | 487 | <div className="space-y-6"> |
| 488 | 488 | <div> |
| 489 | 489 | <h1 className="text-xl font-semibold text-foreground">Add MCP Source</h1> |
| 490 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 490 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 491 | 491 | Connect to an MCP server to discover and use its tools. |
| 492 | 492 | </p> |
| 493 | 493 | </div> |
| @@ -550,7 +550,7 @@ export default function AddMcpSource(props: { · 56 unmodified lines | ||
| 550 | 550 | </Button> |
| 551 | 551 | )} |
| 552 | 552 | </div> |
| 553 | − <p className="text-[12px] text-muted-foreground"> | |
| 553 | + <p className="text-sm text-muted-foreground"> | |
| 554 | 554 | Supports Streamable HTTP and SSE transports. |
| 555 | 555 | </p> |
| 556 | 556 | </section> |
| @@ -581,7 +581,7 @@ export default function AddMcpSource(props: { · 24 unmodified lines | ||
| 581 | 581 | <p className="truncate text-sm font-semibold text-card-foreground leading-none"> |
| 582 | 582 | {probe.serverName ?? probe.name} |
| 583 | 583 | </p> |
| 584 | − <p className="mt-1 text-[12px] text-muted-foreground leading-none"> | |
| 584 | + <p className="mt-1 text-xs text-muted-foreground leading-none"> | |
| 585 | 585 | {probe.connected |
| 586 | 586 | ? `${probe.toolCount} tool${probe.toolCount !== 1 ? "s" : ""} available` |
| 587 | 587 | : "OAuth required to discover tools"} |
| @@ -590,14 +590,14 @@ export default function AddMcpSource(props: { · 2 unmodified lines | ||
| 590 | 590 | {probe.connected ? ( |
| 591 | 591 | <Badge |
| 592 | 592 | variant="outline" |
| 593 | − className="border-emerald-500/20 bg-emerald-500/10 text-[10px] text-emerald-600 dark:text-emerald-400" | |
| 593 | + className="border-emerald-500/20 bg-emerald-500/10 text-xs text-emerald-600 dark:text-emerald-400" | |
| 594 | 594 | > |
| 595 | 595 | Connected |
| 596 | 596 | </Badge> |
| 597 | 597 | ) : ( |
| 598 | 598 | <Badge |
| 599 | 599 | variant="outline" |
| 600 | − className="border-amber-500/20 bg-amber-500/10 text-[10px] text-amber-600 dark:text-amber-400" | |
| 600 | + className="border-amber-500/20 bg-amber-500/10 text-xs text-amber-600 dark:text-amber-400" | |
| 601 | 601 | > |
| 602 | 602 | OAuth required |
| 603 | 603 | </Badge> |
| @@ -625,7 +625,7 @@ export default function AddMcpSource(props: { · 21 unmodified lines | ||
| 625 | 625 | > |
| 626 | 626 | <RadioGroupItem value="none" /> |
| 627 | 627 | <span className="text-xs font-medium text-foreground">None</span> |
| 628 | − <span className="ml-auto text-[10px] text-muted-foreground"> | |
| 628 | + <span className="ml-auto text-xs text-muted-foreground"> | |
| 629 | 629 | no auth header |
| 630 | 630 | </span> |
| 631 | 631 | </Label> |
| @@ -640,7 +640,7 @@ export default function AddMcpSource(props: { · 8 unmodified lines | ||
| 640 | 640 | > |
| 641 | 641 | <RadioGroupItem value="header" /> |
| 642 | 642 | <span className="text-xs font-medium text-foreground">Header</span> |
| 643 | − <span className="ml-auto text-[10px] text-muted-foreground"> | |
| 643 | + <span className="ml-auto text-xs text-muted-foreground"> | |
| 644 | 644 | use a secret-backed auth header |
| 645 | 645 | </span> |
| 646 | 646 | </Label> |
| @@ -655,7 +655,7 @@ export default function AddMcpSource(props: { · 8 unmodified lines | ||
| 655 | 655 | > |
| 656 | 656 | <RadioGroupItem value="oauth2" /> |
| 657 | 657 | <span className="text-xs font-medium text-foreground">OAuth</span> |
| 658 | − <span className="ml-auto text-[10px] text-muted-foreground"> | |
| 658 | + <span className="ml-auto text-xs text-muted-foreground"> | |
| 659 | 659 | sign in with the server's OAuth flow |
| 660 | 660 | </span> |
| 661 | 661 | </Label> |
| @@ -710,7 +710,7 @@ export default function AddMcpSource(props: { · 48 unmodified lines | ||
| 710 | 710 | {state.step === "oauth-starting" && ( |
| 711 | 711 | <div className="flex items-center gap-2 rounded-lg border border-border bg-muted/30 px-3 py-2.5"> |
| 712 | 712 | <Spinner className="size-3.5" /> |
| 713 | − <span className="text-xs text-muted-foreground">Starting authorization…</span> | |
| 713 | + <span className="text-sm text-muted-foreground">Starting authorization…</span> | |
| 714 | 714 | </div> |
| 715 | 715 | )} |
| 716 | 716 | |
| @@ -751,7 +751,7 @@ export default function AddMcpSource(props: { · 34 unmodified lines | ||
| 751 | 751 | )} |
| 752 | 752 | |
| 753 | 753 | {remoteAuthMode === "none" && probe.requiresOAuth && ( |
| 754 | − <p className="text-[12px] text-amber-600 dark:text-amber-400"> | |
| 754 | + <p className="text-xs text-amber-600 dark:text-amber-400"> | |
| 755 | 755 | This server requires authentication before it can be added. |
| 756 | 756 | </p> |
| 757 | 757 | )} |
| @@ -764,7 +764,7 @@ export default function AddMcpSource(props: { · 6 unmodified lines | ||
| 764 | 764 | <div className="flex items-center justify-between gap-3"> |
| 765 | 765 | <div> |
| 766 | 766 | <Label>Additional headers</Label> |
| 767 | − <p className="mt-1 text-[12px] text-muted-foreground"> | |
| 767 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 768 | 768 | Plaintext headers sent with every request. Use authentication for secret-backed |
| 769 | 769 | auth headers. |
| 770 | 770 | </p> |
| @@ -790,7 +790,7 @@ export default function AddMcpSource(props: { · 19 unmodified lines | ||
| 790 | 790 | className="rounded-lg border border-border bg-card p-3 space-y-2" |
| 791 | 791 | > |
| 792 | 792 | <div className="flex items-center justify-between"> |
| 793 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 793 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 794 | 794 | Header |
| 795 | 795 | </Label> |
| 796 | 796 | <Button |
| @@ -809,7 +809,7 @@ export default function AddMcpSource(props: { · 12 unmodified lines | ||
| 809 | 809 | </div> |
| 810 | 810 | <div className="grid grid-cols-2 gap-2"> |
| 811 | 811 | <div className="space-y-1"> |
| 812 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 812 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 813 | 813 | Name |
| 814 | 814 | </Label> |
| 815 | 815 | <Input |
| @@ -824,11 +824,11 @@ export default function AddMcpSource(props: { · 8 unmodified lines | ||
| 824 | 824 | ) |
| 825 | 825 | } |
| 826 | 826 | placeholder="X-Organization-Id" |
| 827 | − className="h-8 text-xs font-mono" | |
| 827 | + className="h-8 text-sm font-mono" | |
| 828 | 828 | /> |
| 829 | 829 | </div> |
| 830 | 830 | <div className="space-y-1"> |
| 831 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 831 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 832 | 832 | Value |
| 833 | 833 | </Label> |
| 834 | 834 | <Input |
| @@ -846,7 +846,7 @@ export default function AddMcpSource(props: { · 11 unmodified lines | ||
| 846 | 846 | ) |
| 847 | 847 | } |
| 848 | 848 | placeholder="workspace-id" |
| 849 | − className="h-8 text-xs font-mono" | |
| 849 | + className="h-8 text-sm font-mono" | |
| 850 | 850 | /> |
| 851 | 851 | </div> |
| 852 | 852 | </div> |
| @@ -861,7 +861,7 @@ export default function AddMcpSource(props: { · 8 unmodified lines | ||
| 861 | 861 | {error && ( |
| 862 | 862 | <div className="space-y-2"> |
| 863 | 863 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 864 | − <p className="text-[12px] text-destructive">{error}</p> | |
| 864 | + <p className="text-sm text-destructive">{error}</p> | |
| 865 | 865 | </div> |
| 866 | 866 | <Button |
| 867 | 867 | variant="outline" |
| @@ -914,7 +914,7 @@ export default function AddMcpSource(props: { · 46 unmodified lines | ||
| 914 | 914 | placeholder="npx" |
| 915 | 915 | className="font-mono text-sm" |
| 916 | 916 | /> |
| 917 | − <p className="text-[12px] text-muted-foreground"> | |
| 917 | + <p className="text-sm text-muted-foreground"> | |
| 918 | 918 | The executable to run (e.g. npx, uvx, node). |
| 919 | 919 | </p> |
| 920 | 920 | </div> |
| @@ -927,7 +927,7 @@ export default function AddMcpSource(props: { · 6 unmodified lines | ||
| 927 | 927 | placeholder="-y chrome-devtools-mcp@latest" |
| 928 | 928 | className="font-mono text-sm" |
| 929 | 929 | /> |
| 930 | − <p className="text-[12px] text-muted-foreground"> | |
| 930 | + <p className="text-sm text-muted-foreground"> | |
| 931 | 931 | Space-separated arguments passed to the command. |
| 932 | 932 | </p> |
| 933 | 933 | </div> |
| @@ -956,14 +956,14 @@ export default function AddMcpSource(props: { · 22 unmodified lines | ||
| 956 | 956 | rows={3} |
| 957 | 957 | className="font-mono text-sm" |
| 958 | 958 | /> |
| 959 | − <p className="text-[12px] text-muted-foreground">One per line, KEY=value format.</p> | |
| 959 | + <p className="text-sm text-muted-foreground">One per line, KEY=value format.</p> | |
| 960 | 960 | </div> |
| 961 | 961 | </section> |
| 962 | 962 | |
| 963 | 963 | {/* Stdio error */} |
| 964 | 964 | {stdioError && ( |
| 965 | 965 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 966 | − <p className="text-[12px] text-destructive">{stdioError}</p> | |
| 966 | + <p className="text-sm text-destructive">{stdioError}</p> | |
| 967 | 967 | </div> |
| 968 | 968 | )} |
| 969 | 969 | |
| @@ -89,7 +89,7 @@ function RemoteEditForm(props: { · 88 unmodified lines | ||
| 89 | 89 | <div className="space-y-6"> |
| 90 | 90 | <div> |
| 91 | 91 | <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1> |
| 92 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 92 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 93 | 93 | Update the endpoint and headers for this MCP connection. |
| 94 | 94 | </p> |
| 95 | 95 | </div> |
| @@ -98,7 +98,7 @@ function RemoteEditForm(props: { · 2 unmodified lines | ||
| 98 | 98 | <div className="min-w-0 flex-1"> |
| 99 | 99 | <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p> |
| 100 | 100 | </div> |
| 101 | − <Badge variant="secondary" className="text-[10px]"> | |
| 101 | + <Badge variant="secondary" className="text-xs"> | |
| 102 | 102 | remote |
| 103 | 103 | </Badge> |
| 104 | 104 | </div> |
| @@ -126,13 +126,13 @@ function RemoteEditForm(props: { · 21 unmodified lines | ||
| 126 | 126 | value={entry.name} |
| 127 | 127 | onChange={(e) => updateHeader(i, "name", (e.target as HTMLInputElement).value)} |
| 128 | 128 | placeholder="Header name" |
| 129 | − className="h-8 text-xs font-mono flex-1" | |
| 129 | + className="h-8 text-sm font-mono flex-1" | |
| 130 | 130 | /> |
| 131 | 131 | <Input |
| 132 | 132 | value={entry.value} |
| 133 | 133 | onChange={(e) => updateHeader(i, "value", (e.target as HTMLInputElement).value)} |
| 134 | 134 | placeholder="Header value" |
| 135 | − className="h-8 text-xs font-mono flex-1" | |
| 135 | + className="h-8 text-sm font-mono flex-1" | |
| 136 | 136 | /> |
| 137 | 137 | <Button |
| 138 | 138 | variant="ghost" |
| @@ -151,7 +151,7 @@ function RemoteEditForm(props: { · 12 unmodified lines | ||
| 151 | 151 | |
| 152 | 152 | {error && ( |
| 153 | 153 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 154 | − <p className="text-[12px] text-destructive">{error}</p> | |
| 154 | + <p className="text-sm text-destructive">{error}</p> | |
| 155 | 155 | </div> |
| 156 | 156 | )} |
| 157 | 157 | |
| @@ -181,7 +181,7 @@ function StdioReadOnly(props: { · 23 unmodified lines | ||
| 181 | 181 | <div className="space-y-6"> |
| 182 | 182 | <div> |
| 183 | 183 | <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1> |
| 184 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 184 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 185 | 185 | Stdio MCP sources cannot be edited in the UI. Modify the executor.jsonc config file |
| 186 | 186 | directly. |
| 187 | 187 | </p> |
| @@ -194,7 +194,7 @@ function StdioReadOnly(props: { · 6 unmodified lines | ||
| 194 | 194 | {command} {(args ?? []).join(" ")} |
| 195 | 195 | </p> |
| 196 | 196 | </div> |
| 197 | − <Badge variant="secondary" className="text-[10px]"> | |
| 197 | + <Badge variant="secondary" className="text-xs"> | |
| 198 | 198 | stdio |
| 199 | 199 | </Badge> |
| 200 | 200 | </div> |
| @@ -225,7 +225,7 @@ export default function EditMcpSource({ · 24 unmodified lines | ||
| 225 | 225 | <div className="space-y-6"> |
| 226 | 226 | <div> |
| 227 | 227 | <h1 className="text-xl font-semibold text-foreground">Edit MCP Source</h1> |
| 228 | − <p className="mt-1 text-[13px] text-muted-foreground">Loading configuration…</p> | |
| 228 | + <p className="mt-1 text-sm text-muted-foreground">Loading configuration…</p> | |
| 229 | 229 | </div> |
| 230 | 230 | </div> |
| 231 | 231 | ); |
| @@ -7,10 +7,10 @@ import { Badge } from "@executor/react/components/badge"; · 6 unmodified lines | ||
| 7 | 7 | export default function McpSourceSummary({ sourceId }: { readonly sourceId: string }) { |
| 8 | 8 | return ( |
| 9 | 9 | <span className="inline-flex items-center gap-1.5"> |
| 10 | − <Badge variant="secondary" className="text-[10px]"> | |
| 10 | + <Badge variant="secondary" className="text-xs"> | |
| 11 | 11 | MCP |
| 12 | 12 | </Badge> |
| 13 | − <span className="text-xs text-muted-foreground">{sourceId}</span> | |
| 13 | + <span className="text-sm text-muted-foreground">{sourceId}</span> | |
| 14 | 14 | </span> |
| 15 | 15 | ); |
| 16 | 16 | } |
| @@ -74,7 +74,7 @@ function VaultPicker(props: { · 73 unmodified lines | ||
| 74 | 74 | |
| 75 | 75 | if (!account) { |
| 76 | 76 | return ( |
| 77 | − <p className="text-[11px] text-muted-foreground/50 py-1"> | |
| 77 | + <p className="text-xs text-muted-foreground py-1"> | |
| 78 | 78 | Enter account details to load vaults. |
| 79 | 79 | </p> |
| 80 | 80 | ); |
| @@ -90,7 +90,7 @@ function VaultPicker(props: { · 9 unmodified lines | ||
| 90 | 90 | if (v) props.onVaultSelect(v.id, v.name); |
| 91 | 91 | }} |
| 92 | 92 | > |
| 93 | − <SelectTrigger className="h-9 text-[13px]"> | |
| 93 | + <SelectTrigger className="h-9 text-sm"> | |
| 94 | 94 | <SelectValue placeholder={isLoading ? "Loading…" : "Select a vault"} /> |
| 95 | 95 | </SelectTrigger> |
| 96 | 96 | <SelectContent> |
| @@ -103,7 +103,7 @@ function VaultPicker(props: { · 6 unmodified lines | ||
| 103 | 103 | </Select> |
| 104 | 104 | {error && ( |
| 105 | 105 | <div className="rounded-md border border-destructive/20 bg-destructive/5 px-2.5 py-1.5"> |
| 106 | − <p className="text-[11px] text-destructive leading-relaxed whitespace-pre-line"> | |
| 106 | + <p className="text-xs text-destructive leading-relaxed whitespace-pre-line"> | |
| 107 | 107 | {error} |
| 108 | 108 | </p> |
| 109 | 109 | </div> |
| @@ -182,7 +182,7 @@ function ConfigDialog(props: { · 72 unmodified lines | ||
| 182 | 182 | <DialogTitle className="font-display text-xl"> |
| 183 | 183 | {isEdit ? "Edit 1Password" : "Connect 1Password"} |
| 184 | 184 | </DialogTitle> |
| 185 | − <DialogDescription className="text-[13px] leading-relaxed"> | |
| 185 | + <DialogDescription className="text-sm leading-relaxed"> | |
| 186 | 186 | Link a vault to resolve secrets via the 1Password desktop app or a service account. |
| 187 | 187 | </DialogDescription> |
| 188 | 188 | </DialogHeader> |
| @@ -190,14 +190,14 @@ function ConfigDialog(props: { · 1 unmodified line | ||
| 190 | 190 | <div className="grid gap-5 py-3"> |
| 191 | 191 | {/* Auth method */} |
| 192 | 192 | <div className="grid gap-1.5"> |
| 193 | − <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 193 | + <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 194 | 194 | Auth method |
| 195 | 195 | </Label> |
| 196 | 196 | <Select |
| 197 | 197 | value={authKind} |
| 198 | 198 | onValueChange={(v) => setAuthKind(v as "desktop-app" | "service-account")} |
| 199 | 199 | > |
| 200 | − <SelectTrigger className="h-9 text-[13px]"> | |
| 200 | + <SelectTrigger className="h-9 text-sm"> | |
| 201 | 201 | <SelectValue /> |
| 202 | 202 | </SelectTrigger> |
| 203 | 203 | <SelectContent> |
| @@ -209,16 +209,16 @@ function ConfigDialog(props: { · 5 unmodified lines | ||
| 209 | 209 | |
| 210 | 210 | {/* Account / token */} |
| 211 | 211 | <div className="grid gap-1.5"> |
| 212 | − <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 212 | + <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 213 | 213 | {authKind === "desktop-app" ? "Account domain" : "Token secret ID"} |
| 214 | 214 | </Label> |
| 215 | 215 | <Input |
| 216 | 216 | placeholder={authKind === "desktop-app" ? "my.1password.com" : "op-service-token"} |
| 217 | 217 | value={accountName} |
| 218 | 218 | onChange={(e) => setAccountName((e.target as HTMLInputElement).value)} |
| 219 | − className="font-mono text-[13px] h-9" | |
| 219 | + className="font-mono text-xs h-9" | |
| 220 | 220 | /> |
| 221 | − <p className="text-[11px] text-muted-foreground/60 leading-relaxed"> | |
| 221 | + <p className="text-xs text-muted-foreground leading-relaxed"> | |
| 222 | 222 | {authKind === "desktop-app" |
| 223 | 223 | ? "Requires the 1Password desktop app with biometric unlock." |
| 224 | 224 | : "Reference an executor secret that holds the service account token."} |
| @@ -227,7 +227,7 @@ function ConfigDialog(props: { · 2 unmodified lines | ||
| 227 | 227 | |
| 228 | 228 | {/* Vault */} |
| 229 | 229 | <div className="grid gap-1.5"> |
| 230 | − <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 230 | + <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 231 | 231 | Vault |
| 232 | 232 | </Label> |
| 233 | 233 | <VaultPicker |
| @@ -239,25 +239,25 @@ function ConfigDialog(props: { · 5 unmodified lines | ||
| 239 | 239 | setVaultName(name); |
| 240 | 240 | }} |
| 241 | 241 | /> |
| 242 | − {vaultId && <p className="font-mono text-[10px] text-muted-foreground/50">{vaultId}</p>} | |
| 242 | + {vaultId && <p className="font-mono text-xs text-muted-foreground">{vaultId}</p>} | |
| 243 | 243 | </div> |
| 244 | 244 | |
| 245 | 245 | {/* Display name */} |
| 246 | 246 | <div className="grid gap-1.5"> |
| 247 | − <Label className="text-[11px] font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 247 | + <Label className="text-xs font-medium uppercase tracking-[0.08em] text-muted-foreground"> | |
| 248 | 248 | Display name |
| 249 | 249 | </Label> |
| 250 | 250 | <Input |
| 251 | 251 | placeholder="1Password" |
| 252 | 252 | value={vaultName} |
| 253 | 253 | onChange={(e) => setVaultName((e.target as HTMLInputElement).value)} |
| 254 | − className="text-[13px] h-9" | |
| 254 | + className="text-sm h-9" | |
| 255 | 255 | /> |
| 256 | 256 | </div> |
| 257 | 257 | |
| 258 | 258 | {error && ( |
| 259 | 259 | <div className="rounded-md border border-destructive/20 bg-destructive/5 px-3 py-2"> |
| 260 | − <p className="text-[12px] text-destructive whitespace-pre-line">{error}</p> | |
| 260 | + <p className="text-xs text-destructive whitespace-pre-line">{error}</p> | |
| 261 | 261 | </div> |
| 262 | 262 | )} |
| 263 | 263 | </div> |
| @@ -322,19 +322,19 @@ export default function OnePasswordSettings() { · 58 unmodified lines | ||
| 322 | 322 | <div className="flex items-center gap-3 px-5 py-4 border-b border-border/40"> |
| 323 | 323 | <div className="flex-1 min-w-0"> |
| 324 | 324 | <div className="flex items-center gap-2"> |
| 325 | − <h3 className="text-[13px] font-semibold text-foreground leading-none">1Password</h3> | |
| 325 | + <h3 className="text-xs font-semibold text-foreground leading-none">1Password</h3> | |
| 326 | 326 | {isLoading ? ( |
| 327 | 327 | <span className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" /> |
| 328 | 328 | ) : isError ? ( |
| 329 | − <span className="rounded-full bg-destructive/15 px-2 py-0.5 text-[10px] font-medium text-destructive leading-none"> | |
| 329 | + <span className="rounded-full bg-destructive/15 px-2 py-0.5 text-xs font-medium text-destructive leading-none"> | |
| 330 | 330 | Error |
| 331 | 331 | </span> |
| 332 | 332 | ) : config ? ( |
| 333 | − <span className="rounded-full bg-emerald-500/15 px-2 py-0.5 text-[10px] font-medium text-emerald-600 dark:text-emerald-400 leading-none"> | |
| 333 | + <span className="rounded-full bg-emerald-500/15 px-2 py-0.5 text-xs font-medium text-emerald-600 dark:text-emerald-400 leading-none"> | |
| 334 | 334 | Connected |
| 335 | 335 | </span> |
| 336 | 336 | ) : ( |
| 337 | − <span className="rounded-full bg-muted px-2 py-0.5 text-[10px] font-medium text-muted-foreground leading-none"> | |
| 337 | + <span className="rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground leading-none"> | |
| 338 | 338 | Not configured |
| 339 | 339 | </span> |
| 340 | 340 | )} |
| @@ -345,7 +345,7 @@ export default function OnePasswordSettings() { · 4 unmodified lines | ||
| 345 | 345 | <Button |
| 346 | 346 | variant="ghost" |
| 347 | 347 | size="sm" |
| 348 | − className="h-7 px-2.5 text-[12px]" | |
| 348 | + className="h-7 px-2.5 text-xs" | |
| 349 | 349 | onClick={() => setConfigOpen(true)} |
| 350 | 350 | > |
| 351 | 351 | Edit |
| @@ -353,7 +353,7 @@ export default function OnePasswordSettings() { · 1 unmodified line | ||
| 353 | 353 | <Button |
| 354 | 354 | variant="ghost" |
| 355 | 355 | size="sm" |
| 356 | − className="h-7 px-2.5 text-[12px] text-destructive/70 hover:text-destructive" | |
| 356 | + className="h-7 px-2.5 text-xs text-destructive/70 hover:text-destructive" | |
| 357 | 357 | onClick={handleRemove} |
| 358 | 358 | > |
| 359 | 359 | Disconnect |
| @@ -367,35 +367,35 @@ export default function OnePasswordSettings() { · 7 unmodified lines | ||
| 367 | 367 | {isLoading ? ( |
| 368 | 368 | <div className="flex items-center gap-2"> |
| 369 | 369 | <div className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" /> |
| 370 | − <p className="text-[12px] text-muted-foreground/50">Loading…</p> | |
| 370 | + <p className="text-sm text-muted-foreground">Loading…</p> | |
| 371 | 371 | </div> |
| 372 | 372 | ) : isError ? ( |
| 373 | 373 | <div className="rounded-md border border-destructive/20 bg-destructive/5 px-3 py-2"> |
| 374 | − <p className="text-[12px] text-destructive">Failed to load configuration</p> | |
| 374 | + <p className="text-sm text-destructive">Failed to load configuration</p> | |
| 375 | 375 | </div> |
| 376 | 376 | ) : config ? ( |
| 377 | − <div className="grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-[12px]"> | |
| 378 | − <span className="text-muted-foreground/60">Auth</span> | |
| 377 | + <div className="grid grid-cols-[auto_1fr] gap-x-6 gap-y-2 text-xs"> | |
| 378 | + <span className="text-muted-foreground">Auth</span> | |
| 379 | 379 | <span className="font-mono text-foreground/80"> |
| 380 | 380 | {config.auth.kind === "desktop-app" ? config.auth.accountName : "service-account"} |
| 381 | 381 | </span> |
| 382 | − <span className="text-muted-foreground/60">Vault</span> | |
| 382 | + <span className="text-muted-foreground">Vault</span> | |
| 383 | 383 | <div className="flex items-center gap-2"> |
| 384 | 384 | <span className="text-foreground/80">{config.name}</span> |
| 385 | − <span className="font-mono text-[10px] text-muted-foreground/40"> | |
| 385 | + <span className="font-mono text-xs text-muted-foreground"> | |
| 386 | 386 | {config.vaultId} |
| 387 | 387 | </span> |
| 388 | 388 | </div> |
| 389 | 389 | </div> |
| 390 | 390 | ) : ( |
| 391 | 391 | <div className="flex items-center justify-between"> |
| 392 | − <p className="text-[12px] text-muted-foreground/60 leading-relaxed"> | |
| 392 | + <p className="text-xs text-muted-foreground leading-relaxed"> | |
| 393 | 393 | Resolve secrets from your 1Password vault. |
| 394 | 394 | </p> |
| 395 | 395 | <Button |
| 396 | 396 | variant="outline" |
| 397 | 397 | size="sm" |
| 398 | − className="h-7 text-[12px] shrink-0" | |
| 398 | + className="h-7 text-xs shrink-0" | |
| 399 | 399 | onClick={() => setConfigOpen(true)} |
| 400 | 400 | > |
| 401 | 401 | Connect |
| @@ -253,13 +253,13 @@ export default function AddOpenApiSource(props: { · 252 unmodified lines | ||
| 253 | 253 | |
| 254 | 254 | {analyzeError && ( |
| 255 | 255 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 256 | − <p className="text-[12px] text-destructive">{analyzeError}</p> | |
| 256 | + <p className="text-sm text-destructive">{analyzeError}</p> | |
| 257 | 257 | </div> |
| 258 | 258 | )} |
| 259 | 259 | |
| 260 | 260 | {!preview && ( |
| 261 | 261 | <div className="flex items-center justify-between"> |
| 262 | − <p className="text-[12px] text-muted-foreground"> | |
| 262 | + <p className="text-sm text-muted-foreground"> | |
| 263 | 263 | Paste a URL or raw JSON/YAML content. |
| 264 | 264 | </p> |
| 265 | 265 | <Button disabled={!specUrl.trim() || analyzing} onClick={handleAnalyze}> |
| @@ -279,7 +279,7 @@ export default function AddOpenApiSource(props: { · 13 unmodified lines | ||
| 279 | 279 | <p className="text-sm font-semibold text-card-foreground leading-none truncate"> |
| 280 | 280 | {Option.getOrElse(preview.title, () => "API")} |
| 281 | 281 | </p> |
| 282 | − <p className="mt-1 text-[12px] text-muted-foreground leading-none"> | |
| 282 | + <p className="mt-1 text-xs text-muted-foreground leading-none"> | |
| 283 | 283 | {Option.getOrElse(preview.version, () => "")} |
| 284 | 284 | {Option.isSome(preview.version) && " · "} |
| 285 | 285 | {preview.operationCount} operation{preview.operationCount !== 1 ? "s" : ""} |
| @@ -290,12 +290,12 @@ export default function AddOpenApiSource(props: { · 4 unmodified lines | ||
| 290 | 290 | {preview.tags.length > 0 && ( |
| 291 | 291 | <div className="hidden sm:flex flex-wrap gap-1 max-w-[200px] justify-end"> |
| 292 | 292 | {preview.tags.slice(0, 4).map((tag) => ( |
| 293 | − <Badge key={tag} variant="secondary" className="text-[10px]"> | |
| 293 | + <Badge key={tag} variant="secondary" className="text-xs"> | |
| 294 | 294 | {tag} |
| 295 | 295 | </Badge> |
| 296 | 296 | ))} |
| 297 | 297 | {preview.tags.length > 4 && ( |
| 298 | − <span className="text-[10px] text-muted-foreground"> | |
| 298 | + <span className="text-sm text-muted-foreground"> | |
| 299 | 299 | +{preview.tags.length - 4} |
| 300 | 300 | </span> |
| 301 | 301 | )} |
| @@ -310,7 +310,7 @@ export default function AddOpenApiSource(props: { · 8 unmodified lines | ||
| 310 | 310 | value={sourceName} |
| 311 | 311 | onChange={(e) => setSourceName((e.target as HTMLInputElement).value)} |
| 312 | 312 | placeholder="e.g. Sentry API" |
| 313 | − className="text-[0.8125rem]" | |
| 313 | + className="text-sm" | |
| 314 | 314 | /> |
| 315 | 315 | </section> |
| 316 | 316 | |
| @@ -325,9 +325,9 @@ export default function AddOpenApiSource(props: { · 8 unmodified lines | ||
| 325 | 325 | ) |
| 326 | 326 | } |
| 327 | 327 | placeholder="e.g. sentry, stripe, github" |
| 328 | − className="font-mono text-[0.8125rem]" | |
| 328 | + className="font-mono text-sm" | |
| 329 | 329 | /> |
| 330 | − <p className="text-[0.75rem] text-muted-foreground"> | |
| 330 | + <p className="text-sm text-muted-foreground"> | |
| 331 | 331 | Unique identifier for this source. Used in tool names. |
| 332 | 332 | </p> |
| 333 | 333 | </section> |
| @@ -373,7 +373,7 @@ export default function AddOpenApiSource(props: { · 39 unmodified lines | ||
| 373 | 373 | )} |
| 374 | 374 | |
| 375 | 375 | {!baseUrl.trim() && ( |
| 376 | − <p className="text-[11px] text-amber-600 dark:text-amber-400"> | |
| 376 | + <p className="text-xs text-amber-600 dark:text-amber-400"> | |
| 377 | 377 | A base URL is required to make requests. |
| 378 | 378 | </p> |
| 379 | 379 | )} |
| @@ -402,7 +402,7 @@ export default function AddOpenApiSource(props: { · 22 unmodified lines | ||
| 402 | 402 | <RadioGroupItem value={String(i)} /> |
| 403 | 403 | <span className="text-xs font-medium text-foreground">{preset.label}</span> |
| 404 | 404 | {preset.secretHeaders.length > 0 && ( |
| 405 | − <span className="ml-auto text-[10px] text-muted-foreground"> | |
| 405 | + <span className="ml-auto text-xs text-muted-foreground"> | |
| 406 | 406 | {preset.secretHeaders.length} header |
| 407 | 407 | {preset.secretHeaders.length > 1 ? "s" : ""} |
| 408 | 408 | </span> |
| @@ -419,7 +419,7 @@ export default function AddOpenApiSource(props: { · 10 unmodified lines | ||
| 419 | 419 | > |
| 420 | 420 | <RadioGroupItem value="-2" /> |
| 421 | 421 | <span className="text-xs font-medium text-foreground">Custom</span> |
| 422 | − <span className="ml-auto text-[10px] text-muted-foreground"> | |
| 422 | + <span className="ml-auto text-xs text-muted-foreground"> | |
| 423 | 423 | configure manually |
| 424 | 424 | </span> |
| 425 | 425 | </Label> |
| @@ -433,7 +433,7 @@ export default function AddOpenApiSource(props: { · 7 unmodified lines | ||
| 433 | 433 | > |
| 434 | 434 | <RadioGroupItem value="-1" /> |
| 435 | 435 | <span className="text-xs font-medium text-foreground">None</span> |
| 436 | − <span className="ml-auto text-[10px] text-muted-foreground">skip auth</span> | |
| 436 | + <span className="ml-auto text-xs text-muted-foreground">skip auth</span> | |
| 437 | 437 | </Label> |
| 438 | 438 | </RadioGroup> |
| 439 | 439 | )} |
| @@ -472,7 +472,7 @@ export default function AddOpenApiSource(props: { · 32 unmodified lines | ||
| 472 | 472 | {/* Add error */} |
| 473 | 473 | {addError && ( |
| 474 | 474 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 475 | − <p className="text-[12px] text-destructive">{addError}</p> | |
| 475 | + <p className="text-sm text-destructive">{addError}</p> | |
| 476 | 476 | </div> |
| 477 | 477 | )} |
| 478 | 478 | |
| @@ -69,7 +69,7 @@ function EditForm(props: { · 68 unmodified lines | ||
| 69 | 69 | <div className="space-y-6"> |
| 70 | 70 | <div> |
| 71 | 71 | <h1 className="text-xl font-semibold text-foreground">Edit OpenAPI Source</h1> |
| 72 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 72 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 73 | 73 | Update the base URL and authentication headers for this source. |
| 74 | 74 | </p> |
| 75 | 75 | </div> |
| @@ -78,7 +78,7 @@ function EditForm(props: { · 2 unmodified lines | ||
| 78 | 78 | <div className="min-w-0 flex-1"> |
| 79 | 79 | <p className="truncate text-sm font-semibold text-card-foreground">{props.sourceId}</p> |
| 80 | 80 | </div> |
| 81 | − <Badge variant="secondary" className="text-[10px]"> | |
| 81 | + <Badge variant="secondary" className="text-xs"> | |
| 82 | 82 | OpenAPI |
| 83 | 83 | </Badge> |
| 84 | 84 | </div> |
| @@ -129,7 +129,7 @@ function EditForm(props: { · 44 unmodified lines | ||
| 129 | 129 | |
| 130 | 130 | {error && ( |
| 131 | 131 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 132 | − <p className="text-[12px] text-destructive">{error}</p> | |
| 132 | + <p className="text-sm text-destructive">{error}</p> | |
| 133 | 133 | </div> |
| 134 | 134 | )} |
| 135 | 135 | |
| @@ -158,7 +158,7 @@ export default function EditOpenApiSource(props: { sourceId: string; onSave: () · 22 unmodified lines | ||
| 158 | 158 | <div className="space-y-6"> |
| 159 | 159 | <div> |
| 160 | 160 | <h1 className="text-xl font-semibold text-foreground">Edit OpenAPI Source</h1> |
| 161 | − <p className="mt-1 text-[13px] text-muted-foreground">Loading configuration…</p> | |
| 161 | + <p className="mt-1 text-sm text-muted-foreground">Loading configuration…</p> | |
| 162 | 162 | </div> |
| 163 | 163 | </div> |
| 164 | 164 | ); |
| @@ -74,13 +74,13 @@ function Calendar({ · 73 unmodified lines | ||
| 74 | 74 | table: "w-full border-collapse", |
| 75 | 75 | weekdays: cn("flex", defaultClassNames.weekdays), |
| 76 | 76 | weekday: cn( |
| 77 | − "flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none", | |
| 77 | + "flex-1 rounded-md text-sm font-normal text-muted-foreground select-none", | |
| 78 | 78 | defaultClassNames.weekday, |
| 79 | 79 | ), |
| 80 | 80 | week: cn("mt-2 flex w-full", defaultClassNames.week), |
| 81 | 81 | week_number_header: cn("w-(--cell-size) select-none", defaultClassNames.week_number_header), |
| 82 | 82 | week_number: cn( |
| 83 | − "text-[0.8rem] text-muted-foreground select-none", | |
| 83 | + "text-sm text-muted-foreground select-none", | |
| 84 | 84 | defaultClassNames.week_number, |
| 85 | 85 | ), |
| 86 | 86 | day: cn( |
| @@ -299,7 +299,7 @@ function CardStackEntryField({ · 298 unmodified lines | ||
| 299 | 299 | </div> |
| 300 | 300 | )} |
| 301 | 301 | {children} |
| 302 | − {hint && <p className="text-[12px] text-muted-foreground">{hint}</p>} | |
| 302 | + {hint && <p className="text-sm text-muted-foreground">{hint}</p>} | |
| 303 | 303 | </div> |
| 304 | 304 | ); |
| 305 | 305 | } |
| @@ -110,14 +110,14 @@ export function CodeBlock(props: { · 109 unmodified lines | ||
| 110 | 110 | <div className={cn("rounded-lg border border-border bg-card/60 overflow-hidden", className)}> |
| 111 | 111 | {title && ( |
| 112 | 112 | <div className="flex items-center justify-between border-b border-border px-3 py-2"> |
| 113 | − <span className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground/70"> | |
| 113 | + <span className="text-sm font-medium uppercase tracking-wider text-muted-foreground"> | |
| 114 | 114 | {title} |
| 115 | 115 | </span> |
| 116 | 116 | <Button |
| 117 | 117 | variant="ghost" |
| 118 | 118 | size="icon-xs" |
| 119 | 119 | onClick={handleCopy} |
| 120 | − className="text-muted-foreground/30 hover:text-muted-foreground" | |
| 120 | + className="text-muted-foreground hover:text-muted-foreground" | |
| 121 | 121 | title="Copy" |
| 122 | 122 | > |
| 123 | 123 | {copied ? <CheckIcon /> : <CopyIcon />} |
| @@ -130,7 +130,7 @@ export function CodeBlock(props: { · 6 unmodified lines | ||
| 130 | 130 | variant="ghost" |
| 131 | 131 | size="icon-xs" |
| 132 | 132 | onClick={handleCopy} |
| 133 | − className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground/40 opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity" | |
| 133 | + className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity" | |
| 134 | 134 | title="Copy to clipboard" |
| 135 | 135 | > |
| 136 | 136 | {copied ? <CheckIcon /> : <CopyIcon />} |
| @@ -138,11 +138,11 @@ export function CodeBlock(props: { · 1 unmodified line | ||
| 138 | 138 | )} |
| 139 | 139 | |
| 140 | 140 | <div |
| 141 | − className="overflow-auto text-[12px] leading-relaxed [&_pre]:!bg-transparent [&_pre]:p-3 [&_code]:font-mono" | |
| 141 | + className="overflow-auto text-sm leading-relaxed [&_pre]:!bg-transparent [&_pre]:p-3 [&_code]:font-mono" | |
| 142 | 142 | style={maxH ? { maxHeight: maxH } : undefined} |
| 143 | 143 | > |
| 144 | 144 | {highlighted ?? ( |
| 145 | − <pre className="p-3 font-mono text-[12px] leading-relaxed text-foreground/60"> | |
| 145 | + <pre className="p-3 font-mono text-sm leading-relaxed text-foreground/60"> | |
| 146 | 146 | {code} |
| 147 | 147 | </pre> |
| 148 | 148 | )} |
| @@ -154,7 +154,7 @@ export function CodeBlock(props: { · 5 unmodified lines | ||
| 154 | 154 | variant="outline" |
| 155 | 155 | size="sm" |
| 156 | 156 | onClick={() => setExpanded(true)} |
| 157 | − className="text-[11px] font-medium text-muted-foreground hover:text-foreground" | |
| 157 | + className="text-xs font-medium text-muted-foreground hover:text-foreground" | |
| 158 | 158 | > |
| 159 | 159 | Show all ({lines.length} lines) |
| 160 | 160 | </Button> |
| @@ -369,13 +369,13 @@ export function ExpandableCodeBlock(props: { · 368 unmodified lines | ||
| 369 | 369 | variant="ghost" |
| 370 | 370 | size="icon-xs" |
| 371 | 371 | onClick={handleCopy} |
| 372 | − className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground/40 opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity" | |
| 372 | + className="absolute right-2 top-2 z-10 rounded-md border border-border bg-card/90 p-1.5 text-muted-foreground opacity-0 backdrop-blur-sm hover:text-foreground group-hover:opacity-100 transition-opacity" | |
| 373 | 373 | title="Copy to clipboard" |
| 374 | 374 | > |
| 375 | 375 | {copied ? <CheckIcon /> : <CopyIcon />} |
| 376 | 376 | </Button> |
| 377 | 377 | |
| 378 | − <pre className="overflow-auto p-3 font-mono text-[0.75rem] leading-6 !bg-transparent"> | |
| 378 | + <pre className="overflow-auto p-3 font-mono text-xs leading-6 !bg-transparent"> | |
| 379 | 379 | <code> |
| 380 | 380 | <HighlightedCode |
| 381 | 381 | tokens={tokens} |
| @@ -27,7 +27,7 @@ function PreBlock(props: { children?: ReactNode; node?: unknown }) { · 26 unmodified lines | ||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | const PROSE_CLASSES = [ |
| 30 | − "text-[13px] leading-relaxed text-muted-foreground", | |
| 30 | + "text-sm leading-relaxed text-muted-foreground", | |
| 31 | 31 | // paragraphs |
| 32 | 32 | "[&_p]:mb-[0.4em] [&_p:last-child]:mb-0", |
| 33 | 33 | // bold |
| @@ -47,10 +47,10 @@ const PROSE_CLASSES = [ · 13 unmodified lines | ||
| 47 | 47 | "[&_th]:border [&_th]:border-border [&_th]:px-2 [&_th]:py-1 [&_th]:text-left [&_th]:bg-muted [&_th]:font-semibold [&_th]:text-foreground", |
| 48 | 48 | "[&_td]:border [&_td]:border-border [&_td]:px-2 [&_td]:py-1 [&_td]:text-left [&_td]:bg-background", |
| 49 | 49 | // headings |
| 50 | − "[&_h1]:font-semibold [&_h1]:text-foreground [&_h1]:mt-2 [&_h1]:mb-1 [&_h1]:text-[15px]", | |
| 50 | + "[&_h1]:font-semibold [&_h1]:text-foreground [&_h1]:mt-2 [&_h1]:mb-1 [&_h1]:text-sm", | |
| 51 | 51 | "[&_h2]:font-semibold [&_h2]:text-foreground [&_h2]:mt-2 [&_h2]:mb-1 [&_h2]:text-sm", |
| 52 | − "[&_h3]:font-semibold [&_h3]:text-foreground [&_h3]:mt-2 [&_h3]:mb-1 [&_h3]:text-[13px]", | |
| 53 | − "[&_h4]:font-semibold [&_h4]:text-foreground [&_h4]:mt-2 [&_h4]:mb-1 [&_h4]:text-[13px]", | |
| 52 | + "[&_h3]:font-semibold [&_h3]:text-foreground [&_h3]:mt-2 [&_h3]:mb-1 [&_h3]:text-xs", | |
| 53 | + "[&_h4]:font-semibold [&_h4]:text-foreground [&_h4]:mt-2 [&_h4]:mb-1 [&_h4]:text-xs", | |
| 54 | 54 | // blockquote |
| 55 | 55 | "[&_blockquote]:border-l-2 [&_blockquote]:border-border [&_blockquote]:pl-3 [&_blockquote]:my-1.5 [&_blockquote]:text-muted-foreground", |
| 56 | 56 | // hr |
| @@ -53,7 +53,7 @@ export function McpInstallCard(props: { className?: string }) { · 52 unmodified lines | ||
| 53 | 53 | <div className="mb-3 flex items-start justify-between gap-3"> |
| 54 | 54 | <div className="space-y-1"> |
| 55 | 55 | <h2 className="text-sm font-semibold text-foreground">Connect an agent</h2> |
| 56 | − <p className="text-[13px] text-muted-foreground">{description}</p> | |
| 56 | + <p className="text-sm text-muted-foreground">{description}</p> | |
| 57 | 57 | </div> |
| 58 | 58 | <div className="flex shrink-0 items-center gap-2 text-muted-foreground"> |
| 59 | 59 | <div className="group/agents flex items-center"> |
| @@ -72,7 +72,7 @@ export function McpInstallCard(props: { className?: string }) { · 12 unmodified lines | ||
| 72 | 72 | </span> |
| 73 | 73 | ))} |
| 74 | 74 | </div> |
| 75 | − <span className="text-[12px] text-muted-foreground/70">and more</span> | |
| 75 | + <span className="text-sm text-muted-foreground">and more</span> | |
| 76 | 76 | </div> |
| 77 | 77 | </div> |
| 78 | 78 | |
| @@ -87,7 +87,7 @@ export function McpInstallCard(props: { className?: string }) { · 8 unmodified lines | ||
| 87 | 87 | </TabsContent> |
| 88 | 88 | <TabsContent value="stdio"> |
| 89 | 89 | <CodeBlock code={command} lang="bash" /> |
| 90 | − <p className="mt-3 text-[12px] text-muted-foreground"> | |
| 90 | + <p className="mt-3 text-xs text-muted-foreground"> | |
| 91 | 91 | {isDev |
| 92 | 92 | ? "Uses the repo-local dev CLI. Run from the repository root." |
| 93 | 93 | : "Requires the executor CLI on your PATH."} |
| @@ -181,7 +181,7 @@ const mergeAllOf = (schemas: JsonSchema[], root: JsonSchema): JsonSchema => { · 180 unmodified lines | ||
| 181 | 181 | // Type label styling — plain text, no colored pills |
| 182 | 182 | // --------------------------------------------------------------------------- |
| 183 | 183 | |
| 184 | −const typeClasses = "font-mono text-[0.6875rem] leading-5 text-muted-foreground"; | |
| 184 | +const typeClasses = "font-mono text-xs leading-5 text-muted-foreground"; | |
| 185 | 185 | |
| 186 | 186 | // --------------------------------------------------------------------------- |
| 187 | 187 | // PropertyRow |
| @@ -255,14 +255,14 @@ function PropertyRow(props: { · 67 unmodified lines | ||
| 255 | 255 | <p className={typeClasses}>{typeLabel}</p> |
| 256 | 256 | {!hideRequiredBadge && |
| 257 | 257 | (required ? ( |
| 258 | − <p className="text-[0.6875rem] leading-5 font-medium text-orange-600 dark:text-orange-400"> | |
| 258 | + <p className="text-xs leading-5 font-medium text-orange-600 dark:text-orange-400"> | |
| 259 | 259 | required |
| 260 | 260 | </p> |
| 261 | 261 | ) : ( |
| 262 | − <p className="text-[0.6875rem] leading-5 text-muted-foreground">optional</p> | |
| 262 | + <p className="text-xs leading-5 text-muted-foreground">optional</p> | |
| 263 | 263 | ))} |
| 264 | 264 | {schema.default !== undefined && ( |
| 265 | − <p className="text-[0.6875rem] leading-5 text-muted-foreground"> | |
| 265 | + <p className="text-xs leading-5 text-muted-foreground"> | |
| 266 | 266 | = {JSON.stringify(schema.default)} |
| 267 | 267 | </p> |
| 268 | 268 | )} |
| @@ -272,7 +272,7 @@ function PropertyRow(props: { · 3 unmodified lines | ||
| 272 | 272 | {/* Description — below the row */} |
| 273 | 273 | {description && ( |
| 274 | 274 | <p |
| 275 | − className="pr-4 pb-2.5 text-[0.8125rem] leading-5 text-muted-foreground" | |
| 275 | + className="pr-4 pb-2.5 text-sm leading-5 text-muted-foreground" | |
| 276 | 276 | style={{ paddingLeft: `${depth * 16 + 36}px` }} |
| 277 | 277 | > |
| 278 | 278 | {description} |
| @@ -298,7 +298,7 @@ function PropertyChildren(props: { schema: JsonSchema; root: JsonSchema; depth: · 19 unmodified lines | ||
| 298 | 298 | |
| 299 | 299 | if (depth > 6) { |
| 300 | 300 | return ( |
| 301 | − <p className="px-4 py-2 text-[0.8125rem] text-muted-foreground"> | |
| 301 | + <p className="px-4 py-2 text-sm text-muted-foreground"> | |
| 302 | 302 | Nested too deep to display. |
| 303 | 303 | </p> |
| 304 | 304 | ); |
| @@ -357,7 +357,7 @@ function PropertyChildren(props: { schema: JsonSchema; root: JsonSchema; depth: · 52 unmodified lines | ||
| 357 | 357 | return ( |
| 358 | 358 | <div> |
| 359 | 359 | <p |
| 360 | − className="px-4 py-2 text-[0.6875rem] font-medium uppercase tracking-widest text-muted-foreground" | |
| 360 | + className="px-4 py-2 text-xs font-medium uppercase tracking-widest text-muted-foreground" | |
| 361 | 361 | style={depth > 0 ? { paddingLeft: `${depth * 16 + 16}px` } : undefined} |
| 362 | 362 | > |
| 363 | 363 | {label} |
| @@ -446,7 +446,7 @@ export function SchemaExplorer(props: { schema: unknown; title?: string }) { · 82 unmodified lines | ||
| 446 | 446 | <CardStackHeader |
| 447 | 447 | rightSlot={ |
| 448 | 448 | countLabel ? ( |
| 449 | − <span className="shrink-0 tabular-nums text-[11px] text-muted-foreground"> | |
| 449 | + <span className="shrink-0 tabular-nums text-xs text-muted-foreground"> | |
| 450 | 450 | {countLabel} |
| 451 | 451 | </span> |
| 452 | 452 | ) : undefined |
| @@ -254,14 +254,14 @@ export function ToolTree(props: { · 253 unmodified lines | ||
| 254 | 254 | return ( |
| 255 | 255 | <div className="flex h-full min-h-0 flex-col bg-muted/20"> |
| 256 | 256 | <div className="flex shrink-0 items-center gap-2 px-3 py-2"> |
| 257 | − <SearchIcon aria-hidden className="size-3 shrink-0 text-muted-foreground/60" /> | |
| 257 | + <SearchIcon aria-hidden className="size-3 shrink-0 text-muted-foreground" /> | |
| 258 | 258 | <Input |
| 259 | 259 | ref={searchRef} |
| 260 | 260 | value={search} |
| 261 | 261 | onChange={(e) => setSearch(e.target.value)} |
| 262 | 262 | placeholder={`Filter ${tools.length} tools…`} |
| 263 | 263 | aria-label="Filter tools" |
| 264 | − className="h-auto min-w-0 flex-1 rounded-none border-0 bg-transparent p-0 text-[0.75rem] shadow-none outline-none placeholder:text-muted-foreground/50 focus-visible:border-transparent focus-visible:ring-0" | |
| 264 | + className="h-auto min-w-0 flex-1 rounded-none border-0 bg-transparent p-0 text-xs shadow-none outline-none placeholder:text-muted-foreground focus-visible:border-transparent focus-visible:ring-0" | |
| 265 | 265 | /> |
| 266 | 266 | {search.length > 0 && ( |
| 267 | 267 | <Button |
| @@ -278,7 +278,7 @@ export function ToolTree(props: { · 10 unmodified lines | ||
| 278 | 278 | <div className="mx-2 border-t border-border/30" /> |
| 279 | 279 | <div className="min-h-0 flex-1 overflow-y-auto"> |
| 280 | 280 | {filteredTools.length === 0 ? ( |
| 281 | − <div className="p-4 text-center text-[13px] text-muted-foreground"> | |
| 281 | + <div className="p-4 text-center text-xs text-muted-foreground"> | |
| 282 | 282 | {terms.length > 0 ? "No tools match your filter" : "No tools available"} |
| 283 | 283 | </div> |
| 284 | 284 | ) : ( |
| @@ -318,7 +318,7 @@ export function ToolTree(props: { · 33 unmodified lines | ||
| 318 | 318 | const rowIndent = (depth: number) => 12 + depth * 16; |
| 319 | 319 | |
| 320 | 320 | const rowBaseClasses = |
| 321 | − "relative flex h-auto w-full items-center justify-start gap-2 rounded-none py-2 text-[13px] font-normal transition-[background-color] duration-150"; | |
| 321 | + "relative flex h-auto w-full items-center justify-start gap-2 rounded-none py-2 text-xs font-normal transition-[background-color] duration-150"; | |
| 322 | 322 | |
| 323 | 323 | function ToolGroupRow(props: { |
| 324 | 324 | segment: string; |
| @@ -343,10 +343,10 @@ function ToolGroupRow(props: { · 18 unmodified lines | ||
| 343 | 343 | props.open && "rotate-90", |
| 344 | 344 | )} |
| 345 | 345 | /> |
| 346 | − <span className="min-w-0 flex-1 truncate text-left font-mono text-[13px] text-foreground"> | |
| 346 | + <span className="min-w-0 flex-1 truncate text-left font-mono text-xs text-foreground"> | |
| 347 | 347 | {highlightMatch(props.segment, props.search)} |
| 348 | 348 | </span> |
| 349 | − <span className="shrink-0 tabular-nums text-[11px] text-muted-foreground">{props.count}</span> | |
| 349 | + <span className="shrink-0 tabular-nums text-xs text-muted-foreground">{props.count}</span> | |
| 350 | 350 | </Button> |
| 351 | 351 | ); |
| 352 | 352 | } |
| @@ -103,7 +103,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 102 unmodified lines | ||
| 103 | 103 | <DialogContent className="sm:max-w-[440px]"> |
| 104 | 104 | <DialogHeader> |
| 105 | 105 | <DialogTitle className="font-display text-xl">New secret</DialogTitle> |
| 106 | − <DialogDescription className="text-[13px] leading-relaxed"> | |
| 106 | + <DialogDescription className="text-sm leading-relaxed"> | |
| 107 | 107 | Store a credential or API key. Values are kept in your system keychain when available, |
| 108 | 108 | with a local encrypted file fallback. |
| 109 | 109 | </DialogDescription> |
| @@ -114,7 +114,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 4 unmodified lines | ||
| 114 | 114 | <div className="grid gap-1.5"> |
| 115 | 115 | <Label |
| 116 | 116 | htmlFor="secret-id" |
| 117 | − className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground" | |
| 117 | + className="text-sm font-medium uppercase tracking-wider text-muted-foreground" | |
| 118 | 118 | > |
| 119 | 119 | ID |
| 120 | 120 | </Label> |
| @@ -123,13 +123,13 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 2 unmodified lines | ||
| 123 | 123 | placeholder="github-token" |
| 124 | 124 | value={id} |
| 125 | 125 | onChange={(e) => setId((e.target as HTMLInputElement).value)} |
| 126 | − className="font-mono text-[13px] h-9" | |
| 126 | + className="font-mono text-xs h-9" | |
| 127 | 127 | /> |
| 128 | 128 | </div> |
| 129 | 129 | <div className="grid gap-1.5"> |
| 130 | 130 | <Label |
| 131 | 131 | htmlFor="secret-name" |
| 132 | − className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground" | |
| 132 | + className="text-sm font-medium uppercase tracking-wider text-muted-foreground" | |
| 133 | 133 | > |
| 134 | 134 | Name |
| 135 | 135 | </Label> |
| @@ -138,7 +138,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 2 unmodified lines | ||
| 138 | 138 | placeholder="GitHub PAT" |
| 139 | 139 | value={name} |
| 140 | 140 | onChange={(e) => setName((e.target as HTMLInputElement).value)} |
| 141 | − className="text-[13px] h-9" | |
| 141 | + className="text-sm h-9" | |
| 142 | 142 | /> |
| 143 | 143 | </div> |
| 144 | 144 | </div> |
| @@ -146,7 +146,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 1 unmodified line | ||
| 146 | 146 | <div className="grid gap-1.5"> |
| 147 | 147 | <Label |
| 148 | 148 | htmlFor="secret-value" |
| 149 | − className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground" | |
| 149 | + className="text-sm font-medium uppercase tracking-wider text-muted-foreground" | |
| 150 | 150 | > |
| 151 | 151 | Value |
| 152 | 152 | </Label> |
| @@ -156,7 +156,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 3 unmodified lines | ||
| 156 | 156 | placeholder="ghp_xxxxxxxxxxxxxxxxxxxx" |
| 157 | 157 | value={value} |
| 158 | 158 | onChange={(e) => setValue((e.target as HTMLInputElement).value)} |
| 159 | − className="font-mono text-[13px] h-9" | |
| 159 | + className="font-mono text-xs h-9" | |
| 160 | 160 | /> |
| 161 | 161 | </div> |
| 162 | 162 | |
| @@ -164,10 +164,10 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 1 unmodified line | ||
| 164 | 164 | <div className="grid gap-1.5"> |
| 165 | 165 | <Label |
| 166 | 166 | htmlFor="secret-purpose" |
| 167 | − className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground" | |
| 167 | + className="text-sm font-medium uppercase tracking-wider text-muted-foreground" | |
| 168 | 168 | > |
| 169 | 169 | Purpose{" "} |
| 170 | − <span className="normal-case tracking-normal font-normal text-muted-foreground/60"> | |
| 170 | + <span className="normal-case tracking-normal font-normal text-muted-foreground"> | |
| 171 | 171 | (opt.) |
| 172 | 172 | </span> |
| 173 | 173 | </Label> |
| @@ -176,18 +176,18 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 2 unmodified lines | ||
| 176 | 176 | placeholder="GitHub API auth" |
| 177 | 177 | value={purpose} |
| 178 | 178 | onChange={(e) => setPurpose((e.target as HTMLInputElement).value)} |
| 179 | − className="text-[13px] h-9" | |
| 179 | + className="text-sm h-9" | |
| 180 | 180 | /> |
| 181 | 181 | </div> |
| 182 | 182 | <div className="grid gap-1.5"> |
| 183 | 183 | <Label |
| 184 | 184 | htmlFor="secret-provider" |
| 185 | − className="text-[11px] font-medium uppercase tracking-wider text-muted-foreground" | |
| 185 | + className="text-sm font-medium uppercase tracking-wider text-muted-foreground" | |
| 186 | 186 | > |
| 187 | 187 | Storage |
| 188 | 188 | </Label> |
| 189 | 189 | <Select value={provider} onValueChange={setProvider}> |
| 190 | − <SelectTrigger id="secret-provider" className="h-9 text-[13px]"> | |
| 190 | + <SelectTrigger id="secret-provider" className="h-9 text-sm"> | |
| 191 | 191 | <SelectValue /> |
| 192 | 192 | </SelectTrigger> |
| 193 | 193 | <SelectContent> |
| @@ -201,7 +201,7 @@ function AddSecretDialog(props: { open: boolean; onOpenChange: (v: boolean) => v · 7 unmodified lines | ||
| 201 | 201 | |
| 202 | 202 | {error && ( |
| 203 | 203 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2"> |
| 204 | − <p className="text-[12px] text-destructive">{error}</p> | |
| 204 | + <p className="text-sm text-destructive">{error}</p> | |
| 205 | 205 | </div> |
| 206 | 206 | )} |
| 207 | 207 | </div> |
| @@ -265,7 +265,7 @@ function SecretRow(props: { · 57 unmodified lines | ||
| 265 | 265 | </DropdownMenuTrigger> |
| 266 | 266 | <DropdownMenuContent align="end" className="w-40"> |
| 267 | 267 | <DropdownMenuItem |
| 268 | − className="text-destructive focus:text-destructive text-[12px]" | |
| 268 | + className="text-destructive focus:text-destructive text-sm" | |
| 269 | 269 | onClick={props.onRemove} |
| 270 | 270 | > |
| 271 | 271 | Remove secret |
| @@ -312,7 +312,7 @@ export function SecretsPage(props: { secretProviderPlugins: readonly SecretProvi · 40 unmodified lines | ||
| 312 | 312 | <h1 className="font-display text-[2rem] tracking-tight text-foreground leading-none"> |
| 313 | 313 | Secrets |
| 314 | 314 | </h1> |
| 315 | − <p className="mt-2 text-[13px] text-muted-foreground leading-relaxed"> | |
| 315 | + <p className="mt-2 text-sm text-muted-foreground leading-relaxed"> | |
| 316 | 316 | Credentials and API keys used by your connected sources. |
| 317 | 317 | </p> |
| 318 | 318 | </div> |
| @@ -349,12 +349,12 @@ export function SecretsPage(props: { secretProviderPlugins: readonly SecretProvi · 30 unmodified lines | ||
| 349 | 349 | onInitial: () => ( |
| 350 | 350 | <div className="flex items-center gap-2 py-8"> |
| 351 | 351 | <div className="size-1.5 rounded-full bg-muted-foreground/30 animate-pulse" /> |
| 352 | − <p className="text-[13px] text-muted-foreground/60">Loading secrets…</p> | |
| 352 | + <p className="text-sm text-muted-foreground">Loading secrets…</p> | |
| 353 | 353 | </div> |
| 354 | 354 | ), |
| 355 | 355 | onFailure: () => ( |
| 356 | 356 | <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-4 py-3"> |
| 357 | − <p className="text-[13px] text-destructive">Failed to load secrets</p> | |
| 357 | + <p className="text-sm text-destructive">Failed to load secrets</p> | |
| 358 | 358 | </div> |
| 359 | 359 | ), |
| 360 | 360 | onSuccess: ({ value }) => ( |
| @@ -372,7 +372,7 @@ export function SecretsPage(props: { secretProviderPlugins: readonly SecretProvi · 11 unmodified lines | ||
| 372 | 372 | <Button |
| 373 | 373 | variant="link" |
| 374 | 374 | size="sm" |
| 375 | − className="h-7 px-0 text-[12px]" | |
| 375 | + className="h-7 px-0 text-xs" | |
| 376 | 376 | onClick={() => setAddOpen(true)} |
| 377 | 377 | > |
| 378 | 378 | Add your first secret |
| @@ -121,7 +121,7 @@ export function SourceDetailPage(props: { · 120 unmodified lines | ||
| 121 | 121 | )} |
| 122 | 122 | <Badge variant="secondary">{sourceData?.kind ?? "source"}</Badge> |
| 123 | 123 | {Result.isSuccess(tools) && !editing && ( |
| 124 | − <span className="hidden text-[11px] tabular-nums text-muted-foreground/50 sm:block"> | |
| 124 | + <span className="hidden text-xs tabular-nums text-muted-foreground sm:block"> | |
| 125 | 125 | {sourceTools.length} {sourceTools.length === 1 ? "tool" : "tools"} |
| 126 | 126 | </span> |
| 127 | 127 | )} |
| @@ -155,7 +155,7 @@ export function SourceDetailPage(props: { · 27 unmodified lines | ||
| 155 | 155 | !editing && |
| 156 | 156 | (confirmDelete ? ( |
| 157 | 157 | <div className="flex items-center gap-2"> |
| 158 | − <span className="text-[11px] font-medium text-destructive">Confirm?</span> | |
| 158 | + <span className="text-xs font-medium text-destructive">Confirm?</span> | |
| 159 | 159 | <Button |
| 160 | 160 | variant="outline" |
| 161 | 161 | size="sm" |
| @@ -28,10 +28,10 @@ export function SourcesAddPage(props: { · 27 unmodified lines | ||
| 28 | 28 | <div className="min-h-0 flex-1 overflow-y-auto"> |
| 29 | 29 | <div className="mx-auto max-w-4xl px-6 py-10 lg:px-10 lg:py-14"> |
| 30 | 30 | <div className="flex flex-col items-center justify-center rounded-2xl border border-dashed border-border py-20"> |
| 31 | − <p className="text-[14px] font-medium text-foreground/70 mb-1"> | |
| 31 | + <p className="text-sm font-medium text-foreground/70 mb-1"> | |
| 32 | 32 | Unknown source type: {pluginKey} |
| 33 | 33 | </p> |
| 34 | − <p className="text-[13px] text-muted-foreground/60 mb-5"> | |
| 34 | + <p className="text-xs text-muted-foreground mb-5"> | |
| 35 | 35 | This source plugin is not registered. |
| 36 | 36 | </p> |
| 37 | 37 | <Link |
| @@ -72,7 +72,7 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 71 unmodified lines | ||
| 72 | 72 | <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl"> |
| 73 | 73 | Sources |
| 74 | 74 | </h1> |
| 75 | − <p className="mt-1.5 text-[14px] text-muted-foreground"> | |
| 75 | + <p className="mt-1.5 text-sm text-muted-foreground"> | |
| 76 | 76 | Tool providers available in this workspace. |
| 77 | 77 | </p> |
| 78 | 78 | </div> |
| @@ -139,8 +139,8 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 60 unmodified lines | ||
| 139 | 139 | /> |
| 140 | 140 | </svg> |
| 141 | 141 | </div> |
| 142 | − <p className="text-[14px] font-medium text-foreground/70 mb-1">No sources yet</p> | |
| 143 | − <p className="text-[13px] text-muted-foreground/60 mb-5"> | |
| 142 | + <p className="text-sm font-medium text-foreground/70 mb-1">No sources yet</p> | |
| 143 | + <p className="text-xs text-muted-foreground mb-5"> | |
| 144 | 144 | Add a source to get started. |
| 145 | 145 | </p> |
| 146 | 146 | </div> |
| @@ -150,7 +150,7 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 3 unmodified lines | ||
| 150 | 150 | <section className="space-y-3"> |
| 151 | 151 | <div> |
| 152 | 152 | <h2 className="text-sm font-semibold text-foreground">Built-in</h2> |
| 153 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 153 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 154 | 154 | Runtime sources exposed by the loaded executor plugins. |
| 155 | 155 | </p> |
| 156 | 156 | </div> |
| @@ -162,7 +162,7 @@ export function SourcesPage(props: { sourcePlugins: readonly SourcePlugin[] }) { · 5 unmodified lines | ||
| 162 | 162 | <section className="space-y-3"> |
| 163 | 163 | <div> |
| 164 | 164 | <h2 className="text-sm font-semibold text-foreground">Connected</h2> |
| 165 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 165 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 166 | 166 | User-configured sources available in this workspace. |
| 167 | 167 | </p> |
| 168 | 168 | </div> |
| @@ -207,7 +207,7 @@ function PresetCard({ preset, pluginKey, pluginLabel }: PresetEntry) { · 38 unmodified lines | ||
| 207 | 207 | <div className="min-w-0 flex-1"> |
| 208 | 208 | <div className="flex items-center gap-2"> |
| 209 | 209 | <span className="truncate text-sm font-medium text-foreground">{preset.name}</span> |
| 210 | − <span className="shrink-0 rounded bg-secondary px-1.5 py-0.5 text-[10px] font-medium text-secondary-foreground"> | |
| 210 | + <span className="shrink-0 rounded bg-secondary px-1.5 py-0.5 text-xs font-medium text-secondary-foreground"> | |
| 211 | 211 | {pluginLabel} |
| 212 | 212 | </span> |
| 213 | 213 | </div> |
| @@ -234,7 +234,7 @@ function PresetGrid(props: { plugins: readonly SourcePlugin[] }) { · 20 unmodified lines | ||
| 234 | 234 | <section className="mb-8 space-y-3"> |
| 235 | 235 | <div> |
| 236 | 236 | <h2 className="text-sm font-semibold text-foreground">Popular sources</h2> |
| 237 | − <p className="mt-1 text-[13px] text-muted-foreground"> | |
| 237 | + <p className="mt-1 text-sm text-muted-foreground"> | |
| 238 | 238 | One-click setup for common APIs and services. |
| 239 | 239 | </p> |
| 240 | 240 | </div> |
| @@ -280,11 +280,11 @@ function SourceGrid(props: { · 39 unmodified lines | ||
| 280 | 280 | <div className="truncate text-sm font-semibold text-foreground">{s.name}</div> |
| 281 | 281 | <div className="flex shrink-0 items-center gap-1.5"> |
| 282 | 282 | {s.runtime && ( |
| 283 | − <span className="rounded bg-muted px-1.5 py-0.5 text-[10px] font-medium text-muted-foreground"> | |
| 283 | + <span className="rounded bg-muted px-1.5 py-0.5 text-xs font-medium text-muted-foreground"> | |
| 284 | 284 | built-in |
| 285 | 285 | </span> |
| 286 | 286 | )} |
| 287 | − <span className="rounded bg-secondary px-1.5 py-0.5 text-[10px] font-medium text-secondary-foreground"> | |
| 287 | + <span className="rounded bg-secondary px-1.5 py-0.5 text-xs font-medium text-secondary-foreground"> | |
| 288 | 288 | {s.kind} |
| 289 | 289 | </span> |
| 290 | 290 | </div> |
| @@ -16,7 +16,7 @@ export function ToolsPage() { · 15 unmodified lines | ||
| 16 | 16 | <h1 className="font-display text-3xl tracking-tight text-foreground lg:text-4xl"> |
| 17 | 17 | Tools |
| 18 | 18 | </h1> |
| 19 | − <p className="mt-1.5 text-[14px] text-muted-foreground"> | |
| 19 | + <p className="mt-1.5 text-sm text-muted-foreground"> | |
| 20 | 20 | All registered tools across your connected sources. |
| 21 | 21 | </p> |
| 22 | 22 | </div> |
| @@ -38,10 +38,10 @@ export function ToolsPage() { · 15 unmodified lines | ||
| 38 | 38 | /> |
| 39 | 39 | </svg> |
| 40 | 40 | </div> |
| 41 | − <p className="text-[14px] font-medium text-foreground/70 mb-1"> | |
| 41 | + <p className="text-sm font-medium text-foreground/70 mb-1"> | |
| 42 | 42 | No tools registered |
| 43 | 43 | </p> |
| 44 | − <p className="text-[13px] text-muted-foreground/60"> | |
| 44 | + <p className="text-sm text-muted-foreground"> | |
| 45 | 45 | Add a source to start discovering tools. |
| 46 | 46 | </p> |
| 47 | 47 | </div> |
| @@ -99,31 +99,31 @@ function InlineCreateSecret(props: { · 98 unmodified lines | ||
| 99 | 99 | |
| 100 | 100 | return ( |
| 101 | 101 | <div className="rounded-lg border border-primary/20 bg-primary/[0.02] p-3 space-y-2.5"> |
| 102 | − <p className="text-[11px] font-semibold text-primary tracking-wide uppercase">New secret</p> | |
| 102 | + <p className="text-xs font-semibold text-primary tracking-wide uppercase">New secret</p> | |
| 103 | 103 | <div className="grid grid-cols-2 gap-2"> |
| 104 | 104 | <div className="space-y-1"> |
| 105 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">ID</Label> | |
| 105 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground">ID</Label> | |
| 106 | 106 | <Input |
| 107 | 107 | value={secretId} |
| 108 | 108 | onChange={(e) => setSecretId((e.target as HTMLInputElement).value)} |
| 109 | 109 | placeholder="my-api-token" |
| 110 | − className="h-8 text-xs font-mono" | |
| 110 | + className="h-8 text-sm font-mono" | |
| 111 | 111 | /> |
| 112 | 112 | </div> |
| 113 | 113 | <div className="space-y-1"> |
| 114 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 114 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 115 | 115 | Label |
| 116 | 116 | </Label> |
| 117 | 117 | <Input |
| 118 | 118 | value={secretName} |
| 119 | 119 | onChange={(e) => setSecretName((e.target as HTMLInputElement).value)} |
| 120 | 120 | placeholder="API Token" |
| 121 | − className="h-8 text-xs" | |
| 121 | + className="h-8 text-sm" | |
| 122 | 122 | /> |
| 123 | 123 | </div> |
| 124 | 124 | </div> |
| 125 | 125 | <div className="space-y-1"> |
| 126 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground">Value</Label> | |
| 126 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground">Value</Label> | |
| 127 | 127 | <div className="relative"> |
| 128 | 128 | <Input |
| 129 | 129 | type={secretRevealed ? "text" : "password"} |
| @@ -144,7 +144,7 @@ function InlineCreateSecret(props: { · 14 unmodified lines | ||
| 144 | 144 | </Button> |
| 145 | 145 | </div> |
| 146 | 146 | </div> |
| 147 | − {error && <p className="text-[11px] text-destructive">{error}</p>} | |
| 147 | + {error && <p className="text-sm text-destructive">{error}</p>} | |
| 148 | 148 | <div className="flex gap-1.5 pt-0.5"> |
| 149 | 149 | <Button variant="outline" size="xs" onClick={props.onCancel}> |
| 150 | 150 | Cancel |
| @@ -326,7 +326,7 @@ export function SecretHeaderAuthRow(props: { · 175 unmodified lines | ||
| 326 | 326 | return ( |
| 327 | 327 | <div className="rounded-lg border border-border bg-card p-3 space-y-2.5"> |
| 328 | 328 | <div className="flex items-center justify-between"> |
| 329 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 329 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 330 | 330 | {label} |
| 331 | 331 | </Label> |
| 332 | 332 | {onRemove && ( |
| @@ -369,7 +369,7 @@ export function SecretHeaderAuthRow(props: { · 36 unmodified lines | ||
| 369 | 369 | {presetKey !== undefined && ( |
| 370 | 370 | <div className="grid grid-cols-2 gap-2"> |
| 371 | 371 | <div className="space-y-1"> |
| 372 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 372 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 373 | 373 | Name |
| 374 | 374 | </Label> |
| 375 | 375 | <Input |
| @@ -382,13 +382,13 @@ export function SecretHeaderAuthRow(props: { · 6 unmodified lines | ||
| 382 | 382 | }) |
| 383 | 383 | } |
| 384 | 384 | placeholder="Authorization" |
| 385 | − className="h-8 text-xs font-mono" | |
| 385 | + className="h-8 text-sm font-mono" | |
| 386 | 386 | /> |
| 387 | 387 | </div> |
| 388 | 388 | <div className="space-y-1"> |
| 389 | − <Label className="text-[10px] uppercase tracking-wider text-muted-foreground"> | |
| 389 | + <Label className="text-xs uppercase tracking-wider text-muted-foreground"> | |
| 390 | 390 | Prefix{" "} |
| 391 | − <span className="normal-case tracking-normal font-normal text-muted-foreground/60"> | |
| 391 | + <span className="normal-case tracking-normal font-normal text-muted-foreground"> | |
| 392 | 392 | (opt.) |
| 393 | 393 | </span> |
| 394 | 394 | </Label> |
| @@ -402,7 +402,7 @@ export function SecretHeaderAuthRow(props: { · 7 unmodified lines | ||
| 402 | 402 | }) |
| 403 | 403 | } |
| 404 | 404 | placeholder="Bearer " |
| 405 | − className="h-8 text-xs font-mono" | |
| 405 | + className="h-8 text-sm font-mono" | |
| 406 | 406 | /> |
| 407 | 407 | </div> |
| 408 | 408 | </div> |
| @@ -116,7 +116,7 @@ export function SecretPicker(props: { · 115 unmodified lines | ||
| 116 | 116 | }} |
| 117 | 117 | > |
| 118 | 118 | <span className="truncate">{secret.name}</span> |
| 119 | − <span className="ml-auto truncate text-[10px] font-mono text-muted-foreground"> | |
| 119 | + <span className="ml-auto truncate text-xs font-mono text-muted-foreground"> | |
| 120 | 120 | {secret.id} |
| 121 | 121 | </span> |
| 122 | 122 | </CommandItem> |
| @@ -99,16 +99,16 @@ · 98 unmodified lines | ||
| 99 | 99 | --secondary: oklch(0.195 0.007 260); |
| 100 | 100 | --secondary-foreground: oklch(0.78 0.008 250); |
| 101 | 101 | --muted: oklch(0.175 0.005 260); |
| 102 | − --muted-foreground: oklch(0.56 0.01 250); | |
| 102 | + --muted-foreground: oklch(0.65 0.01 250); | |
| 103 | 103 | --accent: oklch(0.195 0.008 260); |
| 104 | 104 | --accent-foreground: oklch(0.9 0.008 250); |
| 105 | 105 | --destructive: oklch(0.62 0.22 25); |
| 106 | − --border: oklch(0.235 0.007 260); | |
| 106 | + --border: oklch(0.28 0.007 260); | |
| 107 | 107 | --input: oklch(0.195 0.007 260); |
| 108 | 108 | --ring: oklch(0.72 0.15 175); |
| 109 | 109 | |
| 110 | 110 | --sidebar: oklch(0.105 0.005 260); |
| 111 | − --sidebar-foreground: oklch(0.72 0.008 250); | |
| 111 | + --sidebar-foreground: oklch(0.78 0.008 250); | |
| 112 | 112 | --sidebar-border: oklch(0.2 0.006 260); |
| 113 | 113 | --sidebar-active: oklch(0.18 0.008 260); |
| 114 | 114 | |