Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio: one fixed radius scale, applied to the shared primitives (#14919)

Michael Han77949e668c0c
diff --git a/studio/frontend/src/components/advanced-disclosure.tsx b/studio/frontend/src/components/advanced-disclosure.tsx
index 2d7a05aa34d..de307836318 100644
--- a/studio/frontend/src/components/advanced-disclosure.tsx
+++ b/studio/frontend/src/components/advanced-disclosure.tsx
@@ -35,7 +35,7 @@ export function AdvancedDisclosure({
type="button"
onClick={() => onOpenChange(!open)}
aria-expanded={open}
- className="flex items-center gap-2 rounded-lg px-3 py-1.5 text-left transition-colors hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex items-center gap-2 rounded-full px-3 py-1.5 text-left transition-colors hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
{/* Icon and label sized to the slider rows above, so it reads as one of them. */}
<HugeiconsIcon
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index 2981894a46e..f5530df8c5e 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.tsx
@@ -6018,7 +6018,7 @@ export function AppSidebar() {
>
{t("shell.navigation.search")}
{searchShortcutLabel && (
- <kbd className="rounded bg-[rgb(0_0_0_/_calc(0.1*var(--contrast-wash-gain,1)))] px-1 py-px text-ui-10 font-medium leading-none dark:bg-[rgb(255_255_255_/_calc(0.15*var(--contrast-wash-gain,1)))]">
+ <kbd className="rounded-full bg-[rgb(0_0_0_/_calc(0.1*var(--contrast-wash-gain,1)))] px-1 py-px text-ui-10 font-medium leading-none dark:bg-[rgb(255_255_255_/_calc(0.15*var(--contrast-wash-gain,1)))]">
{searchShortcutLabel}
</kbd>
)}
@@ -6695,7 +6695,7 @@ export function AppSidebar() {
.openDialog("about", { scrollTarget: "about-updates" });
closeMobileIfOpen();
}}
- className="flex h-[calc(44px*var(--ui-space-scale,1))] w-full items-center gap-[calc(9px*var(--ui-space-scale,1))] rounded-[14px] border border-border/60 bg-transparent px-2 py-[calc(3px*var(--ui-space-scale,1))] text-left transition-colors hover:bg-nav-surface-hover focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring group-data-[collapsible=icon]:mx-auto group-data-[collapsible=icon]:h-[calc(34px*var(--ui-space-scale,1))] group-data-[collapsible=icon]:w-[calc(34px*var(--ui-space-scale,1))] group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:gap-0 group-data-[collapsible=icon]:rounded-full group-data-[collapsible=icon]:p-0"
+ className="btn-fill flex h-[calc(44px*var(--ui-space-scale,1))] w-full items-center gap-[calc(9px*var(--ui-space-scale,1))] rounded-[14px] px-2 py-[calc(3px*var(--ui-space-scale,1))] text-left transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring group-data-[collapsible=icon]:mx-auto group-data-[collapsible=icon]:h-[calc(34px*var(--ui-space-scale,1))] group-data-[collapsible=icon]:w-[calc(34px*var(--ui-space-scale,1))] group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:gap-0 group-data-[collapsible=icon]:rounded-full group-data-[collapsible=icon]:p-0"
>
<span
aria-hidden="true"
@@ -6746,7 +6746,7 @@ export function AppSidebar() {
side="top"
align="center"
sideOffset={8}
- className="app-user-menu sidebar-menu menu-soft-surface-up ring-0 w-[round(calc(16rem*var(--ui-space-scale,1)),1px)] rounded-[20px] border border-[rgb(0_0_0_/_calc(0.05*var(--contrast-edge-gain,1)))] px-2.5 py-2.5 font-heading dark:border-transparent"
+ className="app-user-menu sidebar-menu menu-soft-surface-up ring-0 w-[round(calc(16rem*var(--ui-space-scale,1)),1px)] rounded-xl border border-[rgb(0_0_0_/_calc(0.05*var(--contrast-edge-gain,1)))] px-2.5 py-2.5 font-heading dark:border-transparent"
trigger={(triggerRef) => (
<SidebarMenuButton
ref={triggerRef}
@@ -7012,7 +7012,7 @@ export function AppSidebar() {
</DialogDescription>
</DialogHeader>
{deleteTargetHasFiles(confirmingDelete) ? (
- <div className="flex items-start justify-between gap-4 rounded-md border border-border/60 bg-muted/35 px-3 py-2.5 dark:border-transparent">
+ <div className="flex items-start justify-between gap-4 rounded-lg border border-border/60 bg-muted/35 px-3 py-2.5 dark:border-transparent">
<label htmlFor="delete-files-on-delete" className="min-w-0 space-y-1">
<span className="block text-sm font-medium text-foreground">
{t("shell.selection.deleteFilesLabel")}
diff --git a/studio/frontend/src/components/assistant-ui/attachment.tsx b/studio/frontend/src/components/assistant-ui/attachment.tsx
index ac990c725da..4b2eaf751d4 100644
--- a/studio/frontend/src/components/assistant-ui/attachment.tsx
+++ b/studio/frontend/src/components/assistant-ui/attachment.tsx
@@ -267,7 +267,7 @@ const AnnotationsAttachmentUI: FC<{ annotations: DocumentAnnotations; isComposer
<HoverCardContent
side="top"
align="start"
- className="w-[min(26rem,calc(100vw-2rem))] rounded-[14px] p-0 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] ring-0 dark:shadow-[0_8px_28px_-6px_var(--background)]"
+ className="w-[min(26rem,calc(100vw-2rem))] rounded-xl p-0 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] ring-0 dark:shadow-[0_8px_28px_-6px_var(--background)]"
>
<div className="flex max-h-80 flex-col divide-y divide-border/60 overflow-y-auto">
{annotations.items.map((item, index) => (
@@ -408,7 +408,7 @@ const PastedTextAttachmentUI: FC<{
variant === "card" ? (
<button
className={cn(
- "aui-pasted-text-card group flex cursor-pointer overflow-hidden rounded-[15px] text-left transition-colors",
+ "aui-pasted-text-card group flex cursor-pointer overflow-hidden rounded-lg text-left transition-colors",
CARD_SIZE,
CARD_EDGE,
CARD_SURFACE,
@@ -442,7 +442,7 @@ const PastedTextAttachmentUI: FC<{
) : variant === "row" ? (
<button
className={cn(
- "aui-pasted-text-row flex max-w-full cursor-pointer items-center gap-3 rounded-[18px] px-4 py-3 text-left transition-colors",
+ "aui-pasted-text-row flex max-w-full cursor-pointer items-center gap-3 rounded-lg px-4 py-3 text-left transition-colors",
SENT_ROW_WIDTH,
CARD_EDGE,
"hover:bg-[color-mix(in_oklab,var(--foreground)_5%,transparent)]",
@@ -557,7 +557,7 @@ const ComposerAttachmentCard: FC = () => {
<AttachmentPreviewDialog redactFromReload={true}>
<button
className={cn(
- "aui-attachment-card-tile flex cursor-pointer overflow-hidden rounded-[15px] text-left transition-colors",
+ "aui-attachment-card-tile flex cursor-pointer overflow-hidden rounded-lg text-left transition-colors",
CARD_SIZE,
CARD_EDGE,
!src && CARD_SURFACE,
@@ -587,7 +587,7 @@ const SentImageTile: FC = () => {
<AttachmentPreviewDialog redactFromReload={false}>
<button
className={cn(
- "aui-attachment-image-tile block cursor-pointer overflow-hidden rounded-[18px] transition-opacity hover:opacity-85",
+ "aui-attachment-image-tile block cursor-pointer overflow-hidden rounded-lg transition-opacity hover:opacity-85",
layout === "list" ? SENT_IMAGE_SIZE : SENT_IMAGE_SIZE_COMPACT,
CARD_EDGE,
)}
@@ -657,7 +657,7 @@ const SentFileItem: FC = () => {
{layout === "list" ? (
<button
className={cn(
- "aui-attachment-row flex max-w-full cursor-pointer items-center gap-3 rounded-[18px] px-4 py-3 text-left transition-colors",
+ "aui-attachment-row flex max-w-full cursor-pointer items-center gap-3 rounded-lg px-4 py-3 text-left transition-colors",
SENT_ROW_WIDTH,
CARD_EDGE,
"hover:bg-[color-mix(in_oklab,var(--foreground)_5%,transparent)]",
diff --git a/studio/frontend/src/components/assistant-ui/audio-player.tsx b/studio/frontend/src/components/assistant-ui/audio-player.tsx
index 8355e9e9d68..85ee300bc40 100644
--- a/studio/frontend/src/components/assistant-ui/audio-player.tsx
+++ b/studio/frontend/src/components/assistant-ui/audio-player.tsx
@@ -81,7 +81,7 @@ export const AudioPlayer: FC<AudioPlayerProps> = ({
};
return (
- <div className="my-2 flex max-w-md items-center gap-3 rounded-xl border bg-muted/50 px-4 py-3">
+ <div className="my-2 flex max-w-md items-center gap-3 rounded-lg border bg-muted/50 px-4 py-3">
<audio
ref={audioRef}
src={src}
diff --git a/studio/frontend/src/components/assistant-ui/badge.tsx b/studio/frontend/src/components/assistant-ui/badge.tsx
index 7b189b349ca..2ca19ceab79 100644
--- a/studio/frontend/src/components/assistant-ui/badge.tsx
+++ b/studio/frontend/src/components/assistant-ui/badge.tsx
@@ -6,7 +6,7 @@ import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/lib/utils";
const badgeVariants = cva(
- "inline-flex items-center justify-center gap-1 rounded-md font-medium text-xs transition-colors [&_svg]:size-3 [&_svg]:shrink-0",
+ "inline-flex items-center justify-center gap-1 rounded-full font-medium text-xs transition-colors [&_svg]:size-3 [&_svg]:shrink-0",
{
variants: {
variant: {
diff --git a/studio/frontend/src/components/assistant-ui/code-fence-defer.tsx b/studio/frontend/src/components/assistant-ui/code-fence-defer.tsx
index 2f0e80df348..fe720273ea6 100644
--- a/studio/frontend/src/components/assistant-ui/code-fence-defer.tsx
+++ b/studio/frontend/src/components/assistant-ui/code-fence-defer.tsx
@@ -170,7 +170,7 @@ function FenceShell({
}) {
return (
<div
- className="my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2"
+ className="my-4 flex w-full flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"
data-language={language ?? undefined}
data-streamdown="code-block"
data-unsloth-fence-deferred={plain ? undefined : "true"}
@@ -1808,7 +1808,7 @@ export const FenceBody = memo(function FenceBody({
return (
<div
- className="my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2"
+ className="my-4 flex w-full flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"
data-incomplete={isIncomplete || undefined}
data-language={language ?? undefined}
data-streamdown="code-block"
diff --git a/studio/frontend/src/components/assistant-ui/compaction-divider.tsx b/studio/frontend/src/components/assistant-ui/compaction-divider.tsx
index 61c7bf74547..0626590f8e1 100644
--- a/studio/frontend/src/components/assistant-ui/compaction-divider.tsx
+++ b/studio/frontend/src/components/assistant-ui/compaction-divider.tsx
@@ -97,7 +97,7 @@ const DividerRule: FC<{ children: ReactNode; className?: string }> = ({
data-slot="compaction-divider-label"
// negative margins keep a large target from moving the rule.
// positioning stops the reply above from covering the target.
- className="relative -mx-2 -my-2.5 inline-flex shrink-0 cursor-default items-center gap-1.5 whitespace-nowrap rounded-md px-2 py-2.5 leading-none transition-colors hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring"
+ className="relative -mx-2 -my-2.5 inline-flex shrink-0 cursor-default items-center gap-1.5 whitespace-nowrap rounded-full px-2 py-2.5 leading-none transition-colors hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring"
>
<ArchiveIcon className="size-3.5" aria-hidden={true} />
Context compacted
diff --git a/studio/frontend/src/components/assistant-ui/composer-draft-preview.tsx b/studio/frontend/src/components/assistant-ui/composer-draft-preview.tsx
index 0d59330a21b..2a385988355 100644
--- a/studio/frontend/src/components/assistant-ui/composer-draft-preview.tsx
+++ b/studio/frontend/src/components/assistant-ui/composer-draft-preview.tsx
@@ -30,7 +30,7 @@ export function ComposerDraftPreview({ text }: { text: string }) {
return (
<section
aria-label={t("composerSettings.preview")}
- className="mb-3 min-w-0 rounded-xl border border-border/60 bg-muted/20 p-3 text-sm"
+ className="mb-3 min-w-0 rounded-lg border border-border/60 bg-muted/20 p-3 text-sm"
>
{/* Scroller inset by the section's padding: a scrollbar flush with a rounded
edge squares the corners on its side. See ScrollPane. */}
diff --git a/studio/frontend/src/components/assistant-ui/icon-action-button.tsx b/studio/frontend/src/components/assistant-ui/icon-action-button.tsx
index a94d1abf8fa..018aaf95521 100644
--- a/studio/frontend/src/components/assistant-ui/icon-action-button.tsx
+++ b/studio/frontend/src/components/assistant-ui/icon-action-button.tsx
@@ -26,7 +26,7 @@ export function IconActionButton({
<TooltipTrigger asChild={true}>
<button
type="button"
- className="inline-flex items-center justify-center rounded p-1 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
+ className="inline-flex items-center justify-center rounded-full p-1 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
aria-label={label}
{...props}
>
diff --git a/studio/frontend/src/components/assistant-ui/image.tsx b/studio/frontend/src/components/assistant-ui/image.tsx
index d38d4fa6e0f..3fcd792a649 100644
--- a/studio/frontend/src/components/assistant-ui/image.tsx
+++ b/studio/frontend/src/components/assistant-ui/image.tsx
@@ -375,7 +375,7 @@ function RegenerateButton({
disabled={isRegenerating}
data-slot="image-regenerate"
aria-label="Regenerate image"
- className="inline-flex size-7 items-center justify-center rounded hover:bg-muted disabled:opacity-50"
+ className="inline-flex size-7 items-center justify-center rounded-full hover:bg-muted disabled:opacity-50"
>
<RefreshGlyph
className={cn("size-4", isRegenerating && "animate-spin")}
@@ -395,7 +395,7 @@ function ImageActions({ part, onRegenerate, className }: ImageActionsProps) {
onClick={() => downloadImagePart(part)}
data-slot="image-download"
aria-label="Download image"
- className="inline-flex size-7 items-center justify-center rounded hover:bg-muted"
+ className="inline-flex size-7 items-center justify-center rounded-full hover:bg-muted"
>
<HugeiconsIcon icon={Download01Icon} className="size-4" />
</button>
@@ -408,7 +408,7 @@ function ImageActions({ part, onRegenerate, className }: ImageActionsProps) {
}}
data-slot="image-copy"
aria-label="Copy image"
- className="inline-flex size-7 items-center justify-center rounded hover:bg-muted"
+ className="inline-flex size-7 items-center justify-center rounded-full hover:bg-muted"
>
<HugeiconsIcon icon={Copy01Icon} className="size-4" />
</button>
diff --git a/studio/frontend/src/components/assistant-ui/link-menu-content.tsx b/studio/frontend/src/components/assistant-ui/link-menu-content.tsx
index faafec18d19..11f6f2ed00c 100644
--- a/studio/frontend/src/components/assistant-ui/link-menu-content.tsx
+++ b/studio/frontend/src/components/assistant-ui/link-menu-content.tsx
@@ -45,9 +45,9 @@ import { sandboxRoutePrefix } from "./sandbox-files";
import type { ContextFile } from "./link-context-menu";
-const CONTENT_CLASS = "min-w-60 rounded-[20px] p-1.5";
+const CONTENT_CLASS = "min-w-60 rounded-lg p-1";
-const SUB_CLASS = "min-w-52 rounded-[20px] p-1.5";
+const SUB_CLASS = "min-w-52 rounded-lg p-1";
function ItemIcon({ icon }: { icon: IconSvgElement }) {
return <HugeiconsIcon icon={icon} strokeWidth={1.75} className="size-4" />;
@@ -222,7 +222,7 @@ export function FileMenuContent({ file }: { file: ContextFile }) {
</ContextMenuItem>
) : null}
<ContextMenuSub>
- <ContextMenuSubTrigger className="gap-2.5 rounded-[11px]">
+ <ContextMenuSubTrigger className="gap-2.5 rounded-md">
<ItemIcon icon={ArrowUpRight01Icon} />
{t("linkMenu.openWith")}
</ContextMenuSubTrigger>
diff --git a/studio/frontend/src/components/assistant-ui/markdown-block-boundary.tsx b/studio/frontend/src/components/assistant-ui/markdown-block-boundary.tsx
index 39263e84427..7125714f4a6 100644
--- a/studio/frontend/src/components/assistant-ui/markdown-block-boundary.tsx
+++ b/studio/frontend/src/components/assistant-ui/markdown-block-boundary.tsx
@@ -127,7 +127,7 @@ export function MarkdownBlockFallbackView({ content }: { content: string }) {
const fallback = markdownBlockFallback(content);
if (fallback.fenced) {
return (
- <div className="my-4 w-full overflow-x-auto scroll-rounded rounded-xl border border-border bg-sidebar p-2">
+ <div className="my-4 w-full overflow-x-auto scroll-rounded rounded-lg border border-border bg-sidebar p-2">
{fallback.language && (
<div className="flex h-8 items-center text-muted-foreground text-xs">
<span className="ml-1 font-mono lowercase">
diff --git a/studio/frontend/src/components/assistant-ui/markdown-table.tsx b/studio/frontend/src/components/assistant-ui/markdown-table.tsx
index 9939e62cd18..f7828423457 100644
--- a/studio/frontend/src/components/assistant-ui/markdown-table.tsx
+++ b/studio/frontend/src/components/assistant-ui/markdown-table.tsx
@@ -199,7 +199,7 @@ export function MarkdownTable({
<button
type="button"
aria-label={t("common.close")}
- className="absolute top-4 right-4 flex size-10 cursor-pointer items-center justify-center rounded-full bg-popover text-foreground shadow-lg ring-1 ring-border/60 transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="absolute top-4 right-4 flex size-10 cursor-pointer items-center justify-center rounded-full bg-popover text-foreground shadow-lg transition-colors hover:bg-accent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<HugeiconsIcon
icon={Cancel01Icon}
diff --git a/studio/frontend/src/components/assistant-ui/markdown-text.tsx b/studio/frontend/src/components/assistant-ui/markdown-text.tsx
index e35c0a8bf63..efd0cdb7533 100644
--- a/studio/frontend/src/components/assistant-ui/markdown-text.tsx
+++ b/studio/frontend/src/components/assistant-ui/markdown-text.tsx
@@ -329,7 +329,7 @@ const MarkdownImage = memo(function MarkdownImage(props: ComponentProps<"img">)
<button
type="button"
title="Download image"
- className="aui-chat-icon-btn absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-full border border-border bg-background/90 opacity-0 backdrop-blur-sm transition-all duration-200 group-hover:opacity-100"
+ className="aui-chat-icon-btn absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-full bg-background/90 opacity-0 backdrop-blur-sm transition-all duration-200 group-hover:opacity-100"
onClick={async () => {
// Reuse fetched bytes under the desktop CSP.
try {
diff --git a/studio/frontend/src/components/assistant-ui/message-menu-time.tsx b/studio/frontend/src/components/assistant-ui/message-menu-time.tsx
index ae9c54db30c..cbfba4aef12 100644
--- a/studio/frontend/src/components/assistant-ui/message-menu-time.tsx
+++ b/studio/frontend/src/components/assistant-ui/message-menu-time.tsx
@@ -34,7 +34,7 @@ export const MessageMenuTime: FC<{ onShowDetails: () => void }> = ({
<ActionBarMorePrimitive.Item
onSelect={onShowDetails}
aria-label="See response details"
- className="group/menu-time flex w-fit max-w-full cursor-pointer items-center rounded-[11px] text-muted-foreground outline-none"
+ className="group/menu-time flex w-fit max-w-full cursor-pointer items-center rounded-md text-muted-foreground outline-none"
>
{date && (
<time
diff --git a/studio/frontend/src/components/assistant-ui/message-response-details-sheet.tsx b/studio/frontend/src/components/assistant-ui/message-response-details-sheet.tsx
index 7da51f63911..628efd0fa6f 100644
--- a/studio/frontend/src/components/assistant-ui/message-response-details-sheet.tsx
+++ b/studio/frontend/src/components/assistant-ui/message-response-details-sheet.tsx
@@ -230,7 +230,7 @@ function DetailSection({
children: ReactNode;
}) {
return (
- <section className="rounded-md bg-muted/45 p-3">
+ <section className="rounded-lg bg-muted/45 p-3">
<h3 className="mb-2 font-heading text-foreground text-sm">{title}</h3>
<div className="grid gap-2">{children}</div>
</section>
@@ -430,7 +430,7 @@ const MessageResponseDetailsSheetContent: FC<{
</SheetHeader>
<div className="flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto p-4">
- <div className="min-w-0 rounded-md border border-border/70 bg-card p-3">
+ <div className="min-w-0 rounded-lg border border-border/70 bg-card p-3">
<p className="min-w-0 break-words font-heading text-foreground text-sm">
{summaryLabel}
</p>
diff --git a/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx b/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx
index 31f5565cf56..78443e3bbc1 100644
--- a/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx
+++ b/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx
@@ -168,7 +168,7 @@ export function PromptQueueList({
// browsers paint scrollbars outside scroller radii, so this frame owns rounding and clipping.
<div
data-queue-frame=""
- className="relative z-0 mx-3 mb-[calc(-8px*var(--ui-space-scale,1))] overflow-hidden rounded-t-[20px] border border-border/60 bg-background sm:mx-5 dark:bg-[color-mix(in_srgb,var(--card)_50%,var(--background))]"
+ className="relative z-0 mx-3 mb-[calc(-8px*var(--ui-space-scale,1))] overflow-hidden rounded-t-xl border border-border/60 bg-background sm:mx-5 dark:bg-[color-mix(in_srgb,var(--card)_50%,var(--background))]"
>
<div
ref={listRef}
@@ -413,7 +413,7 @@ export function PromptQueueList({
align="end"
side="bottom"
sideOffset={6}
- className="w-56 rounded-2xl border border-border/60 p-1.5 shadow-lg"
+ className="w-56 rounded-lg border border-border/60 p-1 shadow-lg"
// Opening the menu must not select an item on pointer release.
onPointerUpCapture={(event) => event.preventDefault()}
// A queued send focuses the composer: stay open and take focus back, or Escape lands there.
diff --git a/studio/frontend/src/components/assistant-ui/rewind-dialog.tsx b/studio/frontend/src/components/assistant-ui/rewind-dialog.tsx
index b25a7f2c4f5..2a98eee88d6 100644
--- a/studio/frontend/src/components/assistant-ui/rewind-dialog.tsx
+++ b/studio/frontend/src/components/assistant-ui/rewind-dialog.tsx
@@ -201,7 +201,7 @@ const RewindPicker: FC<{
<button
type="button"
onClick={() => onPick(entry.id)}
- className="w-full truncate rounded-[12px] px-3 py-2 text-left hover:bg-accent focus-visible:bg-accent outline-none"
+ className="w-full truncate rounded-md px-3 py-2 text-left hover:bg-accent focus-visible:bg-accent outline-none"
>
{entry.preview || (
<span className="text-muted-foreground">
@@ -328,7 +328,7 @@ const RewindChoices: FC<{
{t("rewind.confirmTitle")}
</DialogTitle>
</DialogHeader>
- <p className="line-clamp-3 rounded-[14px] bg-muted px-4 py-3 text-sm wrap-break-word">
+ <p className="line-clamp-3 rounded-lg bg-muted px-4 py-3 text-sm wrap-break-word">
{preview || (
<span className="text-muted-foreground">
{t("rewind.attachmentOnly")}
diff --git a/studio/frontend/src/components/assistant-ui/sandbox-files-view.tsx b/studio/frontend/src/components/assistant-ui/sandbox-files-view.tsx
index 288a55fdc93..c31f355e842 100644
--- a/studio/frontend/src/components/assistant-ui/sandbox-files-view.tsx
+++ b/studio/frontend/src/components/assistant-ui/sandbox-files-view.tsx
@@ -78,7 +78,7 @@ function SandboxFileRow({
onClick={save}
disabled={busy}
title={`Save ${file.name}`}
- className="flex items-center gap-2 rounded border border-border px-2 py-1 text-xs text-foreground hover:bg-muted disabled:opacity-60"
+ className="btn-fill flex items-center gap-2 rounded-full px-2 py-1 text-xs text-foreground disabled:opacity-60"
>
<HugeiconsIcon icon={FileEmpty02Icon} className="size-3.5 shrink-0" />
<span className="truncate font-mono">{file.name}</span>
diff --git a/studio/frontend/src/components/assistant-ui/skill-mentions.tsx b/studio/frontend/src/components/assistant-ui/skill-mentions.tsx
index 4afcdcb8e42..a59aec8a69c 100644
--- a/studio/frontend/src/components/assistant-ui/skill-mentions.tsx
+++ b/studio/frontend/src/components/assistant-ui/skill-mentions.tsx
@@ -267,7 +267,7 @@ export function SkillMentionPopover({
index={index}
// Keep focus (and the caret) in the textarea so the token replacer sees it.
onMouseDown={(event) => event.preventDefault()}
- className="flex w-full items-start gap-2.5 rounded-[11px] px-3 py-2 text-left outline-none transition-colors hover:bg-accent hover:text-accent-foreground data-highlighted:bg-accent data-highlighted:text-accent-foreground"
+ className="flex w-full items-start gap-2.5 rounded-md px-3 py-2 text-left outline-none transition-colors hover:bg-accent hover:text-accent-foreground data-highlighted:bg-accent data-highlighted:text-accent-foreground"
>
<HugeiconsIcon
icon={Scroll01Icon}
@@ -432,7 +432,7 @@ export function useTextareaSkillMentions({
tabIndex={-1}
data-mention-index={index}
data-highlighted={index === highlighted}
- className="flex w-full items-start gap-2.5 rounded-[11px] px-3 py-2 text-left outline-none transition-colors hover:bg-accent hover:text-accent-foreground data-[highlighted=true]:bg-accent data-[highlighted=true]:text-accent-foreground"
+ className="flex w-full items-start gap-2.5 rounded-md px-3 py-2 text-left outline-none transition-colors hover:bg-accent hover:text-accent-foreground data-[highlighted=true]:bg-accent data-[highlighted=true]:text-accent-foreground"
onMouseDown={(event) => event.preventDefault()}
onClick={() => insert(skill)}
onMouseEnter={() => setHighlighted(index)}
diff --git a/studio/frontend/src/components/assistant-ui/sources.tsx b/studio/frontend/src/components/assistant-ui/sources.tsx
index 2a776b9bd21..f563319072c 100644
--- a/studio/frontend/src/components/assistant-ui/sources.tsx
+++ b/studio/frontend/src/components/assistant-ui/sources.tsx
@@ -102,7 +102,7 @@ function Source({
variant={variant}
size={size}
className={cn(
- "rounded-full cursor-pointer outline-none hover:bg-chat-icon-bg-hover! hover:text-chat-icon-fg-hover! focus-visible:border-ring",
+ "btn-fill rounded-full cursor-pointer border-transparent outline-none hover:text-chat-icon-fg-hover! focus-visible:border-ring",
className,
)}
>
@@ -302,7 +302,7 @@ const SourcesGroup: FC<{ sources?: SourceData[]; allowRemoteIcons?: boolean }> =
onClick={() => setExpanded(true)}
className={cn(
badgeVariants({ variant: "outline", size: "default" }),
- "rounded-full cursor-pointer text-muted-foreground hover:bg-chat-icon-bg-hover! hover:text-chat-icon-fg-hover!",
+ "btn-fill rounded-full cursor-pointer border-transparent text-muted-foreground hover:text-chat-icon-fg-hover!",
)}
>
+{hiddenCount} more
@@ -314,7 +314,7 @@ const SourcesGroup: FC<{ sources?: SourceData[]; allowRemoteIcons?: boolean }> =
onClick={() => setExpanded(false)}
className={cn(
badgeVariants({ variant: "outline", size: "default" }),
- "rounded-full cursor-pointer text-muted-foreground hover:bg-chat-icon-bg-hover! hover:text-chat-icon-fg-hover!",
+ "btn-fill rounded-full cursor-pointer border-transparent text-muted-foreground hover:text-chat-icon-fg-hover!",
)}
>
Show less
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index fbfccebb757..a13ff26fb17 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -2902,7 +2902,7 @@ const PendingAudioChip: FC = () => {
}
return (
<div className="mb-2 flex w-full flex-row items-center gap-2 px-1.5 pt-0.5 pb-1">
- <div className="flex items-center gap-2 rounded-lg border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted px-3 py-1.5 text-xs">
+ <div className="flex items-center gap-2 rounded-full border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted px-3 py-1.5 text-xs">
<HeadphonesIcon className="size-3.5 text-muted-foreground" />
<span className="max-w-48 truncate">{audioName}</span>
<button
@@ -5922,7 +5922,7 @@ const Composer: FC<{
aria-expanded={isWritingExpanded}
aria-controls={inputId}
disabled={disabled}
- className="unsloth-composer-expand absolute -right-1 top-0 size-8 rounded-md bg-transparent text-muted-foreground hover:bg-transparent hover:text-muted-foreground dark:hover:bg-transparent aria-expanded:bg-transparent aria-expanded:text-muted-foreground"
+ className="unsloth-composer-expand absolute -right-1 top-0 size-8 rounded-full bg-transparent text-muted-foreground hover:bg-transparent hover:text-muted-foreground dark:hover:bg-transparent aria-expanded:bg-transparent aria-expanded:text-muted-foreground"
onMouseDown={(event) => event.preventDefault()}
onClick={toggleWritingExpanded}
>
@@ -7862,14 +7862,14 @@ const MessageError: FC = () => {
const researchActive = useThreadResearchActive();
return (
<MessagePrimitive.Error>
- <ErrorPrimitive.Root className="aui-message-error-root mt-2 flex flex-wrap items-center gap-x-3 gap-y-2 rounded-md bg-destructive/10 p-3 text-destructive text-sm dark:bg-destructive/5 dark:text-red-200">
+ <ErrorPrimitive.Root className="aui-message-error-root mt-2 flex flex-wrap items-center gap-x-3 gap-y-2 rounded-lg bg-destructive/10 p-3 text-destructive text-sm dark:bg-destructive/5 dark:text-red-200">
<ErrorPrimitive.Message className="aui-message-error-message line-clamp-2 min-w-0 flex-1" />
{/* Recovery path for interrupted/failed turns: regenerate in place. */}
{!researchRunId && !researchActive && (
<ActionBarPrimitive.Reload asChild={true}>
<button
type="button"
- className="aui-message-error-retry inline-flex shrink-0 items-center gap-1.5 rounded-md border border-destructive/40 px-2.5 py-1 text-xs font-medium transition-colors hover:bg-destructive/15"
+ className="btn-fill aui-message-error-retry inline-flex shrink-0 items-center gap-1.5 rounded-full px-2.5 py-1 text-xs font-medium transition-colors "
>
<RefreshGlyph strokeWidth={1.75} className="size-3.5" />
Retry
@@ -8239,7 +8239,7 @@ const ContinueMessageBarForLastMessage: FC = () => {
// The run is starting this tick; showing the bar first would flash a question that is
// already being answered.
return (
- <div className="aui-continue-bar mt-2 flex items-center gap-2 rounded-md border border-border/70 bg-muted/50 p-2.5 text-sm text-muted-foreground">
+ <div className="aui-continue-bar mt-2 flex items-center gap-2 rounded-lg border border-border/70 bg-muted/50 p-2.5 text-sm text-muted-foreground">
<Loader2Icon className="size-3.5 animate-spin" strokeWidth={1.75} />
Continuing automatically.
</div>
@@ -8247,7 +8247,7 @@ const ContinueMessageBarForLastMessage: FC = () => {
}
return (
- <div className="aui-continue-bar mt-2 flex flex-wrap items-center gap-x-3 gap-y-2 rounded-md border border-border/70 bg-muted/50 p-2.5 text-sm">
+ <div className="aui-continue-bar mt-2 flex flex-wrap items-center gap-x-3 gap-y-2 rounded-lg border border-border/70 bg-muted/50 p-2.5 text-sm">
<span className="min-w-0 flex-1 text-muted-foreground">
{incompleteLabel(reason)}.{remedy ? ` ${remedy}.` : ""}
</span>
@@ -8497,7 +8497,7 @@ const AssistantMessage: FC = () => {
{isEditing ? (
// Same surface as a prompt's EditComposer, at the reply's full width. Bottom gap is padding:
// index.css zeroes the margin-bottom of the reply's last descendants.
- <div className="aui-assistant-edit-root flex w-full flex-col overflow-hidden rounded-2xl bg-muted pb-3">
+ <div className="aui-assistant-edit-root flex w-full flex-col overflow-hidden rounded-3xl bg-muted pb-3">
<textarea
ref={textareaRef}
defaultValue={extractTaggedText(messageContent ?? [])}
@@ -8632,7 +8632,7 @@ const ForkCountBadge: FC = () => {
if (count <= 0) return null;
return (
<span
- className="mx-1 inline-flex items-center gap-1 rounded-sm bg-primary/10 px-1.5 py-0.5 text-ui-10 font-medium text-primary"
+ className="mx-1 inline-flex items-center gap-1 rounded-full bg-primary/10 px-1.5 py-0.5 text-ui-10 font-medium text-primary"
title={`${count} fork${count === 1 ? "" : "s"} from this message`}
>
<HugeiconsIcon icon={ForkIcon} strokeWidth={1.75} className="size-3" />
@@ -8879,7 +8879,7 @@ const DeleteMessageButton: FC = () => {
};
const MORE_MENU_CONTENT_CLASS =
- "aui-action-bar-more-content dropdown-surface z-50 min-w-32 max-h-(--radix-dropdown-menu-content-available-height) flex flex-col overflow-hidden rounded-[21px] bg-popover px-[calc(9px*var(--ui-space-scale,1))] py-2 text-popover-foreground shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)]";
+ "aui-action-bar-more-content dropdown-surface z-50 min-w-32 max-h-(--radix-dropdown-menu-content-available-height) flex flex-col overflow-hidden rounded-xl bg-popover px-[calc(9px*var(--ui-space-scale,1))] py-2 text-popover-foreground shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)]";
// Loaded on first use: the dialog is not part of the first screen.
const LazyRewindDialog = lazy(() =>
@@ -9009,7 +9009,7 @@ const ContinueResponseMenuItemForLastMessage: FC = () => {
onSelect={() => {
startContinuation();
}}
- className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-[12px] px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
+ className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-md px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
>
<HugeiconsIcon icon={ContinueArrowIcon} strokeWidth={1.75} className="size-icon" />
Continue response
@@ -9031,7 +9031,7 @@ const EditAssistantMessageMenuItem: FC = () => {
<ActionBarMorePrimitive.Item
disabled={isRunning || researchActive}
onSelect={() => setEditingId(messageId)}
- className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-[12px] px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
+ className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-md px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
>
<HugeiconsIcon icon={EditResponseIcon} strokeWidth={1.75} className="size-icon" />
Edit response
@@ -9159,7 +9159,7 @@ const AssistantActionBar: FC = () => {
asChild={true}
onExport={exportMessageMarkdown}
>
- <ActionBarMorePrimitive.Item className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-[12px] px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground">
+ <ActionBarMorePrimitive.Item className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-md px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground">
<HugeiconsIcon
icon={Download01Icon}
strokeWidth={1.75}
@@ -9211,7 +9211,7 @@ const AssistantActionBar: FC = () => {
);
})();
}}
- className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-[12px] px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"
+ className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-md px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground"
>
<HugeiconsIcon
icon={FolderAttachmentIcon}
@@ -9243,7 +9243,7 @@ const UserMessageAudio: FC = () => {
}
return (
<div className="col-start-2 flex justify-end">
- <div className="flex items-center gap-2 rounded-lg border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted px-3 py-1.5 text-xs">
+ <div className="flex items-center gap-2 rounded-full border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted px-3 py-1.5 text-xs">
<HeadphonesIcon className="size-3.5 text-muted-foreground" />
<span className="max-w-48 truncate">{audioName}</span>
</div>
@@ -9269,7 +9269,7 @@ const UserMessage: FC = () => {
<div className="aui-user-message-content-wrapper flex w-full min-w-0 flex-col items-end">
{hasContent ? (
- <div className="aui-user-message-content wrap-break-word w-fit max-w-[80%] rounded-[24px] bg-[#f5f5f5] px-4 py-2.5 text-[#0f1114] dark:text-foreground dark:bg-card">
+ <div className="aui-user-message-content wrap-break-word w-fit max-w-[80%] rounded-xl bg-[#f5f5f5] px-4 py-2.5 text-[#0f1114] dark:text-foreground dark:bg-card">
<MessagePrimitive.Parts />
</div>
) : null}
@@ -9355,7 +9355,7 @@ const EditComposer: FC = () => {
return (
<MessagePrimitive.Root className="aui-edit-composer-wrapper mx-auto flex w-full max-w-(--thread-content-max-width) flex-col py-3">
<ComposerPrimitive.Root
- className="aui-edit-composer-root ml-auto flex w-full max-w-[85%] flex-col rounded-2xl bg-muted"
+ className="aui-edit-composer-root ml-auto flex w-full max-w-[85%] flex-col rounded-3xl bg-muted"
onSubmit={(event) => {
event.preventDefault();
submitEdit();
diff --git a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
index 8a94679688a..38ff9bf0b8e 100644
--- a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
@@ -422,7 +422,7 @@ function ToolFallbackResult({
src={`data:${img.mimeType};base64,${img.data}`}
alt={`Tool result ${i + 1}`}
loading="lazy"
- className="max-w-full rounded border border-border"
+ className="max-w-full rounded-lg border border-border"
/>
))}
</div>
diff --git a/studio/frontend/src/components/assistant-ui/tool-group.tsx b/studio/frontend/src/components/assistant-ui/tool-group.tsx
index d8ca3d02aa7..98bb94d7f6b 100644
--- a/studio/frontend/src/components/assistant-ui/tool-group.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-group.tsx
@@ -50,10 +50,10 @@ const ANIMATION_DURATION = 200;
const toolGroupVariants = cva("aui-tool-group-root group/tool-group w-full", {
variants: {
variant: {
- outline: "corner-squircle rounded-lg border py-3",
+ outline: "corner-squircle rounded-xl border py-3",
ghost: "",
muted:
- "corner-squircle rounded-lg border border-muted-foreground/30 bg-muted/30 py-3",
+ "corner-squircle rounded-xl border border-muted-foreground/30 bg-muted/30 py-3",
},
},
defaultVariants: { variant: "ghost" },
diff --git a/studio/frontend/src/components/assistant-ui/tool-result-output.tsx b/studio/frontend/src/components/assistant-ui/tool-result-output.tsx
index 29338956d9a..6bcadea65c8 100644
--- a/studio/frontend/src/components/assistant-ui/tool-result-output.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-result-output.tsx
@@ -26,7 +26,7 @@ export function ToolResultOutput({ text }: { text: string }) {
<button
type="button"
onClick={() => setShowAll(true)}
- className="mt-1 rounded px-1.5 py-0.5 text-xs text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
+ className="mt-1 rounded-full px-1.5 py-0.5 text-xs text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
{tail.hiddenLines > 0
? `Show all (${tail.hiddenLines.toLocaleString()} earlier lines hidden)`
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx
index 6d9f6d70788..47ff9d65aa7 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx
@@ -84,7 +84,7 @@ export function CodeExecutionResultOutput({ result }: { result: unknown }) {
<CopyBtn text={resultText} />
</div>
<ScrollPane
- className="mt-1 rounded bg-muted/50 p-2"
+ className="mt-1 rounded-lg bg-muted/50 p-2"
scrollerClassName="max-h-64 overflow-auto whitespace-pre-wrap break-words text-xs"
>
{displayedResult}
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx
index 369de55a202..bf70c91915f 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx
@@ -62,7 +62,7 @@ export function CitationBadge({
size="sm"
className={`rounded-full inline-flex items-center gap-1.5 max-w-[calc(15rem*var(--ui-space-scale,1))] ${
clickable
- ? "cursor-pointer hover:bg-accent hover:text-accent-foreground transition-colors"
+ ? "btn-fill cursor-pointer border-transparent hover:text-accent-foreground transition-colors"
: "cursor-default"
}`}
>
@@ -209,7 +209,7 @@ const KnowledgeBaseToolUIImpl: ToolCallMessagePartComponent = ({
</>
) : resultText ? (
<ScrollPane
- className="rounded bg-muted/50 p-2"
+ className="rounded-lg bg-muted/50 p-2"
scrollerClassName="max-h-40 overflow-auto whitespace-pre-wrap break-words text-xs"
>
{resultText}
@@ -220,7 +220,7 @@ const KnowledgeBaseToolUIImpl: ToolCallMessagePartComponent = ({
{query.length > QUERY_INLINE_MAX ? (
<ScrollPane
data-slot="knowledge-base-query"
- className="rounded bg-muted/50 p-2"
+ className="rounded-lg bg-muted/50 p-2"
scrollerClassName="max-h-40 overflow-auto whitespace-pre-wrap break-words text-xs"
>
{query}
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-python.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-python.tsx
index c5b3104f553..0dd86a7fc1c 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-python.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-python.tsx
@@ -71,7 +71,7 @@ function PythonToolImage({
src={state.status === "loaded" ? state.url : undefined}
alt={filename}
loading="lazy"
- className="max-w-full rounded border border-border"
+ className="max-w-full rounded-lg border border-border"
/>
);
}
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-read-skill.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-read-skill.tsx
index 1a461188886..334c06b3b18 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-read-skill.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-read-skill.tsx
@@ -77,7 +77,7 @@ const ReadSkillToolUIImpl: ToolCallMessagePartComponent = ({
</div>
) : resultText ? (
<ScrollPane
- className="rounded bg-muted/50 p-2"
+ className="rounded-lg bg-muted/50 p-2"
scrollerClassName="max-h-64 overflow-auto whitespace-pre-wrap break-words text-xs"
>
{resultText}
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-web-search.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-web-search.tsx
index 19a998a8d1a..0cbcdfbf723 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-web-search.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-web-search.tsx
@@ -196,7 +196,7 @@ const WebSearchToolUIImpl: ToolCallMessagePartComponent = ({
</span>
{/* Capped so a huge url cannot push Allow/Deny off screen. */}
<ScrollPane
- className="min-w-0 rounded bg-muted/50 px-2 py-1"
+ className="min-w-0 rounded-lg bg-muted/50 px-2 py-1"
scrollerClassName="max-h-24 overflow-auto whitespace-pre-wrap break-all text-foreground/85"
>
<code dir="ltr" className="break-all text-foreground/85">
@@ -266,7 +266,7 @@ const WebSearchToolUIImpl: ToolCallMessagePartComponent = ({
</div>
{resultText && (
<ScrollPane
- className="rounded bg-muted/50 p-2"
+ className="rounded-lg bg-muted/50 p-2"
scrollerClassName="max-h-40 overflow-auto whitespace-pre-wrap break-words text-xs"
>
{resultText}
@@ -306,7 +306,7 @@ const WebSearchToolUIImpl: ToolCallMessagePartComponent = ({
</div>
) : resultText ? (
<ScrollPane
- className="rounded bg-muted/50 p-2"
+ className="rounded-lg bg-muted/50 p-2"
scrollerClassName="max-h-40 overflow-auto whitespace-pre-wrap break-words text-xs"
>
{resultText}
diff --git a/studio/frontend/src/components/assistant-ui/user-message-time.tsx b/studio/frontend/src/components/assistant-ui/user-message-time.tsx
index 1a054b12e9e..1b8ac7ecc38 100644
--- a/studio/frontend/src/components/assistant-ui/user-message-time.tsx
+++ b/studio/frontend/src/components/assistant-ui/user-message-time.tsx
@@ -33,7 +33,7 @@ export const UserMessageTime: FC = () => {
<button
type="button"
aria-label={fullDate}
- className="aui-user-message-time-trigger mr-2 h-8 min-w-8 flex-1 cursor-default! self-center rounded-sm text-right text-ui-11p5 text-muted-foreground tabular-nums"
+ className="aui-user-message-time-trigger mr-2 h-8 min-w-8 flex-1 cursor-default! self-center rounded-full text-right text-ui-11p5 text-muted-foreground tabular-nums"
>
<time
dateTime={date.toISOString()}
diff --git a/studio/frontend/src/components/command-palette.tsx b/studio/frontend/src/components/command-palette.tsx
index 71601924103..02814a55672 100644
--- a/studio/frontend/src/components/command-palette.tsx
+++ b/studio/frontend/src/components/command-palette.tsx
@@ -271,7 +271,7 @@ function PaletteContent() {
onKeyDown={(e) => {
if (e.key === "Enter") e.stopPropagation();
}}
- className="flex size-6 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
+ className="flex size-6 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
aria-label={t("common.close")}
>
<HugeiconsIcon
diff --git a/studio/frontend/src/components/file-viewer/office-view.tsx b/studio/frontend/src/components/file-viewer/office-view.tsx
index f5456342951..d308d50a1a1 100644
--- a/studio/frontend/src/components/file-viewer/office-view.tsx
+++ b/studio/frontend/src/components/file-viewer/office-view.tsx
@@ -347,7 +347,7 @@ function SheetView({
{tabs &&
sheets.map((item, index) => {
const className = cn(
- "shrink-0 rounded-md px-3 py-1 text-ui-13 transition-colors hover:bg-muted",
+ "shrink-0 rounded-full px-3 py-1 text-ui-13 transition-colors hover:bg-muted",
index === active ? "bg-muted font-medium text-foreground" : "text-muted-foreground",
);
return thumbnail ? (
diff --git a/studio/frontend/src/components/floating-monitor.tsx b/studio/frontend/src/components/floating-monitor.tsx
index 7b31210838b..c2130b51586 100644
--- a/studio/frontend/src/components/floating-monitor.tsx
+++ b/studio/frontend/src/components/floating-monitor.tsx
@@ -269,7 +269,7 @@ function FloatingMonitorPanel({
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
className={cn(
- "settings-surface bg-background pointer-events-auto absolute flex max-h-full w-64 max-w-full cursor-default select-none flex-col overflow-hidden rounded-xl border border-border/70 p-3 shadow-border ring-0",
+ "settings-surface bg-background pointer-events-auto absolute flex max-h-full w-64 max-w-full cursor-default select-none flex-col overflow-hidden rounded-2xl border border-border/70 p-3 shadow-border ring-0",
layout ? "top-0 left-0 resize" : "right-0 bottom-0",
)}
data-testid="floating-monitor"
@@ -327,7 +327,7 @@ function FloatingMonitorPanel({
onLostPointerCapture={finishDrag}
onDoubleClick={resetPosition}
onKeyDown={(event) => void nudge(event)}
- className="touch-none cursor-grab rounded-md px-1 text-muted-foreground/60 transition-colors hover:bg-muted/60 hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring active:cursor-grabbing"
+ className="touch-none cursor-grab rounded-full px-1 text-muted-foreground/60 transition-colors hover:bg-muted/60 hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring active:cursor-grabbing"
>
<GripVerticalIcon className="size-3.5" />
</div>
diff --git a/studio/frontend/src/components/gallery-item-menu.tsx b/studio/frontend/src/components/gallery-item-menu.tsx
index 28b5c527a8c..0923623d230 100644
--- a/studio/frontend/src/components/gallery-item-menu.tsx
+++ b/studio/frontend/src/components/gallery-item-menu.tsx
@@ -198,7 +198,7 @@ export function GalleryPinBadge({
aria-label={`Unpin this ${noun}`}
onClick={onUnpin}
className={cn(
- "group/pin absolute flex items-center justify-center rounded-full bg-background/80 p-0.5 text-foreground shadow-sm ring-1 ring-border backdrop-blur outline-none transition-colors hover:bg-background focus-visible:ring-2 focus-visible:ring-ring",
+ "group/pin absolute flex items-center justify-center rounded-full bg-background/80 p-0.5 text-foreground shadow-sm backdrop-blur outline-none transition-colors hover:bg-background focus-visible:ring-2 focus-visible:ring-ring",
className,
)}
>
diff --git a/studio/frontend/src/components/image-dropzone.tsx b/studio/frontend/src/components/image-dropzone.tsx
index 89415328419..7937ef00d93 100644
--- a/studio/frontend/src/components/image-dropzone.tsx
+++ b/studio/frontend/src/components/image-dropzone.tsx
@@ -179,7 +179,7 @@ export function ImageDropzone({
return (
<div
data-reload-snapshot-sensitive
- className={cn("relative overflow-hidden rounded-[10px] border border-border", className)}
+ className={cn("relative overflow-hidden rounded-lg border border-border", className)}
>
{/* Checkerboard behind the preview, so a transparent upload shows its alpha. */}
<img
diff --git a/studio/frontend/src/components/lazy-import-boundary.tsx b/studio/frontend/src/components/lazy-import-boundary.tsx
index ee094c5b181..b92acb19b7b 100644
--- a/studio/frontend/src/components/lazy-import-boundary.tsx
+++ b/studio/frontend/src/components/lazy-import-boundary.tsx
@@ -52,7 +52,7 @@ export function LazyImportFailure({
ref={reloadRef}
type="button"
onClick={() => window.location.reload()}
- className="rounded-md border border-border bg-background px-3 py-1.5 font-medium text-xs hover:bg-accent"
+ className="btn-fill rounded-full px-3 py-1.5 font-medium text-xs "
>
{reloadLabel}
</button>
@@ -60,7 +60,7 @@ export function LazyImportFailure({
<button
type="button"
onClick={onDismiss}
- className="rounded-md border border-border bg-background px-3 py-1.5 font-medium text-xs hover:bg-accent"
+ className="btn-fill rounded-full px-3 py-1.5 font-medium text-xs "
>
{dismissLabel}
</button>
diff --git a/studio/frontend/src/components/llama-update-banner.tsx b/studio/frontend/src/components/llama-update-banner.tsx
index 4e87ba5b0d0..127d7ca8aa8 100644
--- a/studio/frontend/src/components/llama-update-banner.tsx
+++ b/studio/frontend/src/components/llama-update-banner.tsx
@@ -483,7 +483,7 @@ export function LlamaUpdateBanner({
data-testid="llama-update-banner"
>
{/* fill the height floor even when the changelog content is short. */}
- <div className="relative flex max-h-[calc(100dvh_-_2rem_-_var(--studio-window-chrome-top,0px))] min-h-0 grow flex-col overflow-hidden rounded-[24px] bg-white px-5 pb-4 pt-5 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
+ <div className="relative flex max-h-[calc(100dvh_-_2rem_-_var(--studio-window-chrome-top,0px))] min-h-0 grow flex-col overflow-hidden rounded-2xl bg-white px-5 pb-4 pt-5 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
{/* Hides the card until the app is reopened, the same skip What's new offers. */}
{applying ? null : (
<button
@@ -515,7 +515,7 @@ export function LlamaUpdateBanner({
{applying ? null : (
<button
type="button"
- className="-mx-1 mt-1 block rounded px-1 text-xs font-medium text-foreground underline decoration-foreground/30 underline-offset-2 hover:decoration-foreground/70"
+ className="-mx-1 mt-1 block rounded-full px-1 text-xs font-medium text-foreground underline decoration-foreground/30 underline-offset-2 hover:decoration-foreground/70"
onClick={() =>
setDetailsVersion(detailsOpen ? null : detailsKey)
}
@@ -656,7 +656,7 @@ function SkippedNotice({
}}
data-testid="llama-update-skipped"
>
- <div className="flex items-center gap-3 rounded-[24px] bg-white py-2.5 pl-5 pr-3 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
+ <div className="flex items-center gap-3 rounded-full bg-white py-2.5 pl-5 pr-3 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
{/* <output> carries the implicit status role, so screen readers announce the skip. */}
<output
className="block min-w-0 grow truncate text-ui-13 text-foreground"
diff --git a/studio/frontend/src/components/markdown/markdown-preview.tsx b/studio/frontend/src/components/markdown/markdown-preview.tsx
index be75b0ab75d..ad2552fccb2 100644
--- a/studio/frontend/src/components/markdown/markdown-preview.tsx
+++ b/studio/frontend/src/components/markdown/markdown-preview.tsx
@@ -104,7 +104,7 @@ function MarkdownPreviewImpl({
className={cn(
plain
? "h-full w-full min-w-0 overflow-auto p-2 text-xs leading-relaxed pointer-events-none select-none"
- : "nodrag max-h-56 w-full min-w-0 overflow-auto scroll-rounded rounded-md border border-border/60 bg-muted/20 p-2 text-xs leading-relaxed",
+ : "nodrag max-h-56 w-full min-w-0 overflow-auto scroll-rounded rounded-lg border border-border/60 bg-muted/20 p-2 text-xs leading-relaxed",
className,
)}
>
diff --git a/studio/frontend/src/components/markdown/mermaid-error.tsx b/studio/frontend/src/components/markdown/mermaid-error.tsx
index 0841570b8e2..70b7890e67d 100644
--- a/studio/frontend/src/components/markdown/mermaid-error.tsx
+++ b/studio/frontend/src/components/markdown/mermaid-error.tsx
@@ -22,7 +22,7 @@ export function MermaidError({
<button
type="button"
onClick={retry}
- className="mt-2 rounded border border-red-300 px-2 py-1 text-xs hover:bg-red-100"
+ className="btn-fill mt-2 rounded-full px-2 py-1 text-xs "
>
Retry
</button>
diff --git a/studio/frontend/src/components/media-viewer.tsx b/studio/frontend/src/components/media-viewer.tsx
index da57c097e2f..eeddbcf5e68 100644
--- a/studio/frontend/src/components/media-viewer.tsx
+++ b/studio/frontend/src/components/media-viewer.tsx
@@ -383,7 +383,7 @@ export function MediaViewer({
lightbox
? // The whole window below the desktop titlebar; the picture is the only surface.
"top-[var(--studio-window-chrome-top,0px)] right-0 bottom-0 left-0 flex h-auto max-h-[calc(100dvh-var(--studio-window-chrome-top,0px))] w-auto max-w-none translate-none flex-col gap-0 overflow-hidden rounded-none bg-transparent p-0 ring-0 duration-150 sm:max-w-none max-sm:h-auto"
- : "flex h-[calc(100dvh-var(--studio-window-chrome-top,0px)-2rem)] w-[min(92vw,1200px)] max-w-none flex-col gap-0 overflow-hidden rounded-[1.5rem] p-0 sm:max-w-none"
+ : "flex h-[calc(100dvh-var(--studio-window-chrome-top,0px)-2rem)] w-[min(92vw,1200px)] max-w-none flex-col gap-0 overflow-hidden rounded-3xl p-0 sm:max-w-none"
}
>
{lightbox ? (
diff --git a/studio/frontend/src/components/negative-prompt-field.tsx b/studio/frontend/src/components/negative-prompt-field.tsx
index 8539e7c7712..0e6f73f231d 100644
--- a/studio/frontend/src/components/negative-prompt-field.tsx
+++ b/studio/frontend/src/components/negative-prompt-field.tsx
@@ -12,8 +12,8 @@ import { cn } from "@/lib/utils";
// the preset API accepts them because the generation contract does too.
export const NEGATIVE_PROMPT_MAX_LENGTH = 20_000;
-// Prompt boxes: smaller radius, scrollbar inset from the corners.
-export const PROMPT_BOX_CLASS = "image-prompt-box rounded-lg";
+// Prompt boxes: scrollbar inset from the corners.
+export const PROMPT_BOX_CLASS = "image-prompt-box rounded-xl";
export function NegativePromptField({
value,
diff --git a/studio/frontend/src/components/resource-picker/picker-focus.ts b/studio/frontend/src/components/resource-picker/picker-focus.ts
index edc0e4f43da..c2d2d954340 100644
--- a/studio/frontend/src/components/resource-picker/picker-focus.ts
+++ b/studio/frontend/src/components/resource-picker/picker-focus.ts
@@ -10,6 +10,6 @@ export const PICKER_OPTION_FOCUS_VISIBLE_CLASS =
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring";
export const PICKER_TRIGGER_CLASS = cn(
- "hub-menu-trigger field-soft inline-flex h-9 cursor-pointer select-none items-center gap-1.5 rounded-[12px] px-3 text-ui-12p5 text-muted-foreground transition-colors",
+ "hub-menu-trigger field-soft inline-flex h-9 cursor-pointer select-none items-center gap-1.5 rounded-full px-3 text-ui-12p5 text-muted-foreground transition-colors",
PICKER_FOCUS_VISIBLE_CLASS,
);
diff --git a/studio/frontend/src/components/resource-picker/picker-pagination.tsx b/studio/frontend/src/components/resource-picker/picker-pagination.tsx
index 5784bf1d747..4c617ee3db8 100644
--- a/studio/frontend/src/components/resource-picker/picker-pagination.tsx
+++ b/studio/frontend/src/components/resource-picker/picker-pagination.tsx
@@ -22,7 +22,7 @@ function PickerLoadMoreButton({
disabled={disabled}
onClick={onLoadMore}
className={cn(
- "inline-flex h-7 items-center rounded-full border border-border/70 px-3 text-ui-11 font-medium text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)] disabled:cursor-not-allowed disabled:opacity-50",
+ "btn-fill inline-flex h-7 items-center rounded-full px-3 text-ui-11 font-medium text-foreground transition-colors disabled:cursor-not-allowed disabled:opacity-50",
PICKER_OPTION_FOCUS_VISIBLE_CLASS,
)}
>
diff --git a/studio/frontend/src/components/resource-picker/picker-shell.tsx b/studio/frontend/src/components/resource-picker/picker-shell.tsx
index 1f96678c792..af3b2e26d66 100644
--- a/studio/frontend/src/components/resource-picker/picker-shell.tsx
+++ b/studio/frontend/src/components/resource-picker/picker-shell.tsx
@@ -311,7 +311,7 @@ export function PickerShell({
}}
aria-label={t("picker.searchAriaLabel", { noun })}
className={cn(
- "max-h-(--radix-popover-content-available-height) w-[min(420px,calc(100vw-2rem))] gap-0 overflow-hidden rounded-2xl p-4",
+ "max-h-(--radix-popover-content-available-height) w-[min(420px,calc(100vw-2rem))] gap-0 overflow-hidden rounded-xl p-4",
contentClassName,
)}
>
@@ -375,7 +375,7 @@ export function PickerShell({
<div
ref={scrollRef}
- className="min-h-0 max-h-[calc(320px*var(--ui-space-scale,1))] flex-1 overflow-y-auto overscroll-contain rounded-[10px] [scrollbar-width:thin]"
+ className="min-h-0 max-h-[calc(320px*var(--ui-space-scale,1))] flex-1 overflow-y-auto overscroll-contain rounded-md [scrollbar-width:thin]"
>
{canUseThis && (
<button
@@ -384,7 +384,7 @@ export function PickerShell({
data-picker-values={JSON.stringify([activeQuery])}
onClick={onUseThis}
className={cn(
- "mb-1 flex w-full items-center gap-2 rounded-[8px] border border-dashed border-primary/30 bg-primary/[0.04] px-2.5 py-2 text-left text-ui-12p5 transition-colors hover:bg-primary/[0.08]",
+ "mb-1 flex w-full items-center gap-2 rounded-md border border-dashed border-primary/30 bg-primary/[0.04] px-2.5 py-2 text-left text-ui-12p5 transition-colors hover:bg-primary/[0.08]",
PICKER_OPTION_FOCUS_VISIBLE_CLASS,
)}
>
diff --git a/studio/frontend/src/components/resource-picker/picker-states.tsx b/studio/frontend/src/components/resource-picker/picker-states.tsx
index b9a80748a40..8e785a54c09 100644
--- a/studio/frontend/src/components/resource-picker/picker-states.tsx
+++ b/studio/frontend/src/components/resource-picker/picker-states.tsx
@@ -14,7 +14,7 @@ export function RetryButton({ onRetry }: { onRetry: () => void }) {
type="button"
onClick={onRetry}
className={cn(
- "mt-1 inline-flex items-center gap-1.5 rounded-full border border-border/70 px-3 py-1 text-ui-11 font-medium text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)]",
+ "btn-fill mt-1 inline-flex items-center gap-1.5 rounded-full px-3 py-1 text-ui-11 font-medium text-foreground transition-colors ",
PICKER_OPTION_FOCUS_VISIBLE_CLASS,
)}
>
diff --git a/studio/frontend/src/components/resource-picker/selectable-picker-item.tsx b/studio/frontend/src/components/resource-picker/selectable-picker-item.tsx
index 3e5208ae679..a6e708557e4 100644
--- a/studio/frontend/src/components/resource-picker/selectable-picker-item.tsx
+++ b/studio/frontend/src/components/resource-picker/selectable-picker-item.tsx
@@ -26,7 +26,7 @@ export function SelectablePickerItem({
aria-pressed={active ?? false}
onClick={onSelect}
className={cn(
- "flex w-full cursor-pointer select-none items-center gap-2 rounded-[8px] px-2 py-1.5 text-left text-ui-12p5 transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)] focus-visible:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)]",
+ "flex w-full cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-left text-ui-12p5 transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)] focus-visible:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)]",
PICKER_OPTION_FOCUS_VISIBLE_CLASS,
active && "bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)]",
className,
diff --git a/studio/frontend/src/components/section-card.tsx b/studio/frontend/src/components/section-card.tsx
index 4471a19d0cf..b8634d5f991 100644
--- a/studio/frontend/src/components/section-card.tsx
+++ b/studio/frontend/src/components/section-card.tsx
@@ -55,7 +55,7 @@ export function SectionCard({
return (
<div
className={cn(
- "bg-card corner-squircle rounded-3xl ring-1 ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] flex flex-col gap-5 p-5 relative overflow-clip transition-all duration-300 ease-in-out",
+ "bg-card corner-squircle rounded-2xl ring-1 ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] flex flex-col gap-5 p-5 relative overflow-clip transition-all duration-300 ease-in-out",
featured && styles.border,
className,
)}
@@ -67,7 +67,7 @@ export function SectionCard({
<div className="flex items-center gap-3">
<div
className={cn(
- "rounded-xl corner-squircle p-2 ring-1 shrink-0",
+ "rounded-md corner-squircle p-2 ring-1 shrink-0",
styles.iconBox,
)}
>
diff --git a/studio/frontend/src/components/tauri/diagnostics-copy-actions.tsx b/studio/frontend/src/components/tauri/diagnostics-copy-actions.tsx
index faa98529427..52fd7faf964 100644
--- a/studio/frontend/src/components/tauri/diagnostics-copy-actions.tsx
+++ b/studio/frontend/src/components/tauri/diagnostics-copy-actions.tsx
@@ -64,7 +64,7 @@ export function DiagnosticsCopyActions({
readOnly
value={manualReport}
onFocus={(event) => event.currentTarget.select()}
- className="h-32 w-full max-w-md resize-none rounded-lg border border-border/50 bg-muted/30 p-2 text-left font-mono text-ui-10 text-muted-foreground"
+ className="h-32 w-full max-w-md resize-none rounded-xl border border-border/50 bg-muted/30 p-2 text-left font-mono text-ui-10 text-muted-foreground"
/>
)}
</div>
diff --git a/studio/frontend/src/components/tauri/log-details.tsx b/studio/frontend/src/components/tauri/log-details.tsx
index fb0ddd9a8ae..5c8298e46a2 100644
--- a/studio/frontend/src/components/tauri/log-details.tsx
+++ b/studio/frontend/src/components/tauri/log-details.tsx
@@ -78,7 +78,7 @@ export function LogDetails({
onToggle={handleToggle}
className="group mt-2 w-full max-w-sm text-left"
>
- <summary className="mx-auto flex w-fit cursor-pointer list-none items-center gap-1 rounded-md px-2 py-1 text-xs text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring [&::-webkit-details-marker]:hidden">
+ <summary className="mx-auto flex w-fit cursor-pointer list-none items-center gap-1 rounded-full px-2 py-1 text-xs text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring [&::-webkit-details-marker]:hidden">
<span className="group-open:hidden">Show {label}</span>
<span className="hidden group-open:inline">Hide {label}</span>
<HugeiconsIcon
diff --git a/studio/frontend/src/components/tauri/update-banner.tsx b/studio/frontend/src/components/tauri/update-banner.tsx
index 50556c8a5b5..cb15ef850b2 100644
--- a/studio/frontend/src/components/tauri/update-banner.tsx
+++ b/studio/frontend/src/components/tauri/update-banner.tsx
@@ -123,7 +123,7 @@ export function UpdateBanner({
data-testid="tauri-update-banner"
>
{/* Paint the full floor even when the notes are short. */}
- <div className="relative flex max-h-[calc(100dvh_-_2rem_-_var(--studio-window-chrome-top,0px))] min-h-0 grow flex-col overflow-hidden rounded-[24px] bg-white px-5 pb-4 pt-5 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
+ <div className="relative flex max-h-[calc(100dvh_-_2rem_-_var(--studio-window-chrome-top,0px))] min-h-0 grow flex-col overflow-hidden rounded-2xl bg-white px-5 pb-4 pt-5 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
<button
type="button"
onClick={onDismiss}
@@ -282,7 +282,7 @@ export function UpdateBanner({
readOnly={true}
value={manualReport}
onFocus={(event) => event.currentTarget.select()}
- className="mt-2 h-28 w-full resize-none rounded-lg border border-border/50 bg-muted/30 p-2 font-mono text-ui-10 text-muted-foreground"
+ className="mt-2 h-28 w-full resize-none rounded-xl border border-border/50 bg-muted/30 p-2 font-mono text-ui-10 text-muted-foreground"
/>
)}
</div>
diff --git a/studio/frontend/src/components/tauri/window-titlebar.tsx b/studio/frontend/src/components/tauri/window-titlebar.tsx
index 08cb2426e5f..cfa22a3c62d 100644
--- a/studio/frontend/src/components/tauri/window-titlebar.tsx
+++ b/studio/frontend/src/components/tauri/window-titlebar.tsx
@@ -492,7 +492,7 @@ export function WindowTitlebar({
<div
className={cn(
"absolute top-0 right-0 h-[12px] border-t border-sidebar-edge dark:border-transparent",
- pinned && "rounded-tl-[12px] border-l",
+ pinned && "rounded-tl-md border-l",
)}
style={{ left: pinned ? cornerLeft : 0 }}
/>
diff --git a/studio/frontend/src/components/ui/alert-dialog.tsx b/studio/frontend/src/components/ui/alert-dialog.tsx
index 942b2a93ca0..f09d459277e 100644
--- a/studio/frontend/src/components/ui/alert-dialog.tsx
+++ b/studio/frontend/src/components/ui/alert-dialog.tsx
@@ -76,7 +76,7 @@ function AlertDialogContent({
data-size={size}
className={cn(
// Same short-viewport guard as DialogContent: scroll rather than clip the actions off screen.
- "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] max-h-[calc(100dvh-var(--studio-window-chrome-top,0px)-2rem)] gap-6 overflow-y-auto scroll-rounded rounded-4xl p-6 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-md group/alert-dialog-content fixed top-[calc(50%+var(--studio-window-chrome-top,0px)/2)] left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",
+ "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] max-h-[calc(100dvh-var(--studio-window-chrome-top,0px)-2rem)] gap-6 overflow-y-auto scroll-rounded rounded-3xl p-6 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-md group/alert-dialog-content fixed top-[calc(50%+var(--studio-window-chrome-top,0px)/2)] left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",
// Confirms stay centered cards on phones rather than going full screen, but take the
// width available instead of a fixed 20rem. Important: the data-[size] rules outrank a plain max-w.
"max-sm:max-w-[calc(100%-2rem)]!",
diff --git a/studio/frontend/src/components/ui/badge.tsx b/studio/frontend/src/components/ui/badge.tsx
index a476a16b892..471d81c169d 100644
--- a/studio/frontend/src/components/ui/badge.tsx
+++ b/studio/frontend/src/components/ui/badge.tsx
@@ -10,7 +10,7 @@ import type * as React from "react";
import { cn } from "@/lib/utils";
export const badgeVariants = cva(
- "h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge",
+ "h-5 gap-1 rounded-full border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge",
{
variants: {
variant: {
diff --git a/studio/frontend/src/components/ui/button.tsx b/studio/frontend/src/components/ui/button.tsx
index 0eb78f29362..b76564d6255 100644
--- a/studio/frontend/src/components/ui/button.tsx
+++ b/studio/frontend/src/components/ui/button.tsx
@@ -16,8 +16,12 @@ export const buttonVariants = cva(
variant: {
default: "bg-primary text-primary-foreground hover:bg-primary/80",
dark: "bg-foreground text-background hover:bg-foreground/85 dark:bg-foreground dark:text-background",
+ // Filled, not bordered: a border is reserved for fields and value pickers (`picker`).
outline:
- "border-border bg-background hover:bg-accent/50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))] hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",
+ "btn-fill hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",
+ // A menu trigger that shows the current value, dressed as a select trigger.
+ picker:
+ "border-border bg-background hover:bg-accent/50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))] hover:text-foreground aria-expanded:text-foreground",
secondary:
"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
ghost:
@@ -39,10 +43,9 @@ export const buttonVariants = cva(
"icon-xs": "size-6 [&_svg:not([class*='size-'])]:size-3",
"icon-sm": "size-8",
"icon-lg": "size-10",
- // Full-window screen actions (startup, update): taller than `lg`, and squared
- // off rather than pill-shaped, so they read as page-level rather than in-line.
+ // Full-window screen actions (startup, update): taller than `lg`.
// Height is left to the padding, so the label sets it.
- hero: "h-auto rounded-lg px-5 py-2.5",
+ hero: "h-auto rounded-full px-5 py-2.5",
},
},
defaultVariants: {
diff --git a/studio/frontend/src/components/ui/card.tsx b/studio/frontend/src/components/ui/card.tsx
index 13f127a9fd9..6a321d7546d 100644
--- a/studio/frontend/src/components/ui/card.tsx
+++ b/studio/frontend/src/components/ui/card.tsx
@@ -15,7 +15,7 @@ function Card({
data-slot="card"
data-size={size}
className={cn(
- "ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] bg-card corner-squircle text-card-foreground gap-6 overflow-hidden rounded-4xl py-6 text-sm ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl group/card flex flex-col",
+ "ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] bg-card corner-squircle text-card-foreground gap-6 overflow-hidden rounded-2xl py-6 text-sm ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-2xl *:[img:last-child]:rounded-b-2xl group/card flex flex-col",
className,
)}
{...props}
@@ -28,7 +28,7 @@ function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="card-header"
className={cn(
- "gap-2 rounded-t-xl px-6 group-data-[size=sm]/card:px-4 [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",
+ "gap-2 rounded-t-2xl px-6 group-data-[size=sm]/card:px-4 [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",
className,
)}
{...props}
@@ -84,7 +84,7 @@ function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="card-footer"
className={cn(
- "rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4 flex items-center",
+ "rounded-b-2xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4 flex items-center",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/combobox.tsx b/studio/frontend/src/components/ui/combobox.tsx
index 63bc5a1ae36..017bfe1ef88 100644
--- a/studio/frontend/src/components/ui/combobox.tsx
+++ b/studio/frontend/src/components/ui/combobox.tsx
@@ -233,7 +233,7 @@ function ComboboxItem({
<ComboboxPrimitive.Item
data-slot="combobox-item"
className={cn(
- "data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-[10px] py-2 pr-2 pl-3 text-sm [&[aria-selected=true]]:pr-9 [&_svg:not([class*='size-'])]:size-4 relative flex w-full cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-md py-2 pr-2 pl-3 text-sm [&[aria-selected=true]]:pr-9 [&_svg:not([class*='size-'])]:size-4 relative flex w-full cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
@@ -326,7 +326,7 @@ function ComboboxChips({
<ComboboxPrimitive.Chips
data-slot="combobox-chips"
className={cn(
- "bg-input/30 border-input dark:border-transparent focus-within:border-ring dark:focus-within:border-transparent dark:focus-within:bg-[rgb(255_255_255_/_calc(0.09*var(--contrast-wash-gain,1)))] has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive/50 flex min-h-9 flex-wrap items-center gap-1.5 rounded-4xl border bg-clip-padding px-2.5 py-1.5 text-sm transition-colors has-aria-invalid:ring-[3px] has-data-[slot=combobox-chip]:px-1.5",
+ "bg-input/30 border-input dark:border-transparent focus-within:border-ring dark:focus-within:border-transparent dark:focus-within:bg-[rgb(255_255_255_/_calc(0.09*var(--contrast-wash-gain,1)))] has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive/50 flex min-h-9 flex-wrap items-center gap-1.5 rounded-xl border bg-clip-padding px-2.5 py-1.5 text-sm transition-colors has-aria-invalid:ring-[3px] has-data-[slot=combobox-chip]:px-1.5",
className,
)}
{...props}
@@ -346,7 +346,7 @@ function ComboboxChip({
<ComboboxPrimitive.Chip
data-slot="combobox-chip"
className={cn(
- "bg-muted-foreground/10 text-foreground flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-4xl px-2 text-xs font-medium whitespace-nowrap has-data-[slot=combobox-chip-remove]:pr-0 has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50",
+ "bg-muted-foreground/10 text-foreground flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-full px-2 text-xs font-medium whitespace-nowrap has-data-[slot=combobox-chip-remove]:pr-0 has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/command.tsx b/studio/frontend/src/components/ui/command.tsx
index c6cdcb732bf..613bf7ace88 100644
--- a/studio/frontend/src/components/ui/command.tsx
+++ b/studio/frontend/src/components/ui/command.tsx
@@ -27,7 +27,7 @@ function Command({
<CommandPrimitive
data-slot="command"
className={cn(
- "bg-popover text-popover-foreground rounded-4xl p-1 flex size-full flex-col overflow-hidden",
+ "bg-popover text-popover-foreground rounded-lg p-1 flex size-full flex-col overflow-hidden",
className,
)}
{...props}
@@ -60,7 +60,7 @@ function CommandDialog({
</DialogHeader>
<DialogContent
className={cn(
- "rounded-4xl! max-sm:rounded-none! top-1/3 translate-y-0 overflow-hidden p-0",
+ "rounded-3xl! max-sm:rounded-none! top-1/3 translate-y-0 overflow-hidden p-0",
className,
)}
overlayClassName={overlayClassName}
@@ -167,7 +167,7 @@ function CommandItem({
<CommandPrimitive.Item
data-slot="command-item"
className={cn(
- "data-selected:bg-accent data-selected:text-accent-foreground data-selected:*:[svg]:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-lg px-3 py-2 text-sm outline-hidden select-none [&_svg:not([class*='size-'])]:size-4 group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "data-selected:bg-accent data-selected:text-accent-foreground data-selected:*:[svg]:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-md px-3 py-2 text-sm outline-hidden select-none [&_svg:not([class*='size-'])]:size-4 group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/context-menu.tsx b/studio/frontend/src/components/ui/context-menu.tsx
index 5762eb5c32d..ae0ac3de470 100644
--- a/studio/frontend/src/components/ui/context-menu.tsx
+++ b/studio/frontend/src/components/ui/context-menu.tsx
@@ -84,7 +84,7 @@ function ContextMenuContent({
data-dropdown-glow={useDropdownGlow()}
collisionPadding={useWindowChromeCollisionPadding(collisionPadding)}
className={cn(
- "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] bg-popover text-popover-foreground min-w-48 max-w-[calc(100vw-32px)] rounded-2xl p-1 shadow-2xl ring-1 duration-100 z-50 max-h-(--radix-context-menu-content-available-height) origin-(--radix-context-menu-content-transform-origin) flex flex-col overflow-hidden",
+ "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] bg-popover text-popover-foreground min-w-48 max-w-[calc(100vw-32px)] rounded-lg p-1 shadow-2xl ring-1 duration-100 z-50 max-h-(--radix-context-menu-content-available-height) origin-(--radix-context-menu-content-transform-origin) flex flex-col overflow-hidden",
className,
)}
{...props}
@@ -117,7 +117,7 @@ function ContextMenuItem({
data-inset={inset}
data-variant={variant}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground gap-2.5 rounded-[11px] px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive focus:*:[svg]:text-accent-foreground gap-2.5 rounded-md px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
@@ -138,7 +138,7 @@ function ContextMenuSubTrigger({
data-slot="context-menu-sub-trigger"
data-inset={inset}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground rounded-xl px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground rounded-md px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
@@ -173,7 +173,7 @@ function ContextMenuSubContent({
collisionPadding={useWindowChromeCollisionPadding(collisionPadding)}
// Capped and scrolled like ContextMenuContent, so a long list stays reachable.
className={cn(
- "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 bg-popover text-popover-foreground min-w-32 max-w-[calc(100vw-32px)] rounded-md p-1 shadow-lg duration-100 z-50 origin-(--radix-context-menu-content-transform-origin) max-h-(--radix-context-menu-content-available-height) flex flex-col overflow-hidden",
+ "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 bg-popover text-popover-foreground min-w-32 max-w-[calc(100vw-32px)] rounded-lg p-1 shadow-lg duration-100 z-50 origin-(--radix-context-menu-content-transform-origin) max-h-(--radix-context-menu-content-available-height) flex flex-col overflow-hidden",
className,
)}
{...props}
@@ -199,7 +199,7 @@ function ContextMenuCheckboxItem({
<ContextMenuPrimitive.CheckboxItem
data-slot="context-menu-checkbox-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground gap-2 rounded-xl py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground gap-2 rounded-md py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
checked={checked}
@@ -224,7 +224,7 @@ function ContextMenuRadioItem({
<ContextMenuPrimitive.RadioItem
data-slot="context-menu-radio-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground gap-2 rounded-md py-1.5 pr-8 pl-2 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/copyable-error-chip.tsx b/studio/frontend/src/components/ui/copyable-error-chip.tsx
index a5802597f04..478fc4b795e 100644
--- a/studio/frontend/src/components/ui/copyable-error-chip.tsx
+++ b/studio/frontend/src/components/ui/copyable-error-chip.tsx
@@ -52,7 +52,7 @@ export function CopyableErrorChip({
<button
type="button"
className={cn(
- "flex max-w-[calc(28rem*var(--ui-space-scale,1))] min-w-0 cursor-pointer items-center rounded-md text-left text-xs text-destructive transition-colors hover:bg-destructive/10 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
+ "flex max-w-[calc(28rem*var(--ui-space-scale,1))] min-w-0 cursor-pointer items-center rounded-full text-left text-xs text-destructive transition-colors hover:bg-destructive/10 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
className,
)}
>
@@ -71,8 +71,8 @@ export function CopyableErrorChip({
onClick={handleCopy}
aria-label={copied ? "Copied" : "Copy error message"}
className={cn(
- "inline-flex items-center gap-1 rounded-md border border-border/60 px-2 py-1 text-ui-11 text-muted-foreground transition-colors hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
- copied && "border-emerald-500/40 text-emerald-600 dark:text-emerald-500",
+ "btn-fill inline-flex items-center gap-1 rounded-full px-2 py-1 text-ui-11 text-muted-foreground transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
+ copied && "text-emerald-600 dark:text-emerald-500",
)}
>
<HugeiconsIcon
diff --git a/studio/frontend/src/components/ui/dialog.tsx b/studio/frontend/src/components/ui/dialog.tsx
index 9dee4f311cc..10510ccc888 100644
--- a/studio/frontend/src/components/ui/dialog.tsx
+++ b/studio/frontend/src/components/ui/dialog.tsx
@@ -112,7 +112,7 @@ function DialogContent({
className={cn(
// max-h + scroll keeps tall dialogs reachable on short viewports; a call site
// managing its own height overrides both (twMerge drops the base classes).
- "bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] grid max-h-[calc(100dvh-var(--studio-window-chrome-top,0px)-2rem)] max-w-[calc(100%-2rem)] gap-6 overflow-y-auto scroll-rounded rounded-4xl px-7 pt-8 pb-7 text-sm ring-1 duration-100 sm:max-w-md top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2",
+ "bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] grid max-h-[calc(100dvh-var(--studio-window-chrome-top,0px)-2rem)] max-w-[calc(100%-2rem)] gap-6 overflow-y-auto scroll-rounded rounded-3xl px-7 pt-8 pb-7 text-sm ring-1 duration-100 sm:max-w-md top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2",
// Viewport-fixed dialogs center below the desktop titlebar, which paints over them at
// z-70, and fill the screen at phone width instead of floating on a sliver of backdrop.
// Both are viewport-sized, so neither applies to a dialog portaled into a container.
diff --git a/studio/frontend/src/components/ui/dropdown-menu.tsx b/studio/frontend/src/components/ui/dropdown-menu.tsx
index ee5d675a17c..7c38a6bfcb7 100644
--- a/studio/frontend/src/components/ui/dropdown-menu.tsx
+++ b/studio/frontend/src/components/ui/dropdown-menu.tsx
@@ -105,7 +105,7 @@ function DropdownMenuItem({
data-inset={inset}
data-variant={variant}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2.5 rounded-[11px] px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 group/dropdown-menu-item relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2.5 rounded-md px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 group/dropdown-menu-item relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
@@ -123,7 +123,7 @@ function DropdownMenuCheckboxItem({
<DropdownMenuPrimitive.CheckboxItem
data-slot="dropdown-menu-checkbox-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-[11px] py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-md py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
checked={checked}
@@ -162,7 +162,7 @@ function DropdownMenuRadioItem({
<DropdownMenuPrimitive.RadioItem
data-slot="dropdown-menu-radio-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-[11px] py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-md py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
@@ -256,7 +256,7 @@ function DropdownMenuSubTrigger({
data-slot="dropdown-menu-sub-trigger"
data-inset={inset}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-[11px] px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2 rounded-md px-3 py-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/empty.tsx b/studio/frontend/src/components/ui/empty.tsx
index 84f6d247511..9cdfa2e1bfe 100644
--- a/studio/frontend/src/components/ui/empty.tsx
+++ b/studio/frontend/src/components/ui/empty.tsx
@@ -10,7 +10,7 @@ function Empty({ className, ...props }: React.ComponentProps<"div">) {
<div
data-slot="empty"
className={cn(
- "gap-4 rounded-lg border-dashed p-12 max-sm:px-4 max-sm:py-8 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance",
+ "gap-4 rounded-2xl border-dashed p-12 max-sm:px-4 max-sm:py-8 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance",
className
)}
{...props}
@@ -37,7 +37,7 @@ const emptyMediaVariants = cva(
variants: {
variant: {
default: "bg-transparent",
- icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6",
+ icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-md [&_svg:not([class*='size-'])]:size-6",
},
},
defaultVariants: {
diff --git a/studio/frontend/src/components/ui/hover-card.tsx b/studio/frontend/src/components/ui/hover-card.tsx
index f081cd7aaff..67434bd000e 100644
--- a/studio/frontend/src/components/ui/hover-card.tsx
+++ b/studio/frontend/src/components/ui/hover-card.tsx
@@ -36,7 +36,7 @@ function HoverCardContent({
align={align}
sideOffset={sideOffset}
className={cn(
- "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] bg-popover text-popover-foreground w-72 corner-squircle rounded-2xl p-4 text-sm shadow-2xl ring-1 duration-100 z-50 origin-(--radix-hover-card-content-transform-origin) outline-hidden",
+ "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] bg-popover text-popover-foreground w-72 corner-squircle rounded-xl p-4 text-sm shadow-2xl ring-1 duration-100 z-50 origin-(--radix-hover-card-content-transform-origin) outline-hidden",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/input-group.tsx b/studio/frontend/src/components/ui/input-group.tsx
index cfe3a7b2614..b10c1bee7f8 100644
--- a/studio/frontend/src/components/ui/input-group.tsx
+++ b/studio/frontend/src/components/ui/input-group.tsx
@@ -15,7 +15,7 @@ function InputGroup({ className, ...props }: React.ComponentProps<"div">) {
data-slot="input-group"
role="group"
className={cn(
- "border-border bg-background dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] has-[[data-slot=input-group-control]:focus-visible]:border-ring dark:has-[[data-slot=input-group-control]:focus-visible]:border-transparent dark:has-[[data-slot=input-group-control]:focus-visible]:bg-[rgb(255_255_255_/_calc(0.12*var(--contrast-wash-gain,1)))] has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 h-9 rounded-full border transition-colors has-data-[align=block-end]:rounded-2xl has-data-[align=block-start]:rounded-2xl has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[textarea]:rounded-xl has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",
+ "border-border bg-background dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] has-[[data-slot=input-group-control]:focus-visible]:border-ring dark:has-[[data-slot=input-group-control]:focus-visible]:border-transparent dark:has-[[data-slot=input-group-control]:focus-visible]:bg-[rgb(255_255_255_/_calc(0.12*var(--contrast-wash-gain,1)))] has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 h-9 rounded-full border transition-colors has-data-[align=block-end]:rounded-xl has-data-[align=block-start]:rounded-xl has-[[data-slot][aria-invalid=true]]:ring-[3px] has-[textarea]:rounded-xl has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",
className,
)}
{...props}
@@ -24,7 +24,7 @@ function InputGroup({ className, ...props }: React.ComponentProps<"div">) {
}
const inputGroupAddonVariants = cva(
- "text-muted-foreground **:data-[slot=kbd]:bg-muted-foreground/10 h-auto gap-2 py-2 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-4xl **:data-[slot=kbd]:px-1.5 [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",
+ "text-muted-foreground **:data-[slot=kbd]:bg-muted-foreground/10 h-auto gap-2 py-2 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-full **:data-[slot=kbd]:px-1.5 [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none",
{
variants: {
align: {
@@ -67,7 +67,7 @@ function InputGroupAddon({
}
const inputGroupButtonVariants = cva(
- "gap-2 rounded-4xl text-sm shadow-none flex items-center",
+ "gap-2 rounded-full text-sm shadow-none flex items-center",
{
variants: {
size: {
diff --git a/studio/frontend/src/components/ui/line-box.tsx b/studio/frontend/src/components/ui/line-box.tsx
new file mode 100644
index 00000000000..df6d73b83bc
--- /dev/null
+++ b/studio/frontend/src/components/ui/line-box.tsx
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
+
+import type * as React from "react";
+
+import { useSingleLine } from "@/hooks/use-single-line";
+import { cn } from "@/lib/utils";
+
+/** A command, URL or code box: a pill while it fits on one line, 16px corners once it wraps. */
+export function LineBox({
+ as: Tag = "div",
+ className,
+ ...props
+}: React.HTMLAttributes<HTMLElement> & { as?: "code" | "div" | "p" }) {
+ const [ref, single] = useSingleLine<HTMLElement>();
+ return (
+ <Tag
+ ref={ref}
+ className={cn(className, single ? "rounded-full" : "rounded-lg")}
+ {...props}
+ />
+ );
+}
diff --git a/studio/frontend/src/components/ui/menubar.tsx b/studio/frontend/src/components/ui/menubar.tsx
index ad05e64f664..15b36df5b0f 100644
--- a/studio/frontend/src/components/ui/menubar.tsx
+++ b/studio/frontend/src/components/ui/menubar.tsx
@@ -21,7 +21,7 @@ function Menubar({
<MenubarPrimitive.Root
data-slot="menubar"
className={cn(
- "bg-background h-9 rounded-2xl border p-1 flex items-center",
+ "bg-background h-9 rounded-full border p-1 flex items-center",
className,
)}
{...props}
@@ -63,7 +63,7 @@ function MenubarTrigger({
<MenubarPrimitive.Trigger
data-slot="menubar-trigger"
className={cn(
- "hover:bg-muted aria-expanded:bg-muted rounded-xl px-2.5 py-1 text-sm font-medium flex items-center outline-hidden select-none",
+ "hover:bg-muted aria-expanded:bg-muted rounded-full px-2.5 py-1 text-sm font-medium flex items-center outline-hidden select-none",
className,
)}
{...props}
@@ -91,7 +91,7 @@ function MenubarContent({
alignOffset={alignOffset}
sideOffset={sideOffset}
className={cn(
- "bg-popover text-popover-foreground data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] min-w-48 rounded-2xl p-1 shadow-2xl ring-1 duration-100 z-50 origin-(--radix-menubar-content-transform-origin) overflow-hidden",
+ "bg-popover text-popover-foreground data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] min-w-48 rounded-lg p-1 shadow-2xl ring-1 duration-100 z-50 origin-(--radix-menubar-content-transform-origin) overflow-hidden",
className,
)}
{...props}
@@ -115,7 +115,7 @@ function MenubarItem({
data-inset={inset}
data-variant={variant}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2.5 rounded-xl px-3 py-2 text-sm data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg:not([class*='size-'])]:size-4 group/menubar-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2.5 rounded-md px-3 py-2 text-sm data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg:not([class*='size-'])]:size-4 group/menubar-item relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
@@ -133,7 +133,7 @@ function MenubarCheckboxItem({
<MenubarPrimitive.CheckboxItem
data-slot="menubar-checkbox-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-xl py-2 pr-9 pl-3 text-sm data-disabled:opacity-50 relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-md py-2 pr-9 pl-3 text-sm data-disabled:opacity-50 relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
checked={checked}
@@ -158,7 +158,7 @@ function MenubarRadioItem({
<MenubarPrimitive.RadioItem
data-slot="menubar-radio-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-xl py-2 pr-9 pl-3 text-sm data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground gap-2.5 rounded-md py-2 pr-9 pl-3 text-sm data-disabled:opacity-50 [&_svg:not([class*='size-'])]:size-4 relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
@@ -241,7 +241,7 @@ function MenubarSubTrigger({
data-slot="menubar-sub-trigger"
data-inset={inset}
className={cn(
- "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-xl px-3 py-2 text-sm data-[inset]:pl-8 [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-none select-none",
+ "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-2 rounded-md px-3 py-2 text-sm data-[inset]:pl-8 [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-none select-none",
className,
)}
{...props}
@@ -269,7 +269,7 @@ function MenubarSubContent({
data-slot="menubar-sub-content"
collisionPadding={useWindowChromeCollisionPadding(collisionPadding)}
className={cn(
- "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] min-w-32 rounded-2xl p-1 shadow-2xl ring-1 duration-100 z-50 origin-(--radix-menubar-content-transform-origin) overflow-hidden",
+ "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] min-w-32 rounded-lg p-1 shadow-2xl ring-1 duration-100 z-50 origin-(--radix-menubar-content-transform-origin) overflow-hidden",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/navigation-menu.tsx b/studio/frontend/src/components/ui/navigation-menu.tsx
index 361c3aae3d3..0e864d931d2 100644
--- a/studio/frontend/src/components/ui/navigation-menu.tsx
+++ b/studio/frontend/src/components/ui/navigation-menu.tsx
@@ -69,7 +69,7 @@ export function NavigationMenuItem({
}
export const navigationMenuTriggerStyle = cva(
- "bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted rounded-2xl px-4.5 py-2.5 text-sm font-medium transition-all focus-visible:ring-1 focus-visible:outline-1 disabled:opacity-50 group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center disabled:pointer-events-none outline-none",
+ "bg-background hover:bg-muted focus:bg-muted data-open:hover:bg-muted data-open:focus:bg-muted data-open:bg-muted/50 focus-visible:ring-ring data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted rounded-full px-4.5 py-2.5 text-sm font-medium transition-all focus-visible:ring-1 focus-visible:outline-1 disabled:opacity-50 group/navigation-menu-trigger inline-flex h-9 w-max items-center justify-center disabled:pointer-events-none outline-none",
);
export function NavigationMenuTrigger({
@@ -106,7 +106,7 @@ export function NavigationMenuContent({
<NavigationMenuPrimitive.Content
data-slot="navigation-menu-content"
className={cn(
- "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] p-2.5 pr-3 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-2xl group-data-[viewport=false]/navigation-menu:shadow-2xl group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 top-0 left-0 w-full group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto",
+ "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] p-2.5 pr-3 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:shadow-2xl group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 top-0 left-0 w-full group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none md:absolute md:w-auto",
className,
)}
{...props}
@@ -129,7 +129,7 @@ export function NavigationMenuViewport({
<NavigationMenuPrimitive.Viewport
data-slot="navigation-menu-viewport"
className={cn(
- "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-95 data-open:zoom-in-90 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] rounded-2xl shadow-2xl ring-1 duration-100 origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden md:w-[var(--radix-navigation-menu-viewport-width)]",
+ "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:zoom-out-95 data-open:zoom-in-90 ring-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-edge-gain,1)),transparent)] rounded-xl shadow-2xl ring-1 duration-100 origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden md:w-[var(--radix-navigation-menu-viewport-width)]",
className,
)}
{...props}
@@ -148,7 +148,7 @@ export function NavigationMenuLink({
<NavigationMenuPrimitive.Link
data-slot="navigation-menu-link"
className={cn(
- "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-xl p-3 text-sm transition-all outline-none focus-visible:ring-1 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
+ "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-md p-3 text-sm transition-all outline-none focus-visible:ring-1 focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/popover.tsx b/studio/frontend/src/components/ui/popover.tsx
index 44708511f07..96d17db6d3b 100644
--- a/studio/frontend/src/components/ui/popover.tsx
+++ b/studio/frontend/src/components/ui/popover.tsx
@@ -60,7 +60,7 @@ function PopoverContent({
sideOffset={sideOffset}
// Padding alone doesn't shrink it, so cap it and scroll.
className={cn(
- "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 flex flex-col gap-4 rounded-lg p-4 text-sm duration-100 z-50 w-72 max-w-[calc(100vw-32px)] max-h-(--radix-popover-content-available-height) overflow-y-auto origin-(--radix-popover-content-transform-origin) outline-hidden",
+ "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 flex flex-col gap-4 rounded-xl p-4 text-sm duration-100 z-50 w-72 max-w-[calc(100vw-32px)] max-h-(--radix-popover-content-available-height) overflow-y-auto origin-(--radix-popover-content-transform-origin) outline-hidden",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/progress.tsx b/studio/frontend/src/components/ui/progress.tsx
index a4a57718db7..61e052eef43 100644
--- a/studio/frontend/src/components/ui/progress.tsx
+++ b/studio/frontend/src/components/ui/progress.tsx
@@ -23,7 +23,7 @@ function Progress({
<ProgressPrimitive.Root
data-slot="progress"
className={cn(
- "bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] h-3 rounded-4xl relative flex w-full items-center overflow-x-hidden",
+ "bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] h-3 rounded-full relative flex w-full items-center overflow-x-hidden",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/resizable.tsx b/studio/frontend/src/components/ui/resizable.tsx
index ed1e8a880f8..9db2bf7a8c5 100644
--- a/studio/frontend/src/components/ui/resizable.tsx
+++ b/studio/frontend/src/components/ui/resizable.tsx
@@ -45,7 +45,7 @@ function ResizableHandle({
{...props}
>
{withHandle && (
- <div className="z-10 flex h-6 w-1 shrink-0 rounded-lg bg-border transition-[background-color,box-shadow,transform] duration-150 ease-out group-hover:scale-y-110 group-hover:bg-primary/80 group-hover:shadow-[0_0_12px_color-mix(in_srgb,var(--primary)_65%,transparent)] group-active:bg-primary" />
+ <div className="z-10 flex h-6 w-1 shrink-0 rounded-full bg-border transition-[background-color,box-shadow,transform] duration-150 ease-out group-hover:scale-y-110 group-hover:bg-primary/80 group-hover:shadow-[0_0_12px_color-mix(in_srgb,var(--primary)_65%,transparent)] group-active:bg-primary" />
)}
</ResizablePrimitive.Separator>
);
diff --git a/studio/frontend/src/components/ui/select.tsx b/studio/frontend/src/components/ui/select.tsx
index a7fa9b10fc0..f37c431e6a8 100644
--- a/studio/frontend/src/components/ui/select.tsx
+++ b/studio/frontend/src/components/ui/select.tsx
@@ -135,7 +135,7 @@ function SelectContent({
collisionPadding={useWindowChromeCollisionPadding(collisionPadding)}
data-align-trigger={position === "item-aligned"}
className={cn(
- "bg-popover text-popover-foreground font-heading data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 min-w-36 max-w-[calc(100vw-32px)] rounded-xl p-1 corner-squircle duration-100 relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) flex flex-col overflow-hidden",
+ "bg-popover text-popover-foreground font-heading data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 min-w-36 max-w-[calc(100vw-32px)] rounded-lg p-1 corner-squircle duration-100 relative z-50 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) flex flex-col overflow-hidden",
// No popper translate offset: the menu sits flush against the trigger.
className,
)}
@@ -189,7 +189,7 @@ function SelectItem({
<SelectPrimitive.Item
data-slot="select-item"
className={cn(
- "focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2.5 rounded-[11px] py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-2.5 rounded-md py-2 pr-9 pl-3 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-pointer items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
className,
)}
{...props}
diff --git a/studio/frontend/src/components/ui/shimmer-button.tsx b/studio/frontend/src/components/ui/shimmer-button.tsx
index 6ff58d7594e..46b66b488e9 100644
--- a/studio/frontend/src/components/ui/shimmer-button.tsx
+++ b/studio/frontend/src/components/ui/shimmer-button.tsx
@@ -69,7 +69,7 @@ export const ShimmerButton = React.forwardRef<
className={cn(
"absolute inset-0 size-full",
- "rounded-2xl px-4 py-1.5 text-sm font-medium shadow-[inset_0_-8px_10px_#ffffff1f]",
+ "rounded-full px-4 py-1.5 text-sm font-medium shadow-[inset_0_-8px_10px_#ffffff1f]",
// transition
"transform-gpu transition-all duration-300 ease-in-out",
diff --git a/studio/frontend/src/components/ui/sidebar.tsx b/studio/frontend/src/components/ui/sidebar.tsx
index ec150f85244..2cadb0e2083 100644
--- a/studio/frontend/src/components/ui/sidebar.tsx
+++ b/studio/frontend/src/components/ui/sidebar.tsx
@@ -442,7 +442,7 @@ function Sidebar({
data-slot="sidebar-inner"
className={cn(
"bg-sidebar flex size-full flex-col overflow-hidden",
- "group-data-[variant=floating]:ring-sidebar-border group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1",
+ "group-data-[variant=floating]:ring-sidebar-border group-data-[variant=floating]:rounded-2xl group-data-[variant=floating]:shadow-sm group-data-[variant=floating]:ring-1",
)}
>
{children}
@@ -692,7 +692,7 @@ function SidebarGroupLabel({
data-slot="sidebar-group-label"
data-sidebar="group-label"
className={cn(
- "text-[#94a3b8] dark:text-muted-foreground ring-sidebar-ring h-auto pt-3 pb-2 px-4 rounded-md text-ui-10 font-semibold uppercase tracking-[0em] group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-1 [&>svg]:size-3 flex shrink-0 items-center outline-hidden [&>svg]:shrink-0",
+ "text-[#94a3b8] dark:text-muted-foreground ring-sidebar-ring h-auto pt-3 pb-2 px-4 rounded-full text-ui-10 font-semibold uppercase tracking-[0em] group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-1 [&>svg]:size-3 flex shrink-0 items-center outline-hidden [&>svg]:shrink-0",
className
)}
{...props}
@@ -712,7 +712,7 @@ function SidebarGroupAction({
data-slot="sidebar-group-action"
data-sidebar="group-action"
className={cn(
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 w-5 rounded-md p-0 focus-visible:ring-1 [&>svg]:size-4 flex aspect-square items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 w-5 rounded-full p-0 focus-visible:ring-1 [&>svg]:size-4 flex aspect-square items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",
className
)}
{...props}
@@ -757,7 +757,7 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">) {
}
const sidebarMenuButtonVariants = cva(
- "ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-left text-sm cursor-pointer group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:w-full! group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:p-2! data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate group-data-[collapsible=icon]:[&>span]:hidden [&_svg]:size-4 [&_svg]:shrink-0 group-data-[collapsible=icon]:[&_svg]:size-[var(--icon-size)]",
+ "ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-full p-2 text-left text-sm cursor-pointer group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:w-full! group-data-[collapsible=icon]:justify-center group-data-[collapsible=icon]:p-2! data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate group-data-[collapsible=icon]:[&>span]:hidden [&_svg]:size-4 [&_svg]:shrink-0 group-data-[collapsible=icon]:[&_svg]:size-[var(--icon-size)]",
{
variants: {
variant: {
@@ -767,7 +767,7 @@ const sidebarMenuButtonVariants = cva(
size: {
default: "h-9 text-sm",
sm: "h-8 text-xs",
- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!",
+ lg: "h-12 rounded-xl text-sm group-data-[collapsible=icon]:p-0!",
},
},
defaultVariants: {
@@ -868,7 +868,7 @@ function SidebarMenuAction({
data-slot="sidebar-menu-action"
data-sidebar="menu-action"
className={cn(
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 aspect-square w-5 rounded-md p-0 peer-data-[size=default]/menu-button:top-2 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 focus-visible:ring-1 [&>svg]:size-4 flex items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 aspect-square w-5 rounded-full p-0 peer-data-[size=default]/menu-button:top-2 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 focus-visible:ring-1 [&>svg]:size-4 flex items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",
showOnHover && [
sidebarMenuPeerActiveClass,
"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-open:opacity-100 md:opacity-0",
@@ -889,7 +889,7 @@ function SidebarMenuBadge({
data-slot="sidebar-menu-badge"
data-sidebar="menu-badge"
className={cn(
- "text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-md px-1 text-xs font-medium peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 flex items-center justify-center tabular-nums select-none group-data-[collapsible=icon]:hidden",
+ "text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-full px-1 text-xs font-medium peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 flex items-center justify-center tabular-nums select-none group-data-[collapsible=icon]:hidden",
sidebarMenuPeerActiveClass,
className
)}
@@ -914,12 +914,12 @@ function SidebarMenuSkeleton({
<div
data-slot="sidebar-menu-skeleton"
data-sidebar="menu-skeleton"
- className={cn("h-8 gap-2 rounded-md px-2 flex items-center", className)}
+ className={cn("h-8 gap-2 rounded-full px-2 flex items-center", className)}
{...props}
>
{showIcon && (
<Skeleton
- className="size-4 rounded-md"
+ className="size-4 rounded-full"
data-sidebar="menu-skeleton-icon"
/>
)}
@@ -981,7 +981,7 @@ function SidebarMenuSubButton({
data-size={size}
data-active={isActive}
className={cn(
- "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground h-7 gap-2 rounded-md px-2 focus-visible:ring-1 data-[size=md]:text-sm data-[size=sm]:text-xs [&>svg]:size-4 flex min-w-0 -translate-x-px items-center overflow-hidden outline-hidden group-data-[collapsible=icon]:hidden disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0",
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground h-7 gap-2 rounded-full px-2 focus-visible:ring-1 data-[size=md]:text-sm data-[size=sm]:text-xs [&>svg]:size-4 flex min-w-0 -translate-x-px items-center overflow-hidden outline-hidden group-data-[collapsible=icon]:hidden disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0",
className
)}
{...props}
diff --git a/studio/frontend/src/components/ui/sonner.tsx b/studio/frontend/src/components/ui/sonner.tsx
index 37d805eca49..2b2ab83616a 100644
--- a/studio/frontend/src/components/ui/sonner.tsx
+++ b/studio/frontend/src/components/ui/sonner.tsx
@@ -87,8 +87,8 @@ const Toaster = ({ ...props }: ToasterProps) => {
"--normal-text": "var(--popover-foreground)",
// No border line; elevation comes from the shadow in index.css.
"--normal-border": "transparent",
- // Rounder than cards, a step below the composer's 28px.
- "--border-radius": "calc(var(--radius) + 8px)",
+ // Just above the compact-box tier; at --radius-xl a two-line toast reads as a capsule.
+ "--border-radius": "calc(var(--radius-lg) + 2px)",
// Pin the close button inside the toast's top-right corner.
// Sonner defaults to the left/outside edge, so keep the horizontal
// override here and the top offset in index.css.
diff --git a/studio/frontend/src/components/ui/tabs.tsx b/studio/frontend/src/components/ui/tabs.tsx
index f8a9ce7d591..3d052f3730e 100644
--- a/studio/frontend/src/components/ui/tabs.tsx
+++ b/studio/frontend/src/components/ui/tabs.tsx
@@ -49,7 +49,7 @@ export function Tabs({
}
export const tabsListVariants = cva(
- "rounded-4xl p-[calc(3px*var(--ui-space-scale,1))] group-data-horizontal/tabs:h-9 group-data-vertical/tabs:rounded-2xl data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",
+ "rounded-full p-[calc(3px*var(--ui-space-scale,1))] group-data-horizontal/tabs:h-9 group-data-vertical/tabs:rounded-xl data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col",
{
variants: {
variant: {
@@ -109,7 +109,7 @@ export function TabsTrigger({
data-slot="tabs-trigger"
value={value}
className={cn(
- "gap-1.5 rounded-xl corner-squircle border border-transparent px-2 py-1 text-sm font-medium group-data-vertical/tabs:px-2.5 group-data-vertical/tabs:py-1.5 [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring dark:focus-visible:border-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-colors group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "gap-1.5 rounded-full border border-transparent px-2 py-1 text-sm font-medium group-data-vertical/tabs:px-2.5 group-data-vertical/tabs:py-1.5 [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring dark:focus-visible:border-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-colors group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
"group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
// Line variant is a roomier pill (no underline); padding overrides px-2 py-1.
"group-data-[variant=line]/tabs-list:px-3.5 group-data-[variant=line]/tabs-list:py-2.5",
@@ -128,7 +128,7 @@ export function TabsTrigger({
className={cn(
"absolute inset-0",
indicatorClassName ??
- "rounded-xl bg-background dark:bg-input/30 group-data-[variant=line]/tabs-list:bg-tabs-line-indicator dark:group-data-[variant=line]/tabs-list:border-0",
+ "rounded-full bg-background dark:bg-input/30 group-data-[variant=line]/tabs-list:bg-tabs-line-indicator dark:group-data-[variant=line]/tabs-list:border-0",
)}
transition={{
type: "spring",
diff --git a/studio/frontend/src/components/ui/toggle-group.tsx b/studio/frontend/src/components/ui/toggle-group.tsx
index 801a7b40d28..1c4bb784bbe 100644
--- a/studio/frontend/src/components/ui/toggle-group.tsx
+++ b/studio/frontend/src/components/ui/toggle-group.tsx
@@ -44,7 +44,7 @@ function ToggleGroup({
data-orientation={orientation}
style={{ "--gap": spacing } as React.CSSProperties}
className={cn(
- "data-[spacing=0]:data-[variant=outline]:rounded-4xl group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch",
+ "data-[spacing=0]:data-[variant=outline]:rounded-full group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch",
className,
)}
{...props}
@@ -75,7 +75,7 @@ function ToggleGroupItem({
data-size={context.size || size}
data-spacing={context.spacing}
className={cn(
- "data-[state=on]:bg-muted group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-3 group-data-[spacing=0]/toggle-group:shadow-none group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-4xl group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-xl group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-4xl group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-xl shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",
+ "data-[state=on]:bg-muted group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-3 group-data-[spacing=0]/toggle-group:shadow-none group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-l-full group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-xl group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-r-full group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-xl shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-l-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-l group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t",
toggleVariants({
variant: context.variant || variant,
size: context.size || size,
diff --git a/studio/frontend/src/components/ui/toggle.tsx b/studio/frontend/src/components/ui/toggle.tsx
index f6139349196..51a1f061599 100644
--- a/studio/frontend/src/components/ui/toggle.tsx
+++ b/studio/frontend/src/components/ui/toggle.tsx
@@ -12,15 +12,15 @@ import type * as React from "react";
import { cn } from "@/lib/utils";
export const toggleVariants = cva(
- "hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive gap-1 rounded-4xl text-sm font-medium transition-colors [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
+ "hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive gap-1 rounded-full text-sm font-medium transition-colors [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
{
variants: {
variant: {
default: "bg-transparent",
- outline: "border-input hover:bg-muted border bg-transparent",
+ outline: "hover:bg-muted bg-transparent",
},
size: {
- default: "h-9 min-w-9 rounded-[min(var(--radius-2xl),12px)] px-2.5",
+ default: "h-9 min-w-9 px-2.5",
sm: "h-8 min-w-8 px-3",
lg: "h-10 min-w-10 px-2.5",
},
diff --git a/studio/frontend/src/components/update/update-notes-layout.ts b/studio/frontend/src/components/update/update-notes-layout.ts
index d97fc478cc6..4c4b294d337 100644
--- a/studio/frontend/src/components/update/update-notes-layout.ts
+++ b/studio/frontend/src/components/update/update-notes-layout.ts
@@ -5,7 +5,7 @@ export const UPDATE_NOTES_ROOT_CLASS =
"mt-3 flex min-h-0 flex-1 flex-col overflow-hidden";
export const UPDATE_NOTES_SURFACE_CLASS =
- "flex min-h-0 flex-col rounded-[14px] bg-muted/40 px-3 py-1 dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]";
+ "flex min-h-0 flex-col rounded-xl bg-muted/40 px-3 py-1 dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]";
export const UPDATE_NOTES_EXPANDED_SCROLL_CLASS =
"hover-scrollbar max-h-64 min-h-0 flex-1 overflow-y-auto overscroll-contain py-3 pr-1";
diff --git a/studio/frontend/src/components/web/update-banner.tsx b/studio/frontend/src/components/web/update-banner.tsx
index a4611822c6c..f84f3f0e560 100644
--- a/studio/frontend/src/components/web/update-banner.tsx
+++ b/studio/frontend/src/components/web/update-banner.tsx
@@ -108,7 +108,7 @@ export function WebUpdateBanner({
yields. That is the floor the constant was approximating, except
it is measured rather than guessed and it holds at every type
size. */}
- <div className="relative flex max-h-[calc(100dvh_-_2rem)] grow flex-col rounded-[24px] bg-white px-5 pb-4 pt-5 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
+ <div className="relative flex max-h-[calc(100dvh_-_2rem)] grow flex-col rounded-2xl bg-white px-5 pb-4 pt-5 shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-[0_8px_28px_-6px_var(--background)]">
<button
type="button"
diff --git a/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx b/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx
index 2f72f676362..c7c6de8c7c1 100644
--- a/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx
+++ b/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx
@@ -403,9 +403,9 @@ function ApiMonitorPanel({
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
exit={{ opacity: 0 }}
- /* Panel language from the sidebar menu: soft surface, 20px corner, heading font. */
+ /* Panel language from the sidebar menu: soft surface, menu corner, heading font. */
className={cn(
- "menu-soft-surface pointer-events-auto absolute flex max-h-full w-[calc(400px*var(--ui-space-scale,1))] max-w-full cursor-default select-none flex-col overflow-hidden rounded-[20px] border-0 p-2.5 font-heading ring-0",
+ "menu-soft-surface pointer-events-auto absolute flex max-h-full w-[calc(400px*var(--ui-space-scale,1))] max-w-full cursor-default select-none flex-col overflow-hidden rounded-xl border-0 p-2.5 font-heading ring-0",
// The CSS corner until it has been measured, so the first paint
// is the corner it has always opened in rather than the top left.
layout ? "top-0 left-0 resize" : "bottom-0 right-0",
@@ -496,7 +496,7 @@ function ApiMonitorPanel({
</p>
{/* Soft tile, as the Hub and Train pages group readouts. */}
- <div className="grid grid-cols-4 rounded-[14px] bg-muted/45 pt-[calc(11.5px*var(--ui-space-scale,1))] pb-[calc(8.5px*var(--ui-space-scale,1))] dark:bg-background/45">
+ <div className="grid grid-cols-4 rounded-md bg-muted/45 pt-[calc(11.5px*var(--ui-space-scale,1))] pb-[calc(8.5px*var(--ui-space-scale,1))] dark:bg-background/45">
<StatCell
label="In flight"
value={stats.active.toLocaleString()}
@@ -576,7 +576,7 @@ function ApiMonitorPanel({
data-entry-id={entry.id}
onClick={() => openApiPage(entry.id)}
title="Inspect this request on the API page"
- className="flex h-9 w-full min-w-0 items-center gap-2.5 rounded-[12px] px-3 text-left transition-colors hover:bg-nav-surface-hover focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="flex h-9 w-full min-w-0 items-center gap-2.5 rounded-md px-3 text-left transition-colors hover:bg-nav-surface-hover focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{cells}
</button>
@@ -608,7 +608,7 @@ function ApiMonitorPanel({
close();
}}
title="Turn it back on in Settings, under API"
- className="mt-1.5 shrink-0 w-full rounded-[12px] py-1 text-ui-11 tracking-nav text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="mt-1.5 shrink-0 w-full rounded-md py-1 text-ui-11 tracking-nav text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
Stop opening this automatically
</button>
diff --git a/studio/frontend/src/features/api-monitor/api-monitor-page.tsx b/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
index 686a1690f32..f4349952b24 100644
--- a/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
+++ b/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
@@ -486,7 +486,7 @@ const RequestRow = memo(function RequestRow({
// A lifecycle row has no payload, so it reads as a status line.
if (isLifecycleEntry(entry)) {
return (
- <div className="flex w-full min-w-0 flex-col gap-0.5 rounded-lg px-3 py-2">
+ <div className="flex w-full min-w-0 flex-col gap-0.5 rounded-md px-3 py-2">
<div className="flex min-w-0 items-center gap-2">
<span
className={cn(
@@ -525,7 +525,7 @@ const RequestRow = memo(function RequestRow({
onClick={() => onSelect(entry.id)}
aria-current={selected}
className={cn(
- "flex w-full min-w-0 flex-col gap-1 rounded-lg px-3 py-2.5 text-left outline-none transition-colors focus-visible:ring-1 focus-visible:ring-ring/70",
+ "flex w-full min-w-0 flex-col gap-1 rounded-md px-3 py-2.5 text-left outline-none transition-colors focus-visible:ring-1 focus-visible:ring-ring/70",
selected ? "bg-muted" : "hover:bg-muted/50",
)}
>
@@ -845,7 +845,7 @@ function QuickStart({
<div className="flex flex-col items-center gap-4 px-6 py-12 text-center">
<span
className={cn(
- "flex size-10 items-center justify-center rounded-xl text-muted-foreground",
+ "flex size-10 items-center justify-center rounded-md text-muted-foreground",
INSET,
)}
>
@@ -1306,7 +1306,7 @@ export function ApiMonitorPage(): ReactElement {
);
return (
- <main className="api-rounding mx-auto flex w-full max-w-6xl 3xl:max-w-[calc(1440px*var(--ui-space-scale,1))] 4xl:max-w-[calc(1760px*var(--ui-space-scale,1))] flex-col gap-5 px-6 pb-10 pt-12 max-sm:px-4 max-sm:pt-8 font-heading sm:px-10">
+ <main className="mx-auto flex w-full max-w-6xl 3xl:max-w-[calc(1440px*var(--ui-space-scale,1))] 4xl:max-w-[calc(1760px*var(--ui-space-scale,1))] flex-col gap-5 px-6 pb-10 pt-12 max-sm:px-4 max-sm:pt-8 font-heading sm:px-10">
<GuidedTour {...tour.tourProps} />
<header className="flex flex-wrap items-end justify-between gap-4">
<div className="flex min-w-0 flex-col gap-1">
@@ -1745,7 +1745,7 @@ export function ApiMonitorPage(): ReactElement {
{loading ? (
<div className="flex flex-col gap-2 p-1.5">
{[0, 1, 2].map((i) => (
- <Skeleton key={i} className="h-16 w-full rounded-lg" />
+ <Skeleton key={i} className="h-16 w-full rounded-md" />
))}
</div>
) : visible.length === 0 ? (
@@ -1789,7 +1789,7 @@ export function ApiMonitorPage(): ReactElement {
<div className="flex h-full flex-col items-center justify-center gap-3 px-6 py-10 text-center">
<span
className={cn(
- "flex size-10 items-center justify-center rounded-xl text-muted-foreground",
+ "flex size-10 items-center justify-center rounded-md text-muted-foreground",
INSET,
)}
>
diff --git a/studio/frontend/src/features/api-monitor/components/api-example-dialog.tsx b/studio/frontend/src/features/api-monitor/components/api-example-dialog.tsx
index c6a7e41a280..95f6bf11ad0 100644
--- a/studio/frontend/src/features/api-monitor/components/api-example-dialog.tsx
+++ b/studio/frontend/src/features/api-monitor/components/api-example-dialog.tsx
@@ -80,7 +80,7 @@ export function ApiExampleDialog({
return (
<Dialog open={open} onOpenChange={onOpenChange}>
- <DialogContent className="api-rounding corner-squircle dialog-soft-surface gap-5 sm:max-w-3xl">
+ <DialogContent className="corner-squircle dialog-soft-surface gap-5 sm:max-w-3xl">
<DialogHeader>
<DialogTitle>API example</DialogTitle>
<DialogDescription>
@@ -90,7 +90,7 @@ export function ApiExampleDialog({
</DialogDescription>
</DialogHeader>
<div className="relative min-w-0">
- <div className="corner-squircle max-h-[60dvh] overflow-auto scroll-rounded rounded-xl bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)] py-3 pr-11 pl-3 text-ui-12 leading-[1.6] dark:bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))] [&_[data-streamdown=code-block-header]]:hidden [&_[data-streamdown=code-block]]:!my-0 [&_[data-streamdown=code-block]]:!border-0 [&_[data-streamdown=code-block]]:!bg-transparent [&_[data-streamdown=code-block]]:!p-0 [&_code]:!text-ui-12 [&_pre]:!m-0 [&_pre]:!border-0 [&_pre]:!bg-transparent [&_pre]:!p-0 [&_pre]:!text-ui-12 [&_pre]:!leading-[1.6]">
+ <div className="corner-squircle max-h-[60dvh] overflow-auto scroll-rounded rounded-lg bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)] py-3 pr-11 pl-3 text-ui-12 leading-[1.6] dark:bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))] [&_[data-streamdown=code-block-header]]:hidden [&_[data-streamdown=code-block]]:!my-0 [&_[data-streamdown=code-block]]:!border-0 [&_[data-streamdown=code-block]]:!bg-transparent [&_[data-streamdown=code-block]]:!p-0 [&_code]:!text-ui-12 [&_pre]:!m-0 [&_pre]:!border-0 [&_pre]:!bg-transparent [&_pre]:!p-0 [&_pre]:!text-ui-12 [&_pre]:!leading-[1.6]">
{sampling ? (
<Streamdown
mode="static"
diff --git a/studio/frontend/src/features/audio/components/audio-source-input.tsx b/studio/frontend/src/features/audio/components/audio-source-input.tsx
index 2fc528fc200..664a33186d6 100644
--- a/studio/frontend/src/features/audio/components/audio-source-input.tsx
+++ b/studio/frontend/src/features/audio/components/audio-source-input.tsx
@@ -215,7 +215,7 @@ export function AudioSourceInput({
if (file) void source.pickFile(file);
}}
className={cn(
- "corner-squircle grid gap-3 rounded-lg bg-card p-4 ring-1 outline-none transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-ring",
+ "corner-squircle grid gap-3 rounded-2xl bg-card p-4 ring-1 outline-none transition-colors duration-150 focus-visible:ring-2 focus-visible:ring-ring",
dragging
? "bg-accent ring-[color-mix(in_oklab,var(--foreground)_calc(40%*var(--contrast-edge-gain,1)),transparent)]"
: "ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)]",
@@ -286,7 +286,7 @@ export function AudioSourceInput({
{name}
</span>
{value ? (
- <span className="shrink-0 rounded-4xl bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground">
+ <span className="shrink-0 rounded-full bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground">
{SOURCE_LABEL[value.kind]}
</span>
) : null}
@@ -388,7 +388,7 @@ export function AudioSourceInput({
type="button"
disabled={disabled}
onClick={() => fileRef.current?.click()}
- className="flex min-h-[calc(88px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-1 rounded-[10px] border border-dashed border-border px-3 text-ui-12 text-muted-foreground transition-colors hover:border-[color-mix(in_oklab,var(--foreground)_calc(30%*var(--contrast-edge-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex min-h-[calc(88px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-1 rounded-md border border-dashed border-border px-3 text-ui-12 text-muted-foreground transition-colors hover:border-[color-mix(in_oklab,var(--foreground)_calc(30%*var(--contrast-edge-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<HugeiconsIcon icon={Upload04Icon} className="size-5" />
<span>Drop an audio file here, or choose one</span>
diff --git a/studio/frontend/src/features/audio/components/clip-card.tsx b/studio/frontend/src/features/audio/components/clip-card.tsx
index a7de0b52d40..a31e83fddf0 100644
--- a/studio/frontend/src/features/audio/components/clip-card.tsx
+++ b/studio/frontend/src/features/audio/components/clip-card.tsx
@@ -47,7 +47,7 @@ export function ClipSendToMenu({ handlers }: { handlers: ClipSendHandlers }) {
);
}
-const CARD_CLASS = "w-full max-w-xl gap-3 rounded-xl px-5 py-4";
+const CARD_CLASS = "w-full max-w-xl gap-3 rounded-2xl px-5 py-4";
/** never autoplays; a new clip focuses its play button once. */
export function ClipCard({
diff --git a/studio/frontend/src/features/audio/components/convert-ab-compare.tsx b/studio/frontend/src/features/audio/components/convert-ab-compare.tsx
index d20ea284ea4..5d0d8ddf176 100644
--- a/studio/frontend/src/features/audio/components/convert-ab-compare.tsx
+++ b/studio/frontend/src/features/audio/components/convert-ab-compare.tsx
@@ -106,7 +106,7 @@ export function ABCompare({
className="w-full rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
/>
) : (
- <output className="flex h-12 w-full items-center justify-center rounded-md border border-border text-ui-12 text-muted-foreground">
+ <output className="flex h-12 w-full items-center justify-center rounded-full border border-border text-ui-12 text-muted-foreground">
{current.unavailable ?? "Loading audio…"}
</output>
)}
diff --git a/studio/frontend/src/features/audio/components/instructions-fields.tsx b/studio/frontend/src/features/audio/components/instructions-fields.tsx
index 64ab76b3b3b..5f103b93112 100644
--- a/studio/frontend/src/features/audio/components/instructions-fields.tsx
+++ b/studio/frontend/src/features/audio/components/instructions-fields.tsx
@@ -60,7 +60,7 @@ export function InstructionsField({
? "A warm, low female voice, speaking slowly and calmly…"
: "Warm, measured delivery with a calm conversational tone…"
}
- className="min-h-24 rounded-lg"
+ className="min-h-24"
/>
</Field>
);
diff --git a/studio/frontend/src/features/audio/components/lyrics-editor.tsx b/studio/frontend/src/features/audio/components/lyrics-editor.tsx
index 1933fb65691..c3a711ac417 100644
--- a/studio/frontend/src/features/audio/components/lyrics-editor.tsx
+++ b/studio/frontend/src/features/audio/components/lyrics-editor.tsx
@@ -101,7 +101,7 @@ export function LyricsEditor({
onChange={(event) => onChange(event.target.value)}
placeholder={placeholder}
aria-describedby={describedBy}
- className="min-h-36 font-normal rounded-lg"
+ className="min-h-36 font-normal"
/>
</div>
);
diff --git a/studio/frontend/src/features/audio/components/music-edit-inputs.tsx b/studio/frontend/src/features/audio/components/music-edit-inputs.tsx
index 12d44fc55cc..e6fac55043b 100644
--- a/studio/frontend/src/features/audio/components/music-edit-inputs.tsx
+++ b/studio/frontend/src/features/audio/components/music-edit-inputs.tsx
@@ -250,7 +250,7 @@ export function MusicEditInputs({
? "Lo-fi jazz, warm piano, brushed drums…"
: "A soaring guitar solo over the same groove…"
}
- className="min-h-20 rounded-lg"
+ className="min-h-20"
/>
</div>
) : null}
diff --git a/studio/frontend/src/features/audio/components/stem-mixer.tsx b/studio/frontend/src/features/audio/components/stem-mixer.tsx
index 26b10e2848c..7371017f75f 100644
--- a/studio/frontend/src/features/audio/components/stem-mixer.tsx
+++ b/studio/frontend/src/features/audio/components/stem-mixer.tsx
@@ -122,7 +122,7 @@ export function StemMixer({
tabIndex={0}
aria-label="Stem mixer"
onKeyDown={handleKeyDown}
- className="@container corner-squircle grid gap-3 rounded-4xl bg-card p-4 ring-1 ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="@container corner-squircle grid gap-3 rounded-2xl bg-card p-4 ring-1 ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<output aria-live="polite" aria-atomic="true" className="sr-only">
{status}
diff --git a/studio/frontend/src/features/audio/components/transcript-diff-editor.tsx b/studio/frontend/src/features/audio/components/transcript-diff-editor.tsx
index dc36360c588..d05fa6e9ad1 100644
--- a/studio/frontend/src/features/audio/components/transcript-diff-editor.tsx
+++ b/studio/frontend/src/features/audio/components/transcript-diff-editor.tsx
@@ -74,13 +74,13 @@ export function TranscriptDiffEditor({
disabled={disabled}
aria-describedby={`${hintId} ${diffId}`}
onChange={(event) => onChange(event.target.value)}
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
{segments && changes ? (
<p
id={diffId}
aria-label="Changes from the transcript"
- className="rounded-xl bg-muted/50 px-3 py-2 text-ui-13 leading-relaxed text-foreground [overflow-wrap:anywhere]"
+ className="rounded-lg bg-muted/50 px-3 py-2 text-ui-13 leading-relaxed text-foreground [overflow-wrap:anywhere]"
>
{segments.map((segment, index) => {
return (
diff --git a/studio/frontend/src/features/audio/components/variation-history.tsx b/studio/frontend/src/features/audio/components/variation-history.tsx
index c03f464eaeb..515a33e5484 100644
--- a/studio/frontend/src/features/audio/components/variation-history.tsx
+++ b/studio/frontend/src/features/audio/components/variation-history.tsx
@@ -36,7 +36,7 @@ export function VariationGroupRow({
className="size-3.5 shrink-0 text-muted-foreground"
/>
<span className="min-w-0 flex-1 truncate">{first.prompt}</span>
- <span className="shrink-0 rounded-4xl bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground">
+ <span className="shrink-0 rounded-full bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground">
{variationLabel(clips.length)}
</span>
<span
diff --git a/studio/frontend/src/features/audio/components/waveform-range-select.tsx b/studio/frontend/src/features/audio/components/waveform-range-select.tsx
index dfaee50a722..972880c7856 100644
--- a/studio/frontend/src/features/audio/components/waveform-range-select.tsx
+++ b/studio/frontend/src/features/audio/components/waveform-range-select.tsx
@@ -296,7 +296,7 @@ export function WaveformRangeSelect({
<li
// biome-ignore lint/suspicious/noArrayIndexKey: ranges are kept sorted; the index is their name.
key={index}
- className="flex items-center rounded-4xl bg-muted"
+ className="flex items-center rounded-full bg-muted"
>
<button
type="button"
@@ -306,7 +306,7 @@ export function WaveformRangeSelect({
aria-keyshortcuts="Delete Backspace ArrowLeft ArrowRight"
title="Arrow keys move it, Shift+arrow by a second, Delete removes it"
className={cn(
- "rounded-l-4xl py-0.5 pl-2.5 pr-1 font-mono text-ui-11p5 tabular-nums text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "rounded-l-full py-0.5 pl-2.5 pr-1 font-mono text-ui-11p5 tabular-nums text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring",
focused === index && "underline underline-offset-2",
)}
onKeyDown={(event) => onRangeKey(event, index, "both")}
@@ -319,7 +319,7 @@ export function WaveformRangeSelect({
type="button"
disabled={disabled}
aria-label={`Remove range ${index + 1}`}
- className="flex items-center rounded-r-4xl py-1 pl-0.5 pr-2 text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex items-center rounded-r-full py-1 pl-0.5 pr-2 text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
onClick={() => remove(index)}
>
<HugeiconsIcon icon={Cancel01Icon} className="size-3" />
diff --git a/studio/frontend/src/features/audio/pages/clone-page.tsx b/studio/frontend/src/features/audio/pages/clone-page.tsx
index d6508dd0f55..c29fbf83b76 100644
--- a/studio/frontend/src/features/audio/pages/clone-page.tsx
+++ b/studio/frontend/src/features/audio/pages/clone-page.tsx
@@ -109,7 +109,7 @@ function CloneInputs({
aria-busy={transcriber.transcribing}
onChange={(event) => setReferenceText(event.target.value)}
placeholder="Type the words in the clip exactly, or press Transcribe."
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
{transcriber.error ? (
<p
@@ -152,7 +152,7 @@ function CloneInputs({
value={clone.text}
onChange={(event) => setText(event.target.value)}
placeholder="Type what the voice should say…"
- className="min-h-28 rounded-lg"
+ className="min-h-28"
/>
{clone.text.trim() ? null : (
<div
diff --git a/studio/frontend/src/features/audio/pages/convert-page.tsx b/studio/frontend/src/features/audio/pages/convert-page.tsx
index 1ae054586ef..505afb8d5a1 100644
--- a/studio/frontend/src/features/audio/pages/convert-page.tsx
+++ b/studio/frontend/src/features/audio/pages/convert-page.tsx
@@ -236,7 +236,7 @@ function SourceTextField({
aria-busy={transcriber.transcribing}
onChange={(event) => store.setSourceText(event.target.value)}
placeholder="Type the words in the recording, or press Transcribe."
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
{transcriber.error ? (
<p role="alert" className="text-ui-11p5 leading-snug text-destructive">
diff --git a/studio/frontend/src/features/audio/pages/edit-page.tsx b/studio/frontend/src/features/audio/pages/edit-page.tsx
index d70e701c47a..416fd8191a2 100644
--- a/studio/frontend/src/features/audio/pages/edit-page.tsx
+++ b/studio/frontend/src/features/audio/pages/edit-page.tsx
@@ -123,7 +123,7 @@ function EditInputs({
? "Listening to the recording…"
: "What the recording says. It fills in once you add one."
}
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
{transcriber.error ? (
<p
diff --git a/studio/frontend/src/features/audio/pages/music-page.tsx b/studio/frontend/src/features/audio/pages/music-page.tsx
index 8efb7cf3608..bf9a6f370cc 100644
--- a/studio/frontend/src/features/audio/pages/music-page.tsx
+++ b/studio/frontend/src/features/audio/pages/music-page.tsx
@@ -190,7 +190,7 @@ function SongInputs({
? "Genre, mood, instruments and tempo…"
: "Genre, mood, instruments, voice and tempo…"
}
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
</Field>
<ExamplesOrHint
@@ -316,7 +316,7 @@ function SfxInputs({
disabled={disabled}
onChange={(event) => patch("sfx", { prompt: event.target.value })}
placeholder="What you want to hear, and where…"
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
</Field>
<ExamplesOrHint
diff --git a/studio/frontend/src/features/audio/pages/separate-page.tsx b/studio/frontend/src/features/audio/pages/separate-page.tsx
index b46190265af..113d1aa8aee 100644
--- a/studio/frontend/src/features/audio/pages/separate-page.tsx
+++ b/studio/frontend/src/features/audio/pages/separate-page.tsx
@@ -450,7 +450,7 @@ export function SeparateOutput({
)}
>
{pendingRun ? (
- <output className="corner-squircle grid w-full gap-1 rounded-4xl bg-card p-4 ring-1 ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)]">
+ <output className="corner-squircle grid w-full gap-1 rounded-2xl bg-card p-4 ring-1 ring-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)]">
<span className="block truncate text-ui-13 font-medium text-foreground">
{pendingRun.title}
</span>
@@ -582,7 +582,7 @@ export function SeparateOutput({
>
{audioModelLabel(group.model)}
</span>
- <span className="shrink-0 rounded-4xl bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground group-hover:bg-background">
+ <span className="shrink-0 rounded-full bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground group-hover:bg-background">
{group.complete
? `${group.stems.length} stems`
: `${group.stems.length} of ${group.expectedStems} stems`}
diff --git a/studio/frontend/src/features/audio/pages/tts-workspace.tsx b/studio/frontend/src/features/audio/pages/tts-workspace.tsx
index 05aa7dee4d6..a253b76cfbb 100644
--- a/studio/frontend/src/features/audio/pages/tts-workspace.tsx
+++ b/studio/frontend/src/features/audio/pages/tts-workspace.tsx
@@ -216,7 +216,7 @@ export function TtsRailFields({
? "[verse]\nMorning light through the pines…\n\n[chorus]\n…"
: "Type the sentence to speak…"
}
- className="min-h-28 rounded-lg"
+ className="min-h-28"
/>
</Field>
)}
@@ -439,7 +439,7 @@ function ClipBadge({ text }: { text: string | null | undefined }) {
return (
<span
title={text}
- className="max-w-[40%] shrink-0 truncate rounded-4xl bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground"
+ className="max-w-[40%] shrink-0 truncate rounded-full bg-muted px-2 py-0.5 text-ui-11 text-muted-foreground"
>
{text}
</span>
diff --git a/studio/frontend/src/features/audio/tools/clone-panels.tsx b/studio/frontend/src/features/audio/tools/clone-panels.tsx
index d08c3e2e7fa..86a3adf38e5 100644
--- a/studio/frontend/src/features/audio/tools/clone-panels.tsx
+++ b/studio/frontend/src/features/audio/tools/clone-panels.tsx
@@ -118,7 +118,7 @@ const indexTts2EmotionPanel: AudioToolPanel<EmotionValue> = {
onChange={(event) =>
onChange({ ...value, text: event.target.value })
}
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
</Field>
) : value.mode === "audio" ? (
@@ -243,7 +243,7 @@ const cosyVoiceModePanel: AudioToolPanel<CosyVoiceModeValue> = {
onChange={(event) =>
onChange({ ...value, instruction: event.target.value })
}
- className="min-h-16 rounded-lg"
+ className="min-h-16"
/>
</Field>
) : null}
diff --git a/studio/frontend/src/features/audio/tools/music-panels.tsx b/studio/frontend/src/features/audio/tools/music-panels.tsx
index c84e4e58dcb..3a3b03c350d 100644
--- a/studio/frontend/src/features/audio/tools/music-panels.tsx
+++ b/studio/frontend/src/features/audio/tools/music-panels.tsx
@@ -135,7 +135,7 @@ export const aceStepMusicalPanel: AudioToolPanel<AceStepMusicalValue> = {
onChange={(event) =>
onChange({ ...value, avoid: event.target.value })
}
- className="min-h-12 rounded-lg"
+ className="min-h-12"
/>
</Field>
<Field label="Sampler" htmlFor="music-ace-sampler">
diff --git a/studio/frontend/src/features/audio/tools/speak-panels.tsx b/studio/frontend/src/features/audio/tools/speak-panels.tsx
index e8231756191..cf33e51826e 100644
--- a/studio/frontend/src/features/audio/tools/speak-panels.tsx
+++ b/studio/frontend/src/features/audio/tools/speak-panels.tsx
@@ -107,7 +107,7 @@ const vibeVoiceDialoguePanel: AudioToolPanel<null> = {
1: Hello.” Plain text is read by Speaker 1.
</p>
{text && script !== text ? (
- <pre className="max-h-24 overflow-auto whitespace-pre-wrap rounded-xl bg-muted px-3 py-2 font-mono text-ui-11p5 text-muted-foreground">
+ <pre className="max-h-24 overflow-auto whitespace-pre-wrap rounded-lg bg-muted px-3 py-2 font-mono text-ui-11p5 text-muted-foreground">
{script}
</pre>
) : null}
diff --git a/studio/frontend/src/features/audio/transcript-gallery.tsx b/studio/frontend/src/features/audio/transcript-gallery.tsx
index 89e4497c528..d4e768ab203 100644
--- a/studio/frontend/src/features/audio/transcript-gallery.tsx
+++ b/studio/frontend/src/features/audio/transcript-gallery.tsx
@@ -297,7 +297,7 @@ export function TranscriptGallery({
>
<span className="min-w-0 flex-1 truncate">{record.title}</span>
{recordBadge(record) ? (
- <span className="shrink-0 rounded-4xl bg-muted px-1.5 text-ui-11 text-muted-foreground">
+ <span className="shrink-0 rounded-full bg-muted px-1.5 text-ui-11 text-muted-foreground">
{recordBadge(record)}
</span>
) : null}
diff --git a/studio/frontend/src/features/auth/change-password-page.tsx b/studio/frontend/src/features/auth/change-password-page.tsx
index 5129aae238c..a88b943a4d2 100644
--- a/studio/frontend/src/features/auth/change-password-page.tsx
+++ b/studio/frontend/src/features/auth/change-password-page.tsx
@@ -16,7 +16,7 @@ export function ChangePasswordPage() {
length="70vh"
className="opacity-35 dark:opacity-15"
/>
- <Card className="relative z-10 w-full max-w-sm rounded-[3rem] px-5 py-6 shadow-[0_8px_32px_rgba(0,0,0,0.06)] ring-0 dark:shadow-none sm:px-6 sm:py-8">
+ <Card className="relative z-10 w-full max-w-sm rounded-3xl px-5 py-6 shadow-[0_8px_32px_rgba(0,0,0,0.06)] ring-0 dark:shadow-none sm:px-6 sm:py-8">
<AuthForm mode="change-password" />
</Card>
</div>
diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsx
index 5282584bda5..70c18014d22 100644
--- a/studio/frontend/src/features/auth/components/auth-form.tsx
+++ b/studio/frontend/src/features/auth/components/auth-form.tsx
@@ -365,7 +365,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
</div>
{/* Not a live region: it re-renders every second, so it would be read aloud on every tick. */}
{deadlineAt !== null && (
- <p className="rounded-md border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-center text-sm text-amber-600">
+ <p className="rounded-lg border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-center text-sm text-amber-600">
{hasExpired(deadlineAt - nowMs) ? (
<>
This instance is shutting down: it was reachable on the network
diff --git a/studio/frontend/src/features/auth/login-page.tsx b/studio/frontend/src/features/auth/login-page.tsx
index 2b2b1450cc5..2f5875091c9 100644
--- a/studio/frontend/src/features/auth/login-page.tsx
+++ b/studio/frontend/src/features/auth/login-page.tsx
@@ -16,7 +16,7 @@ export function LoginPage() {
length="70vh"
className="opacity-35 dark:opacity-15"
/>
- <Card className="relative z-10 w-full max-w-sm rounded-[3rem] px-7 py-8 shadow-[0_8px_32px_rgba(0,0,0,0.06)] ring-0 dark:shadow-none sm:px-8 sm:py-10">
+ <Card className="relative z-10 w-full max-w-sm rounded-3xl px-7 py-8 shadow-[0_8px_32px_rgba(0,0,0,0.06)] ring-0 dark:shadow-none sm:px-8 sm:py-10">
<AuthForm mode="login" />
</Card>
</div>
diff --git a/studio/frontend/src/features/browser/agent/agent-bar.tsx b/studio/frontend/src/features/browser/agent/agent-bar.tsx
index c01ce788cd9..941dc24313c 100644
--- a/studio/frontend/src/features/browser/agent/agent-bar.tsx
+++ b/studio/frontend/src/features/browser/agent/agent-bar.tsx
@@ -78,7 +78,7 @@ function ScriptPreview({ code, onRead }: { code: string; onRead: () => void }) {
<pre
ref={check}
onScroll={(event) => check(event.currentTarget)}
- className="mt-1 max-h-40 overflow-auto whitespace-pre-wrap break-all rounded-md bg-muted px-2 py-1 font-mono text-ui-11 text-foreground"
+ className="mt-1 max-h-40 overflow-auto whitespace-pre-wrap break-all rounded-lg bg-muted px-2 py-1 font-mono text-ui-11 text-foreground"
>
{code}
</pre>
diff --git a/studio/frontend/src/features/browser/annotate-layer.tsx b/studio/frontend/src/features/browser/annotate-layer.tsx
index a51675de405..9ce0d14f0a7 100644
--- a/studio/frontend/src/features/browser/annotate-layer.tsx
+++ b/studio/frontend/src/features/browser/annotate-layer.tsx
@@ -963,7 +963,7 @@ function AnnotateBar({
data-annotate-chrome=""
data-native-inset={besidePage ? "" : undefined}
className={cn(
- "pointer-events-auto absolute bottom-5 left-1/2 flex h-12 items-center gap-1 rounded-2xl pr-1.5 pl-2.5 text-ui-15",
+ "pointer-events-auto absolute bottom-5 left-1/2 flex h-12 items-center gap-1 rounded-full pr-1.5 pl-2.5 text-ui-15",
SURFACE,
)}
style={{
@@ -988,7 +988,7 @@ function AnnotateBar({
<button
type="button"
onClick={onExit}
- className="h-9 cursor-pointer whitespace-nowrap rounded-xl px-3 transition-colors hover:bg-muted dark:hover:bg-neutral-700"
+ className="h-9 cursor-pointer whitespace-nowrap rounded-full px-3 transition-colors hover:bg-muted dark:hover:bg-neutral-700"
>
{t("browser.annotate.cancel")}
</button>
@@ -997,7 +997,7 @@ function AnnotateBar({
type="button"
onClick={onSend}
disabled={sendDisabled}
- className="h-9 cursor-pointer whitespace-nowrap rounded-xl bg-primary px-4 font-medium text-primary-foreground transition-opacity hover:opacity-90 disabled:cursor-default disabled:opacity-50"
+ className="h-9 cursor-pointer whitespace-nowrap rounded-full bg-primary px-4 font-medium text-primary-foreground transition-opacity hover:opacity-90 disabled:cursor-default disabled:opacity-50"
>
{t("browser.annotate.send")}
</button>
diff --git a/studio/frontend/src/features/browser/bookmarks.tsx b/studio/frontend/src/features/browser/bookmarks.tsx
index 8896476f102..0d4fd43d9f6 100644
--- a/studio/frontend/src/features/browser/bookmarks.tsx
+++ b/studio/frontend/src/features/browser/bookmarks.tsx
@@ -260,7 +260,7 @@ export function BookmarkEditPopover({
<PopoverContent
align={align}
sideOffset={8}
- className="browser-menu w-80 rounded-[16px] p-4"
+ className="browser-menu w-80 rounded-xl p-4"
onOpenAutoFocus={(event) => {
const input = (event.currentTarget as HTMLElement | null)?.querySelector<HTMLInputElement>(
"[data-bookmark-name]",
@@ -337,7 +337,7 @@ export function BookmarkStar({
aria-expanded={editing !== null}
onClick={() => (editing ? setEditing(null) : press())}
className={cn(
- "flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)]",
+ "flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)]",
bookmark && "text-primary hover:text-primary [&_path]:fill-current",
)}
>
@@ -412,7 +412,7 @@ function BookmarkItem({
if (event.button === 1) openBookmark(bookmark.url, tabId, true);
}}
className={cn(
- "flex h-7 min-w-0 max-w-44 shrink-0 cursor-pointer items-center gap-1.5 rounded-md px-2 text-ui-12p5 text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "flex h-7 min-w-0 max-w-44 shrink-0 cursor-pointer items-center gap-1.5 rounded-full px-2 text-ui-12p5 text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
HOVER_WASH,
hidden && "invisible",
)}
@@ -454,7 +454,7 @@ function BookmarkMenu({
type="button"
aria-label={label}
className={cn(
- "flex h-7 shrink-0 cursor-pointer items-center gap-1.5 rounded-md px-1.5 text-ui-12p5 text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "flex h-7 shrink-0 cursor-pointer items-center gap-1.5 rounded-full px-1.5 text-ui-12p5 text-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
HOVER_WASH,
)}
>
@@ -467,7 +467,7 @@ function BookmarkMenu({
{label}
</TooltipContent>
</Tooltip>
- <DropdownMenuContent align="end" sideOffset={6} className="browser-menu max-h-[min(--spacing(96),var(--radix-dropdown-menu-content-available-height))] overflow-y-auto w-64 rounded-[16px] p-1.5">
+ <DropdownMenuContent align="end" sideOffset={6} className="browser-menu max-h-[min(--spacing(96),var(--radix-dropdown-menu-content-available-height))] overflow-y-auto w-64 rounded-lg p-1">
{bookmarks.map((bookmark) => (
<DropdownMenuItem
key={bookmark.id}
diff --git a/studio/frontend/src/features/browser/browser-panel.tsx b/studio/frontend/src/features/browser/browser-panel.tsx
index 51101d500d7..2a7f2b8485f 100644
--- a/studio/frontend/src/features/browser/browser-panel.tsx
+++ b/studio/frontend/src/features/browser/browser-panel.tsx
@@ -238,7 +238,7 @@ const TOOLBAR_BUTTON =
const TOOLBAR_ICON_BUTTON =
"flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default disabled:opacity-35 disabled:hover:bg-transparent disabled:hover:text-muted-foreground";
const NAV_BUTTON =
- "size-8 rounded-md text-foreground disabled:hover:text-foreground disabled:opacity-30";
+ "size-8 rounded-full text-foreground disabled:hover:text-foreground disabled:opacity-30";
const NAV_ICON = "size-4.5";
const ANNOTATE_BUTTON = "size-8 shrink-0 rounded-full p-0 text-foreground";
// Half a pixel right and down: the frame's whole top-left corner and the pointer aimed back at it
@@ -295,7 +295,7 @@ function IconButton({
{shortcut ? (
<span className="flex items-center gap-1.5">
{label}
- <kbd className="rounded bg-[rgb(0_0_0_/_calc(0.1*var(--contrast-wash-gain,1)))] px-1 py-px text-ui-10 font-medium leading-none dark:bg-[rgb(255_255_255_/_calc(0.15*var(--contrast-wash-gain,1)))]">
+ <kbd className="rounded-full bg-[rgb(0_0_0_/_calc(0.1*var(--contrast-wash-gain,1)))] px-1 py-px text-ui-10 font-medium leading-none dark:bg-[rgb(255_255_255_/_calc(0.15*var(--contrast-wash-gain,1)))]">
{shortcut}
</kbd>
</span>
@@ -464,7 +464,7 @@ function TabRenameInput({ tab, title }: { tab: BrowserTab; title: string }) {
onPointerDown={(event) => event.stopPropagation()}
onClick={(event) => event.stopPropagation()}
onDoubleClick={(event) => event.stopPropagation()}
- className="min-w-0 flex-1 rounded-[5px] bg-background px-1 text-ui-13 text-foreground outline-none ring-1 ring-ring"
+ className="min-w-0 flex-1 rounded-full bg-background px-1 text-ui-13 text-foreground outline-none ring-1 ring-ring"
/>
);
}
@@ -687,7 +687,7 @@ function TabStrip({
activateTab(tab.id);
}}
className={cn(
- "group/tab relative flex h-[calc(34px*var(--ui-space-scale,1))] min-w-[calc(88px*var(--ui-space-scale,1))] max-w-60 flex-1 basis-0 cursor-pointer touch-none select-none items-center gap-1.5 rounded-[10px] pl-2 pr-1.5 text-ui-13 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
+ "group/tab relative flex h-[calc(34px*var(--ui-space-scale,1))] min-w-[calc(88px*var(--ui-space-scale,1))] max-w-60 flex-1 basis-0 cursor-pointer touch-none select-none items-center gap-1.5 rounded-full pl-2 pr-1.5 text-ui-13 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring",
active
? "bg-card text-foreground dark:bg-accent"
: "text-muted-foreground hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground",
@@ -715,7 +715,7 @@ function TabStrip({
event.stopPropagation();
setTabMuted(tab, false);
}}
- className="flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground"
+ className="flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground hover:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground"
>
<HugeiconsIcon icon={VolumeMute02Icon} strokeWidth={1.75} className="size-3.5" />
</button>
@@ -728,7 +728,7 @@ function TabStrip({
closeTab(tab.id);
}}
className={cn(
- "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground",
+ "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground hover:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground",
!active &&
"hidden group-hover/tab:flex group-focus-visible/tab:flex focus-visible:flex",
)}
@@ -815,7 +815,7 @@ function AddressBar({
inputRef.current?.blur();
}}
>
- <div className={cn("flex h-9 items-center gap-0.5 rounded-lg pl-1 pr-1 transition-colors", URLBAR)}>
+ <div className={cn("flex h-9 items-center gap-0.5 rounded-full pl-1 pr-1 transition-colors", URLBAR)}>
{/* Icons step aside while typing and come back after. */}
{editing ? null : (leading ?? <SiteIdentity address={address} tab={tab} />)}
<div className="relative min-w-0 flex-1">
@@ -900,9 +900,9 @@ function SiteIdentity({ address, tab }: { address: string; tab: BrowserTab | und
const verified = secure && pageVerified(tab);
const label = t("browser.siteInfo.label");
const row =
- "flex w-full cursor-pointer items-center gap-2.5 rounded-[11px] px-3 py-2 text-start text-sm transition-colors hover:bg-accent focus-visible:bg-accent focus-visible:outline-none";
+ "flex w-full cursor-pointer items-center gap-2.5 rounded-md px-3 py-2 text-start text-sm transition-colors hover:bg-accent focus-visible:bg-accent focus-visible:outline-none";
const iconButton =
- "flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
+ "flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
const padlock = secure ? PadlockIcon : PadlockOpenIcon;
return (
<>
@@ -919,7 +919,7 @@ function SiteIdentity({ address, tab }: { address: string; tab: BrowserTab | und
<button
type="button"
aria-label={label}
- className="flex h-7 w-[calc(26px*var(--ui-space-scale,1))] shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] aria-expanded:text-foreground"
+ className="flex h-7 w-[calc(26px*var(--ui-space-scale,1))] shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-wash-gain,1)),transparent)] aria-expanded:text-foreground"
>
{secure ? (
<ShieldCheck strokeWidth={2} className="size-4" />
@@ -933,7 +933,7 @@ function SiteIdentity({ address, tab }: { address: string; tab: BrowserTab | und
{label}
</TooltipContent>
</Tooltip>
- <PopoverContent align="start" sideOffset={8} className="browser-menu w-80 gap-0 rounded-[14px] p-1.5">
+ <PopoverContent align="start" sideOffset={8} className="browser-menu w-80 gap-0 rounded-lg p-1">
{view === "site" ? (
<>
<div className="flex min-w-0 items-center gap-2.5 px-3 py-2">
@@ -1133,7 +1133,7 @@ function ZoomControl({ tab }: { tab: BrowserTab | undefined }) {
return (
<div className="flex items-center gap-2 py-1 pl-3 pr-1 text-sm">
<span className="flex-1">{t("browser.menu.zoom")}</span>
- <div className="flex h-8 items-center rounded-[10px] border border-border">
+ <div className="flex h-8 items-center rounded-full border border-border">
<button
type="button"
aria-label={t("browser.menu.zoomOut")}
@@ -1169,7 +1169,7 @@ function ZoomControl({ tab }: { tab: BrowserTab | undefined }) {
aria-label={t("browser.menu.zoomReset")}
disabled={!zoomable || zoom === resetZoom}
onClick={() => setZoom(resetZoom)}
- className={cn(step, "rounded-md")}
+ className={cn(step, "rounded-full")}
>
<RefreshGlyph strokeWidth={1.75} className="size-3.5" />
</button>
@@ -1248,7 +1248,7 @@ function PanelMenu({ tab, children }: { tab: BrowserTab | undefined; children?:
ref={triggerRef}
type="button"
aria-label={t("browser.more")}
- className="flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)]"
+ className="flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)]"
>
<HugeiconsIcon icon={MoreHorizontalIcon} strokeWidth={1.75} className="size-5" />
</button>
@@ -1261,7 +1261,7 @@ function PanelMenu({ tab, children }: { tab: BrowserTab | undefined; children?:
<DropdownMenuContent
align="end"
sideOffset={6}
- className="browser-menu min-w-72 rounded-[20px] p-1.5 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5"
+ className="browser-menu min-w-72 rounded-lg p-1 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5"
onCloseAutoFocus={(event) => {
if (!keepFocus.current) return;
keepFocus.current = false;
@@ -1353,7 +1353,7 @@ function PanelMenu({ tab, children }: { tab: BrowserTab | undefined; children?:
<DropdownMenuSeparator />
<DropdownMenuSub>
<DropdownMenuSubTrigger>{t("browser.pages.bookmarks")}</DropdownMenuSubTrigger>
- <DropdownMenuSubContent className="browser-menu min-w-60 rounded-[20px] p-1.5 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5">
+ <DropdownMenuSubContent className="browser-menu min-w-60 rounded-lg p-1 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5">
<DropdownMenuItem
disabled={!webUrl}
onSelect={() => {
@@ -1625,7 +1625,7 @@ function BrowserFileToolbar({
aria-label={t(`browser.file.${mode}`)}
onClick={() => setView({ mode })}
className={cn(
- "flex size-7 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "flex size-7 cursor-pointer items-center justify-center rounded-full text-muted-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
view.mode === mode
? "bg-background text-foreground shadow-sm dark:bg-card"
: "hover:text-foreground",
@@ -1678,7 +1678,7 @@ function BrowserFileToolbar({
aria-pressed={htmlPreview && view.consoleOpen}
onClick={toggleConsole}
className={cn(
- "flex h-8 min-w-8 shrink-0 cursor-pointer items-center justify-center gap-1 rounded-md px-1.5 text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "flex h-8 min-w-8 shrink-0 cursor-pointer items-center justify-center gap-1 rounded-full px-1.5 text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
htmlPreview &&
view.consoleOpen &&
"bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)]",
@@ -1723,7 +1723,7 @@ function BrowserFileToolbar({
<HugeiconsIcon icon={ArrowUpRight01Icon} strokeWidth={1.75} className="size-4" />
{t("browser.file.openIn")}
</DropdownMenuSubTrigger>
- <DropdownMenuSubContent className="browser-menu min-w-52 rounded-[20px] p-1.5">
+ <DropdownMenuSubContent className="browser-menu min-w-52 rounded-lg p-1">
<DropdownMenuItem onSelect={openInNewChat}>
<HugeiconsIcon icon={BubbleChatAddIcon} strokeWidth={1.75} className="size-4.5" />
{t("browser.file.newChat")}
@@ -1859,7 +1859,7 @@ function FloatingFileToolbar({
<DropdownMenuContent
align="start"
sideOffset={6}
- className="browser-menu w-80 max-w-[calc(100vw-2rem)] rounded-[20px] p-1.5 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5"
+ className="browser-menu w-80 max-w-[calc(100vw-2rem)] rounded-lg p-1 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5"
>
<div className="flex items-start gap-3 px-3 py-2 text-sm">
<KindIcon
@@ -1880,7 +1880,7 @@ function FloatingFileToolbar({
/>
{t("browser.file.openIn")}
</DropdownMenuSubTrigger>
- <DropdownMenuSubContent className="browser-menu min-w-52 rounded-[20px] p-1.5">
+ <DropdownMenuSubContent className="browser-menu min-w-52 rounded-lg p-1">
<DropdownMenuItem onSelect={openInNewChat}>
<HugeiconsIcon
icon={BubbleChatAddIcon}
@@ -2194,7 +2194,7 @@ function CopySplit({
<SplitChevron />
</button>
</DropdownMenuTrigger>
- <DropdownMenuContent align="end" sideOffset={6} className="browser-menu min-w-52 rounded-[20px] p-1.5">
+ <DropdownMenuContent align="end" sideOffset={6} className="browser-menu min-w-52 rounded-lg p-1">
{options.map((option) => (
<DropdownMenuItem key={option.label} onSelect={option.run}>
<HugeiconsIcon icon={option.icon} strokeWidth={1.75} className="size-4" />
@@ -2289,7 +2289,7 @@ function OpenSplit({ entry, blob }: { entry: FileEntry; blob: Blob | undefined }
<SplitChevron />
</button>
</DropdownMenuTrigger>
- <DropdownMenuContent align="end" sideOffset={6} className="browser-menu min-w-56 rounded-[20px] p-1.5">
+ <DropdownMenuContent align="end" sideOffset={6} className="browser-menu min-w-56 rounded-lg p-1">
{isTauri && !runsCode ? (
<>
{apps === null ? (
diff --git a/studio/frontend/src/features/browser/downloads-button.tsx b/studio/frontend/src/features/browser/downloads-button.tsx
index f5a9f71783c..e1fe31bbf70 100644
--- a/studio/frontend/src/features/browser/downloads-button.tsx
+++ b/studio/frontend/src/features/browser/downloads-button.tsx
@@ -70,7 +70,7 @@ function useMissing(downloads: DownloadItem[], enabled: boolean) {
function KindTile({ name, contentType, muted }: { name: string; contentType: string; muted?: boolean }) {
const kind = attachmentFileKind(name, contentType);
return (
- <span className="flex size-10 shrink-0 items-center justify-center rounded-xl bg-[color-mix(in_oklab,var(--foreground)_6%,transparent)]">
+ <span className="flex size-10 shrink-0 items-center justify-center rounded-md bg-[color-mix(in_oklab,var(--foreground)_6%,transparent)]">
<HugeiconsIcon
icon={ATTACHMENT_KIND_ICONS[kind]}
strokeWidth={1.75}
@@ -109,7 +109,7 @@ function DownloadRow({
onDone();
};
return (
- <li className="group/row flex items-center gap-3 rounded-2xl px-2 py-1.5 hover:bg-[color-mix(in_oklab,var(--foreground)_4%,transparent)]">
+ <li className="group/row flex items-center gap-3 rounded-md px-2 py-1.5 hover:bg-[color-mix(in_oklab,var(--foreground)_4%,transparent)]">
<button
type="button"
onClick={run(open)}
@@ -143,7 +143,7 @@ function DownloadRow({
<HugeiconsIcon icon={MoreHorizontalIcon} strokeWidth={1.75} className="size-4.5" />
</button>
</DropdownMenuTrigger>
- <DropdownMenuContent align="end" className="browser-menu min-w-48 rounded-[20px] p-1.5">
+ <DropdownMenuContent align="end" className="browser-menu min-w-48 rounded-lg p-1">
<DropdownMenuItem disabled={!open} onSelect={run(open)}>
<HugeiconsIcon icon={ArrowUpRight01Icon} strokeWidth={1.75} className="size-4" />
{t("browser.downloads.open")}
@@ -404,7 +404,7 @@ export function DownloadsButton({
onMouseEnter={() => setHovered(true)}
onMouseLeave={() => setHovered(false)}
className={cn(
- "browser-menu gap-2 rounded-[22px] p-2",
+ "browser-menu gap-2 rounded-xl p-2",
mode === "finished" ? "w-80 p-3" : "w-96 max-h-[min(32rem,var(--radix-popover-content-available-height))]",
)}
>
diff --git a/studio/frontend/src/features/browser/full-view-chat.tsx b/studio/frontend/src/features/browser/full-view-chat.tsx
index dd55ca84c5e..f901701d28a 100644
--- a/studio/frontend/src/features/browser/full-view-chat.tsx
+++ b/studio/frontend/src/features/browser/full-view-chat.tsx
@@ -129,7 +129,7 @@ export function FullViewChatBar({ title }: { title: string | undefined }) {
side="top"
align="end"
sideOffset={8}
- className="browser-menu min-w-60 rounded-[20px] p-1.5"
+ className="browser-menu min-w-60 rounded-lg p-1"
>
<DropdownMenuItem onSelect={closePanel}>
<HugeiconsIcon
diff --git a/studio/frontend/src/features/browser/internal-pages.tsx b/studio/frontend/src/features/browser/internal-pages.tsx
index 5ea8479e599..e7b1300c595 100644
--- a/studio/frontend/src/features/browser/internal-pages.tsx
+++ b/studio/frontend/src/features/browser/internal-pages.tsx
@@ -147,12 +147,12 @@ function Row({
</>
}
>
- <li className="group/row relative flex items-center gap-1 rounded-xl pr-1 hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] data-[state=open]:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)]">
+ <li className="group/row relative flex items-center gap-1 rounded-md pr-1 hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] data-[state=open]:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)]">
<button
type="button"
onClick={onOpen}
disabled={!onOpen}
- className="flex min-w-0 flex-1 cursor-pointer items-center gap-3 rounded-xl px-3 py-2 text-start focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default"
+ className="flex min-w-0 flex-1 cursor-pointer items-center gap-3 rounded-md px-3 py-2 text-start focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default"
>
{icon}
<span className="min-w-0 flex-1">
@@ -297,7 +297,7 @@ function HistoryRow({
type="button"
aria-label={t("browser.pages.pageActions", { title })}
className={cn(
- "flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
HOVER_WASH,
OPEN_WASH,
"data-[state=open]:text-foreground",
@@ -327,7 +327,7 @@ function DayCard({ label, children }: { label: string; children: ReactNode }) {
const t = useT();
const [open, setOpen] = useState(true);
return (
- <section className={cn("overflow-hidden rounded-xl border border-border", CARD_WASH)}>
+ <section className={cn("overflow-hidden rounded-2xl border border-border", CARD_WASH)}>
<button
type="button"
onClick={() => setOpen((value) => !value)}
@@ -352,7 +352,7 @@ function PageCrumbs({ current }: { current: string }) {
const t = useT();
const openSettings = (tab?: "browser") => useSettingsDialogStore.getState().openDialog(tab);
const crumb =
- "cursor-pointer rounded-md text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
+ "cursor-pointer rounded-full text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
return (
<nav className="flex items-center gap-2 px-6 pt-4 text-ui-14" aria-label={current}>
<button type="button" className={crumb} onClick={() => openSettings()}>
@@ -473,7 +473,7 @@ function SearchWithFilter({
</DropdownMenu>
</label>
</PopoverAnchor>
- <PopoverContent align="end" sideOffset={6} className="browser-menu w-auto rounded-2xl p-0">
+ <PopoverContent align="end" sideOffset={6} className="browser-menu w-auto rounded-xl p-0">
<Calendar
mode="range"
selected={dates}
@@ -664,7 +664,7 @@ function useMissingDownloads(downloads: DownloadItem[]) {
}
const ROW_ACTION = cn(
- "flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-lg text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
HOVER_WASH,
);
@@ -730,7 +730,7 @@ function DownloadRow({
>
<span
className={cn(
- "flex size-10 shrink-0 items-center justify-center rounded-lg",
+ "flex size-10 shrink-0 items-center justify-center rounded-md",
"bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)]",
)}
>
diff --git a/studio/frontend/src/features/browser/new-tab-page.tsx b/studio/frontend/src/features/browser/new-tab-page.tsx
index e0880888a5e..3945bc71656 100644
--- a/studio/frontend/src/features/browser/new-tab-page.tsx
+++ b/studio/frontend/src/features/browser/new-tab-page.tsx
@@ -113,7 +113,7 @@ function SiteIcon({ site }: { site: Site }) {
<SiteFavicon
url={site.url}
icon={site.icon}
- className="size-9 rounded-lg"
+ className="size-9 rounded-md"
fallbackClassName="size-9 text-foreground"
/>
);
@@ -185,7 +185,7 @@ function ToolButton({
<button
type="button"
onClick={onClick}
- className="flex h-11 min-w-0 cursor-pointer items-center gap-3 rounded-xl bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] px-3.5 text-start text-ui-15 text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(7%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex h-11 min-w-0 cursor-pointer items-center gap-3 rounded-full bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] px-3.5 text-start text-ui-15 text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(7%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<HugeiconsIcon
icon={icon}
@@ -341,10 +341,10 @@ export function NewTabPage({ tabId }: { tabId: string }) {
title={item.url}
onClick={() => navigate(tabId, { url: item.url })}
className={cn(
- "flex min-w-0 cursor-pointer items-center gap-4 rounded-2xl px-3 py-3 text-start transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring data-[state=open]:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)]",
+ "flex min-w-0 cursor-pointer items-center gap-4 rounded-md px-3 py-3 text-start transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring data-[state=open]:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)]",
)}
>
- <span className="flex size-10 shrink-0 items-center justify-center rounded-xl bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)]">
+ <span className="flex size-10 shrink-0 items-center justify-center rounded-md bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)]">
<SiteFavicon
url={item.url}
className="size-5 rounded-[4px]"
diff --git a/studio/frontend/src/features/browser/tab-view.tsx b/studio/frontend/src/features/browser/tab-view.tsx
index 0b0cc426a1c..d9dde7363ec 100644
--- a/studio/frontend/src/features/browser/tab-view.tsx
+++ b/studio/frontend/src/features/browser/tab-view.tsx
@@ -42,6 +42,7 @@ import {
setPageDownload,
useBrowserStore,
} from "./store";
+import { LineBox } from "@/components/ui/line-box";
type LoadState =
| { status: "loading" }
@@ -280,7 +281,7 @@ function PageError({
})}
</p>
{message ? (
- <p className="break-all rounded-lg bg-muted/60 px-3 py-2 font-mono text-xs text-muted-foreground">{message}</p>
+ <LineBox as="p" className="break-all bg-muted/60 px-3 py-2 font-mono text-xs text-muted-foreground">{message}</LineBox>
) : null}
<div className="mt-1 flex gap-2">
<Button type="button" variant={botCheck ? "ghost" : "outline"} size="sm" onClick={onRetry}>
diff --git a/studio/frontend/src/features/browser/video-file.tsx b/studio/frontend/src/features/browser/video-file.tsx
index 4abe1f76deb..e737fcaa9f5 100644
--- a/studio/frontend/src/features/browser/video-file.tsx
+++ b/studio/frontend/src/features/browser/video-file.tsx
@@ -191,7 +191,7 @@ export function VideoFile({
}}
onRateChange={(event) => setRate(event.currentTarget.playbackRate)}
onError={onError}
- className="block max-h-[calc(100cqh-clamp(3rem,12cqh,7rem))] max-w-full cursor-pointer rounded-md bg-black shadow-[0_18px_50px_-12px_rgb(0_0_0/0.35)]"
+ className="block max-h-[calc(100cqh-clamp(3rem,12cqh,7rem))] max-w-full cursor-pointer rounded-lg bg-black shadow-[0_18px_50px_-12px_rgb(0_0_0/0.35)]"
/>
</div>
</div>
@@ -266,7 +266,7 @@ export function VideoFile({
side="top"
align="end"
sideOffset={8}
- className="browser-menu min-w-52 rounded-[20px] p-1.5"
+ className="browser-menu min-w-52 rounded-lg p-1"
>
<DropdownMenuLabel className="text-ui-12 text-muted-foreground">
{t("browser.video.speed")}
diff --git a/studio/frontend/src/features/chat/artifacts/artifact-card.tsx b/studio/frontend/src/features/chat/artifacts/artifact-card.tsx
index 31b3cdaf4c5..6ba66347243 100644
--- a/studio/frontend/src/features/chat/artifacts/artifact-card.tsx
+++ b/studio/frontend/src/features/chat/artifacts/artifact-card.tsx
@@ -293,7 +293,7 @@ export function ArtifactCard({
</span>
<div
className={cn(
- "relative z-10 flex h-9 shrink-0 items-stretch gap-px overflow-hidden rounded-full border border-border/80 bg-background/60 text-sm text-foreground dark:border-transparent dark:bg-transparent",
+ "relative z-10 flex h-9 shrink-0 items-stretch gap-px overflow-hidden rounded-full text-sm text-foreground",
isStreaming && "opacity-50",
)}
>
@@ -302,7 +302,7 @@ export function ArtifactCard({
disabled={isStreaming}
onClick={() => open("preview")}
aria-pressed={showing}
- className="cursor-pointer pl-3.5 pr-2.5 transition-colors hover:bg-muted/60 focus-visible:bg-muted/60 focus-visible:outline-none disabled:cursor-default disabled:hover:bg-transparent dark:bg-[color-mix(in_oklab,var(--foreground)_calc(12%*var(--contrast-wash-gain,1)),transparent)] dark:hover:bg-[color-mix(in_oklab,var(--foreground)_calc(17%*var(--contrast-wash-gain,1)),transparent)] dark:focus-visible:bg-[color-mix(in_oklab,var(--foreground)_calc(17%*var(--contrast-wash-gain,1)),transparent)]"
+ className="btn-fill cursor-pointer pl-3.5 pr-2.5 transition-colors focus-visible:bg-[rgb(0_0_0_/_calc(0.09*var(--contrast-wash-gain,1)))] focus-visible:outline-none disabled:cursor-default disabled:hover:bg-[rgb(0_0_0_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:focus-visible:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))] dark:disabled:hover:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]"
>
Open in
</button>
@@ -312,7 +312,7 @@ export function ArtifactCard({
type="button"
disabled={isStreaming}
aria-label="More ways to open"
- className="flex cursor-pointer items-center border-l border-border/80 pl-1.5 pr-2.5 text-muted-foreground transition-colors hover:bg-muted/60 hover:text-foreground focus-visible:bg-muted/60 focus-visible:outline-none aria-expanded:bg-muted/60 disabled:cursor-default dark:border-l-0 dark:bg-[color-mix(in_oklab,var(--foreground)_calc(12%*var(--contrast-wash-gain,1)),transparent)] dark:hover:bg-[color-mix(in_oklab,var(--foreground)_calc(17%*var(--contrast-wash-gain,1)),transparent)] dark:focus-visible:bg-[color-mix(in_oklab,var(--foreground)_calc(17%*var(--contrast-wash-gain,1)),transparent)] dark:aria-expanded:bg-[color-mix(in_oklab,var(--foreground)_calc(17%*var(--contrast-wash-gain,1)),transparent)]"
+ className="btn-fill flex cursor-pointer items-center pl-1.5 pr-2.5 text-muted-foreground transition-colors hover:text-foreground focus-visible:bg-[rgb(0_0_0_/_calc(0.09*var(--contrast-wash-gain,1)))] focus-visible:outline-none aria-expanded:bg-[rgb(0_0_0_/_calc(0.09*var(--contrast-wash-gain,1)))] disabled:cursor-default dark:focus-visible:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))] dark:aria-expanded:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]"
>
<HugeiconsIcon
icon={ChevronDownStandardIcon}
@@ -324,7 +324,7 @@ export function ArtifactCard({
<DropdownMenuContent
align="end"
sideOffset={8}
- className="min-w-56 rounded-[20px] p-1.5 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5"
+ className="min-w-56 rounded-lg p-1 [&_[data-slot=dropdown-menu-separator]]:mx-3 [&_[data-slot=dropdown-menu-separator]]:my-1.5"
>
<DropdownMenuItem onSelect={() => open("preview")}>
<MenuGlyph icon={InternetIcon} />
diff --git a/studio/frontend/src/features/chat/artifacts/html-frame.tsx b/studio/frontend/src/features/chat/artifacts/html-frame.tsx
index 7ce004c8fda..be2ee16428b 100644
--- a/studio/frontend/src/features/chat/artifacts/html-frame.tsx
+++ b/studio/frontend/src/features/chat/artifacts/html-frame.tsx
@@ -57,7 +57,7 @@ const BLOCKED_HOSTS_SHOWN = 3;
// The wrapper spans the canvas, so only the notice itself takes clicks.
const NOTICE_WRAP = "pointer-events-none absolute inset-x-0 top-0 flex justify-center p-2";
const NOTICE =
- "pointer-events-auto max-w-[calc(460px*var(--ui-space-scale,1))] gap-y-0.5 rounded-[calc(var(--radius)+6px)] border-transparent bg-popover py-3 ps-4.5 text-ui-13 leading-normal text-popover-foreground shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] has-data-[slot=alert-action]:pe-12 dark:bg-card dark:shadow-[0_2px_8px_-2px_var(--background)]";
+ "pointer-events-auto max-w-[calc(460px*var(--ui-space-scale,1))] gap-y-0.5 rounded-lg border-transparent bg-popover py-3 ps-4.5 text-ui-13 leading-normal text-popover-foreground shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] has-data-[slot=alert-action]:pe-12 dark:bg-card dark:shadow-[0_2px_8px_-2px_var(--background)]";
const NOTICE_BODY =
"text-ui-13 leading-[1.4] text-muted-foreground [&_p:not(:last-child)]:mb-2.5";
const NOTICE_BUTTON = "h-6 rounded-full px-2 text-ui-12 font-medium";
diff --git a/studio/frontend/src/features/chat/blender-mcp-setup.tsx b/studio/frontend/src/features/chat/blender-mcp-setup.tsx
index ba005583447..0401ae2e7f2 100644
--- a/studio/frontend/src/features/chat/blender-mcp-setup.tsx
+++ b/studio/frontend/src/features/chat/blender-mcp-setup.tsx
@@ -163,7 +163,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
{busy && <span role="status" className="inline-flex items-center gap-2 text-xs text-muted-foreground"><Spinner />Setting up / checking MCP…</span>}
</div>
<Collapsible className="border-t pt-3">
- <CollapsibleTrigger className="group flex items-center gap-1 rounded-md py-1 text-xs text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
+ <CollapsibleTrigger className="group flex items-center gap-1 rounded-full py-1 text-xs text-muted-foreground hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
{config?.server_id ? "Setup help" : "Set up Blender"}
<ChevronDown aria-hidden="true" className="size-4 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180 motion-reduce:transition-none" />
</CollapsibleTrigger>
@@ -182,7 +182,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
</Collapsible>
<Collapsible className="border-t pt-3">
- <CollapsibleTrigger className="group flex w-full items-center justify-between rounded-md py-1 text-sm font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
+ <CollapsibleTrigger className="group flex w-full items-center justify-between rounded-full py-1 text-sm font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
Advanced settings
<ChevronDown aria-hidden="true" className="size-4 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180 motion-reduce:transition-none" />
</CollapsibleTrigger>
diff --git a/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx b/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
index 0371d9451b3..a7ffdbde3de 100644
--- a/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
+++ b/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
@@ -958,7 +958,7 @@ export function ChatMcpServersDialog({
{showForm ? (
<div className="flex flex-col gap-4">
{view.kind === "create" && (
- <div className="flex items-center justify-between gap-3 rounded-md border border-dashed px-3 py-2">
+ <div className="flex items-center justify-between gap-3 rounded-lg border border-dashed px-3 py-2">
<span className="text-xs text-muted-foreground">
Import servers from a config file.
</span>
@@ -1101,7 +1101,7 @@ export function ChatMcpServersDialog({
)}
{form.transport === "http" && form.useOauth && (
- <div className="grid gap-3 rounded-md border p-3">
+ <div className="grid gap-3 rounded-lg border p-3">
<div className="grid gap-2">
<Label htmlFor="mcp-oauth-client-id">OAuth client ID</Label>
<Input
@@ -1223,11 +1223,11 @@ export function ChatMcpServersDialog({
<Spinner />
</div>
) : servers.filter((server) => !server.builtin_id).length === 0 ? (
- <div className="rounded-md border border-dashed py-6 text-center text-sm text-muted-foreground">
+ <div className="rounded-xl border border-dashed py-6 text-center text-sm text-muted-foreground">
No custom MCP servers configured yet.
</div>
) : (
- <ul className="flex flex-col divide-y rounded-md border">
+ <ul className="flex flex-col divide-y rounded-xl border">
{servers.filter((server) => !server.builtin_id).map((server) => (
<li
key={server.id}
diff --git a/studio/frontend/src/features/chat/chat-page.tsx b/studio/frontend/src/features/chat/chat-page.tsx
index a81deb56cef..574a979413b 100644
--- a/studio/frontend/src/features/chat/chat-page.tsx
+++ b/studio/frontend/src/features/chat/chat-page.tsx
@@ -435,7 +435,7 @@ function BrowserOverlay(): ReactElement {
aria-label={t("browser.title")}
tabIndex={-1}
onKeyDown={onKeyDown}
- className="size-full overflow-hidden border-border bg-background outline-none sm:h-[min(92dvh,900px)] sm:w-[min(96vw,1200px)] sm:rounded-2xl sm:border sm:shadow-xl"
+ className="size-full overflow-hidden border-border bg-background outline-none sm:h-[min(92dvh,900px)] sm:w-[min(96vw,1200px)] sm:rounded-3xl sm:border sm:shadow-xl"
>
<Suspense fallback={null}>
<BrowserPanel active={true} />
@@ -2236,7 +2236,7 @@ function ProjectLanding({
{/* Slightly narrower than the composer max; every block shares this. */}
<div className="mx-auto flex w-full max-w-[calc(44rem*var(--ui-space-scale,1))] flex-col pt-[calc(120px*var(--ui-space-scale,1))] pb-14">
<div className="mb-12 flex items-center gap-4">
- <span className="flex size-13 shrink-0 items-center justify-center rounded-[18px] bg-muted text-foreground/80">
+ <span className="flex size-13 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground/80">
<HugeiconsIcon
icon={Folder02Icon}
strokeWidth={1.75}
@@ -2300,7 +2300,7 @@ function ProjectLanding({
{projectTab === "sources" ? (
<Suspense
fallback={
- <div className="mt-8 rounded-[26px] bg-muted/30 px-6 py-10 text-center text-sm text-muted-foreground">
+ <div className="mt-8 rounded-2xl bg-muted/30 px-6 py-10 text-center text-sm text-muted-foreground">
Loading sources…
</div>
}
@@ -2319,7 +2319,7 @@ function ProjectLanding({
return (
<div
key={`${item.type}:${item.id}`}
- className="flex min-h-[calc(58px*var(--ui-space-scale,1))] w-full items-center rounded-[14px] px-4 py-2"
+ className="flex min-h-[calc(58px*var(--ui-space-scale,1))] w-full items-center rounded-md px-4 py-2"
>
<div className="min-w-0 flex-1">
<input
@@ -2366,7 +2366,7 @@ function ProjectLanding({
return (
<div
key={`${item.type}:${item.id}`}
- className="group relative flex min-h-[calc(58px*var(--ui-space-scale,1))] w-full items-center rounded-[14px] transition-colors hover:bg-nav-surface-hover has-[[data-state=open]]:bg-nav-surface-hover"
+ className="group relative flex min-h-[calc(58px*var(--ui-space-scale,1))] w-full items-center rounded-md transition-colors hover:bg-nav-surface-hover has-[[data-state=open]]:bg-nav-surface-hover"
>
<button
type="button"
@@ -2379,7 +2379,7 @@ function ProjectLanding({
: { compare: item.id, project: projectId },
});
}}
- className="flex min-h-[calc(58px*var(--ui-space-scale,1))] min-w-0 flex-1 items-center gap-4 rounded-[14px] px-4 py-2 text-left"
+ className="flex min-h-[calc(58px*var(--ui-space-scale,1))] min-w-0 flex-1 items-center gap-4 rounded-md px-4 py-2 text-left"
>
<div className="min-w-0 flex-1">
<div className="truncate text-ui-15 leading-5 text-foreground">
diff --git a/studio/frontend/src/features/chat/chat-providers-dialog.tsx b/studio/frontend/src/features/chat/chat-providers-dialog.tsx
index a481864c696..60f80f7e233 100644
--- a/studio/frontend/src/features/chat/chat-providers-dialog.tsx
+++ b/studio/frontend/src/features/chat/chat-providers-dialog.tsx
@@ -1548,7 +1548,7 @@ export function ChatProvidersSettings({
</header>
<div className="flex max-w-[calc(760px*var(--ui-space-scale,1))] flex-col gap-3">
- <section className="overflow-hidden rounded-lg border border-border/70 bg-muted/[0.12]">
+ <section className="overflow-hidden rounded-xl border border-border/70 bg-muted/[0.12]">
<div className="divide-y divide-border/60">
<div className="grid grid-cols-[minmax(140px,0.8fr)_minmax(0,1.2fr)] items-center gap-4 px-4 py-3 @max-[520px]:grid-cols-1">
<div className="flex min-w-0 flex-col gap-0.5">
@@ -1675,7 +1675,7 @@ export function ChatProvidersSettings({
<button
type="button"
onClick={() => setShowApiKey((visible) => !visible)}
- className="absolute top-1/2 right-1.5 flex size-5 -translate-y-1/2 items-center justify-center rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="absolute top-1/2 right-1.5 flex size-5 -translate-y-1/2 items-center justify-center rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
aria-label={showApiKey ? "Hide API key" : "Show API key"}
aria-pressed={showApiKey}
>
@@ -2045,7 +2045,7 @@ export function ChatProvidersSettings({
/>
) : null}
- <section className="overflow-hidden rounded-lg border border-border/70 bg-muted/[0.12]">
+ <section className="overflow-hidden rounded-xl border border-border/70 bg-muted/[0.12]">
<AnimatePresence initial={false} mode="wait">
<motion.div
key={modelsPanelKey}
@@ -2386,7 +2386,7 @@ export function ChatProvidersSettings({
</div>
<section className="flex max-w-[calc(760px*var(--ui-space-scale,1))] flex-col gap-2">
- <div className="overflow-hidden rounded-lg border border-border/70 bg-muted/[0.12]">
+ <div className="overflow-hidden rounded-xl border border-border/70 bg-muted/[0.12]">
<button
type="button"
onClick={openAddProvider}
@@ -2427,7 +2427,7 @@ export function ChatProvidersSettings({
className="group grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-3 border-border/60 border-b px-3 py-3 transition-colors last:border-b-0 hover:bg-muted/35 max-sm:grid-cols-1"
>
<div className="flex min-w-0 items-start gap-3">
- <div className="mt-1 flex size-8 shrink-0 items-center justify-center rounded-md border border-border/70 bg-background/80">
+ <div className="mt-1 flex size-8 shrink-0 items-center justify-center rounded-sm border border-border/70 bg-background/80">
<ApiProviderLogo
providerType={provider.providerType}
className="size-5"
diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
index d8d16c8cc91..303182e5c32 100644
--- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx
+++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
@@ -1318,7 +1318,7 @@ export function ChatSettingsPanel({
<DropdownMenuContent
align="start"
sideOffset={0}
- className="menu-soft-surface ring-0 border-0 rounded-lg p-1.5"
+ className="menu-soft-surface ring-0 border-0 rounded-lg p-1"
>
{presets.map((p, index) => (
<Fragment key={p.name}>
diff --git a/studio/frontend/src/features/chat/components/chat-audio-upload.tsx b/studio/frontend/src/features/chat/components/chat-audio-upload.tsx
index 5cd9b11d9e4..7354925747e 100644
--- a/studio/frontend/src/features/chat/components/chat-audio-upload.tsx
+++ b/studio/frontend/src/features/chat/components/chat-audio-upload.tsx
@@ -103,12 +103,12 @@ export function ChatAudioUpload({ audioUpload }: ChatAudioUploadProps) {
</DialogHeader>
{platform === "ios" ? (
- <p className="rounded-2xl bg-muted px-3 py-2 text-sm text-muted-foreground">
+ <p className="rounded-lg bg-muted px-3 py-2 text-sm text-muted-foreground">
{t("settings.voice.dictation.audioUploadIphoneHint")}
</p>
) : null}
- <dl className="grid min-w-0 gap-3 rounded-2xl bg-muted/60 p-3 text-sm">
+ <dl className="grid min-w-0 gap-3 rounded-lg bg-muted/60 p-3 text-sm">
<div>
<dt className="text-muted-foreground">
{t("settings.voice.dictation.sttModelLabel")}
@@ -140,7 +140,7 @@ export function ChatAudioUpload({ audioUpload }: ChatAudioUploadProps) {
{audioUpload.failureMessage ? (
<div
- className="rounded-2xl border border-destructive/30 bg-destructive/5 p-3 text-sm"
+ className="rounded-lg border border-destructive/30 bg-destructive/5 p-3 text-sm"
role="alert"
>
<p className="font-medium text-destructive">
diff --git a/studio/frontend/src/features/chat/components/chat-model-notice.tsx b/studio/frontend/src/features/chat/components/chat-model-notice.tsx
index 0bd3358994b..5bbf62e7756 100644
--- a/studio/frontend/src/features/chat/components/chat-model-notice.tsx
+++ b/studio/frontend/src/features/chat/components/chat-model-notice.tsx
@@ -209,7 +209,7 @@ export function ChatModelNotice({
sideOffset={6}
collisionPadding={12}
aria-label="Last used model"
- className="menu-soft-surface w-64 gap-1 rounded-[14px] p-1"
+ className="menu-soft-surface w-64 gap-1 rounded-lg p-1"
>
<div className="space-y-1 px-3 py-2">
<p className="text-ui-12 text-muted-foreground">Last used model</p>
@@ -220,7 +220,7 @@ export function ChatModelNotice({
type="button"
variant="ghost"
size="sm"
- className="h-8 justify-start gap-2.5 rounded-[10px] px-3 text-ui-13 font-normal"
+ className="h-8 justify-start gap-2.5 rounded-md px-3 text-ui-13 font-normal"
onClick={() => onSwitch(switchTarget)}
>
<HugeiconsIcon
diff --git a/studio/frontend/src/features/chat/components/chat-search-dialog.tsx b/studio/frontend/src/features/chat/components/chat-search-dialog.tsx
index 834f689d366..14d792ff03b 100644
--- a/studio/frontend/src/features/chat/components/chat-search-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/chat-search-dialog.tsx
@@ -468,7 +468,7 @@ export function ChatSearchDialog() {
onKeyDown={(e) => {
if (e.key === "Enter") e.stopPropagation();
}}
- className="flex size-6 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
+ className="flex size-6 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
aria-label={t("common.close")}
>
<HugeiconsIcon
@@ -762,7 +762,7 @@ function FooterHint({ label, children }: { label: string; children: ReactNode })
function Key({ children }: { children: ReactNode }) {
return (
- <kbd className="inline-flex h-5 min-w-5 items-center justify-center rounded-md border border-border/60 px-1 font-sans text-ui-11 text-muted-foreground">
+ <kbd className="inline-flex h-5 min-w-5 items-center justify-center rounded-full border border-border/60 px-1 font-sans text-ui-11 text-muted-foreground">
{children}
</kbd>
);
diff --git a/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx b/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
index 6a137c4b7f0..89d3aed7d09 100644
--- a/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
@@ -371,7 +371,7 @@ export function ChatSkillsDialog({
return (
<Dialog open={open} onOpenChange={handleOpenChange}>
- <DialogContent className="rounded-xl shadow-border ring-0 [--radius:1.1rem] max-sm:flex max-sm:flex-col max-sm:overflow-hidden sm:max-w-2xl">
+ <DialogContent className="rounded-3xl shadow-border ring-0 max-sm:flex max-sm:flex-col max-sm:overflow-hidden sm:max-w-2xl">
{view.kind === "library" ? (
<>
<DialogHeader>
@@ -807,7 +807,7 @@ function SkillRow({
return (
<div
className={cn(
- "group pointer-events-none relative grid grid-cols-[minmax(0,1fr)_auto] items-center gap-x-10 gap-y-1.5 rounded-[14px] border border-border/60 bg-muted/20 px-5 py-4 transition-colors hover:bg-muted/50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]",
+ "group pointer-events-none relative grid grid-cols-[minmax(0,1fr)_auto] items-center gap-x-10 gap-y-1.5 rounded-lg border border-border/60 bg-muted/20 px-5 py-4 transition-colors hover:bg-muted/50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]",
skill.shadowed && "opacity-60",
)}
>
@@ -817,7 +817,7 @@ function SkillRow({
aria-label={skill.name}
aria-describedby={descriptionId}
title={(skill.valid ? skill.description : skill.error) ?? undefined}
- className="pointer-events-auto absolute inset-0 cursor-pointer rounded-[14px] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="pointer-events-auto absolute inset-0 cursor-pointer rounded-xl focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
/>
<div className="flex min-w-0 flex-wrap items-center gap-2">
<span className="truncate font-medium text-ui-14">{skill.name}</span>
@@ -947,7 +947,7 @@ function Editor({
{notice ? (
<p
className={cn(
- "rounded-xl px-4 py-3 text-xs leading-relaxed",
+ "rounded-lg px-4 py-3 text-xs leading-relaxed",
notice.tone === "error"
? "border border-destructive/30 bg-destructive/5 text-destructive"
: "bg-muted/50 text-muted-foreground",
diff --git a/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx b/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx
index b508f9ddbf5..7c6f6b93ff2 100644
--- a/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx
+++ b/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx
@@ -117,7 +117,7 @@ function DomainList({
<div
onClick={(event) => event.currentTarget.querySelector("input")?.focus()}
className={cn(
- "flex min-h-9 cursor-text flex-wrap items-center gap-1 rounded-[18px] border border-border bg-background px-1.5 py-[3px] transition-colors focus-within:border-ring dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:focus-within:bg-[rgb(255_255_255_/_calc(0.12*var(--contrast-wash-gain,1)))]",
+ "flex min-h-9 cursor-text flex-wrap items-center gap-1 rounded-xl border border-border bg-background px-1.5 py-[3px] transition-colors focus-within:border-ring dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:focus-within:bg-[rgb(255_255_255_/_calc(0.12*var(--contrast-wash-gain,1)))]",
error && "border-destructive ring-[3px] ring-destructive/20 dark:border-destructive/50",
)}
>
diff --git a/studio/frontend/src/features/chat/components/delete-chat-files-switch.tsx b/studio/frontend/src/features/chat/components/delete-chat-files-switch.tsx
index 1b54c3b7391..aaf48824624 100644
--- a/studio/frontend/src/features/chat/components/delete-chat-files-switch.tsx
+++ b/studio/frontend/src/features/chat/components/delete-chat-files-switch.tsx
@@ -24,7 +24,7 @@ export function DeleteChatFilesSwitch({
const t = useT();
const label = labelOverride ?? t("shell.selection.deleteFilesLabel");
return (
- <div className="flex items-start justify-between gap-4 rounded-md border border-border/60 bg-muted/35 px-3 py-2.5 dark:border-transparent">
+ <div className="flex items-start justify-between gap-4 rounded-lg border border-border/60 bg-muted/35 px-3 py-2.5 dark:border-transparent">
<label htmlFor={id} className="min-w-0 space-y-1">
<span className="block text-sm font-medium text-foreground">
{label}
diff --git a/studio/frontend/src/features/chat/components/edit-project-dialog.tsx b/studio/frontend/src/features/chat/components/edit-project-dialog.tsx
index 6cd04de395e..e20a70c513a 100644
--- a/studio/frontend/src/features/chat/components/edit-project-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/edit-project-dialog.tsx
@@ -178,7 +178,7 @@ export function EditProjectDialog({
</DialogDescription>
</DialogHeader>
{/* The same name field the create dialog uses. */}
- <div className="flex items-stretch overflow-hidden rounded-[16px] border border-border bg-background transition-colors focus-within:border-ring has-[input:disabled]:opacity-50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]">
+ <div className="flex items-stretch overflow-hidden rounded-full border border-border bg-background transition-colors focus-within:border-ring has-[input:disabled]:opacity-50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]">
<span className="flex w-10 shrink-0 items-center justify-center pl-1 text-muted-foreground">
<HugeiconsIcon
icon={Folder02Icon}
@@ -236,7 +236,7 @@ export function EditProjectDialog({
disabled={busy || folderBusy}
rows={4}
placeholder="How should the model answer in this project?"
- className="mt-0.5 resize-none rounded-[16px]"
+ className="mt-0.5 resize-none rounded-xl"
/>
</div>
<ProjectWorkingFolder
diff --git a/studio/frontend/src/features/chat/components/new-project-dialog.tsx b/studio/frontend/src/features/chat/components/new-project-dialog.tsx
index 8975a71d058..aaf76c151fc 100644
--- a/studio/frontend/src/features/chat/components/new-project-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/new-project-dialog.tsx
@@ -222,7 +222,7 @@ export function NewProjectDialog({
<DialogTitle className="text-ui-21">{title}</DialogTitle>
</DialogHeader>
{/* Name field: folder glyph in its own cell, divided from the input. */}
- <div className="flex items-stretch overflow-hidden rounded-[16px] border border-border bg-background transition-colors focus-within:border-ring has-[input:disabled]:opacity-50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]">
+ <div className="flex items-stretch overflow-hidden rounded-full border border-border bg-background transition-colors focus-within:border-ring has-[input:disabled]:opacity-50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]">
<span className="flex w-10 shrink-0 items-center justify-center pl-1 text-muted-foreground">
<HugeiconsIcon
icon={Folder02Icon}
diff --git a/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx b/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx
index 6df15ca0365..f46f5147bfc 100644
--- a/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx
+++ b/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx
@@ -449,7 +449,7 @@ export function OpenAICodeExecSection({
{sortedContainers.length === 0 ? (
// Quiet placeholder with the same muted border as row cards so an empty section does not look
// like an active control. The first container is lazy-created on first send.
- <div className="flex h-9 w-full items-center rounded-md border border-dashed border-border/60 bg-muted/20 px-2 text-xs text-muted-foreground">
+ <div className="flex h-9 w-full items-center rounded-full border border-dashed border-border/60 bg-muted/20 px-2 text-xs text-muted-foreground">
None yet - one will be created on first send.
</div>
) : (
@@ -501,15 +501,15 @@ export function OpenAICodeExecSection({
{c.name ?? "(unnamed)"}
</span>
{isPending ? (
- <span className="shrink-0 rounded-sm bg-muted px-1 py-px text-ui-9 font-medium uppercase tracking-wider text-muted-foreground">
+ <span className="shrink-0 rounded-full bg-muted px-1 py-px text-ui-9 font-medium uppercase tracking-wider text-muted-foreground">
Creating
</span>
) : isActive ? (
- <span className="shrink-0 rounded-sm bg-primary/15 px-1 py-px text-ui-9 font-medium uppercase tracking-wider text-primary">
+ <span className="shrink-0 rounded-full bg-primary/15 px-1 py-px text-ui-9 font-medium uppercase tracking-wider text-primary">
Active
</span>
) : statusLabel ? (
- <span className="shrink-0 rounded-sm bg-muted px-1 py-px text-ui-9 font-medium uppercase tracking-wider text-muted-foreground">
+ <span className="shrink-0 rounded-full bg-muted px-1 py-px text-ui-9 font-medium uppercase tracking-wider text-muted-foreground">
{statusLabel}
</span>
) : null}
@@ -549,7 +549,7 @@ export function OpenAICodeExecSection({
inherited from the top "Idle timeout" control (no per-container
override), keeping the form light. */}
{createOpen ? (
- <div className="flex items-center gap-1 rounded-md border border-border/60 bg-muted/20 px-1.5 py-1">
+ <div className="flex items-center gap-1 rounded-full border border-border/60 bg-muted/20 px-1.5 py-1">
<Input
autoFocus
placeholder="Name"
diff --git a/studio/frontend/src/features/chat/components/research-activity-panel.tsx b/studio/frontend/src/features/chat/components/research-activity-panel.tsx
index d07a0e5b731..e23da435f23 100644
--- a/studio/frontend/src/features/chat/components/research-activity-panel.tsx
+++ b/studio/frontend/src/features/chat/components/research-activity-panel.tsx
@@ -365,7 +365,7 @@ const ActivityRow = memo(function ActivityRow({
{activity.input ? (
<p
className={cn(
- "line-clamp-3 break-words rounded-xl bg-muted/45 px-3 py-2 text-foreground/80",
+ "line-clamp-3 break-words rounded-lg bg-muted/45 px-3 py-2 text-foreground/80",
activity.kind === "step" &&
"bg-primary/[0.045] ring-1 ring-primary/10",
)}
@@ -374,7 +374,7 @@ const ActivityRow = memo(function ActivityRow({
</p>
) : null}
{activity.previewLabels?.length ? (
- <ul className="space-y-1 rounded-xl bg-muted/35 px-3 py-2">
+ <ul className="space-y-1 rounded-lg bg-muted/35 px-3 py-2">
{activity.previewLabels.map((label, index) => (
<li
key={`${activity.id}-preview-${index}`}
@@ -398,7 +398,7 @@ const ActivityRow = memo(function ActivityRow({
</div>
) : null}
{activity.plan ? (
- <div className="space-y-2 rounded-xl bg-muted/35 px-3 py-2.5">
+ <div className="space-y-2 rounded-lg bg-muted/35 px-3 py-2.5">
<p className="font-medium text-foreground/85">
{activity.plan.title}
</p>
@@ -438,7 +438,7 @@ const ActivityRow = memo(function ActivityRow({
key={`${activity.id}-${source.id ?? source.url}`}
type="button"
onClick={() => openLink(source.url)}
- className="group/source flex w-full items-start gap-2 rounded-xl px-2 py-2 text-left transition-colors hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="group/source flex w-full items-start gap-2 rounded-md px-2 py-2 text-left transition-colors hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<InternetGlyph className="mt-0.5 size-3.5 shrink-0" />
<span className="min-w-0 flex-1">
@@ -458,7 +458,7 @@ const ActivityRow = memo(function ActivityRow({
{activity.evidenceSources?.map((source) => (
<div
key={`${activity.id}-${source.chunkId}`}
- className="rounded-xl bg-muted/45 px-3 py-2"
+ className="rounded-lg bg-muted/45 px-3 py-2"
>
<p className="line-clamp-2 break-words font-medium text-foreground/85">
{source.filename}
@@ -472,7 +472,7 @@ const ActivityRow = memo(function ActivityRow({
</div>
))}
{activity.excerpt ? (
- <p className="line-clamp-5 whitespace-pre-wrap break-words rounded-xl bg-muted/45 px-3 py-2 leading-relaxed">
+ <p className="line-clamp-5 whitespace-pre-wrap break-words rounded-lg bg-muted/45 px-3 py-2 leading-relaxed">
{activity.excerpt}
</p>
) : null}
@@ -905,7 +905,7 @@ export function ResearchActivityPanel({
>
<header className="shrink-0 border-b border-border/70 px-4 py-3.5">
<div className="flex items-start gap-3">
- <div className="flex size-9 shrink-0 items-center justify-center rounded-[13px] bg-primary/10 text-primary">
+ <div className="flex size-9 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary">
<HugeiconsIcon icon={Telescope02Icon} className="size-[calc(18px*var(--ui-space-scale,1))]" />
</div>
<div className="min-w-0 flex-1">
diff --git a/studio/frontend/src/features/chat/components/research-message.tsx b/studio/frontend/src/features/chat/components/research-message.tsx
index 772f9eefc59..1f085759000 100644
--- a/studio/frontend/src/features/chat/components/research-message.tsx
+++ b/studio/frontend/src/features/chat/components/research-message.tsx
@@ -146,7 +146,7 @@ export function ResearchMessage(): ReactElement | null {
return (
<div
className={cn(
- "rounded-[22px] border border-border/70 bg-card/65 p-4",
+ "rounded-2xl border border-border/70 bg-card/65 p-4",
needsApproval && "border-amber-500/25 bg-amber-500/[0.035]",
failed && "border-destructive/25 bg-destructive/[0.025]",
)}
@@ -154,7 +154,7 @@ export function ResearchMessage(): ReactElement | null {
<div className="flex items-start gap-3">
<span
className={cn(
- "mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-[12px] bg-primary/10 text-primary",
+ "mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-sm bg-primary/10 text-primary",
failed && "bg-destructive/10 text-destructive",
)}
>
diff --git a/studio/frontend/src/features/chat/components/section-name-dialog.tsx b/studio/frontend/src/features/chat/components/section-name-dialog.tsx
index 4433580eb7d..32ab0b24dc8 100644
--- a/studio/frontend/src/features/chat/components/section-name-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/section-name-dialog.tsx
@@ -109,7 +109,7 @@ function SectionNameForm({
maxLength={CUSTOM_SECTION_NAME_MAX}
placeholder={t("shell.sections.namePlaceholder")}
aria-label={t("shell.sections.namePlaceholder")}
- className="w-full rounded-[14px] border border-border bg-background px-4 py-3 text-base outline-none transition-colors placeholder:text-muted-foreground focus:border-ring dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:focus:border-ring"
+ className="w-full rounded-full border border-border bg-background px-4 py-3 text-base outline-none transition-colors placeholder:text-muted-foreground focus:border-ring dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:focus:border-ring"
/>
<DialogFooter className="flex-wrap gap-2 sm:justify-end">
<Button type="button" variant="ghost" onClick={onCancel}>
diff --git a/studio/frontend/src/features/chat/components/stop-running-chats-dialog.tsx b/studio/frontend/src/features/chat/components/stop-running-chats-dialog.tsx
index 37ed9b27d7a..5b315ff6469 100644
--- a/studio/frontend/src/features/chat/components/stop-running-chats-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/stop-running-chats-dialog.tsx
@@ -67,7 +67,7 @@ export function StopRunningChatsDialog() {
</AlertDialogDescription>
</AlertDialogHeader>
{shown.length > 0 && (
- <ul className="max-h-40 overflow-y-auto scroll-rounded rounded-md border bg-muted/40 px-3 py-2 text-sm">
+ <ul className="max-h-40 overflow-y-auto scroll-rounded rounded-xl border bg-muted/40 px-3 py-2 text-sm">
{shown.map((title) => (
<li key={title} className="truncate py-0.5">
{title}
diff --git a/studio/frontend/src/features/chat/components/working-folder-picker.tsx b/studio/frontend/src/features/chat/components/working-folder-picker.tsx
index 9bef7c5a0dd..22d88067ad1 100644
--- a/studio/frontend/src/features/chat/components/working-folder-picker.tsx
+++ b/studio/frontend/src/features/chat/components/working-folder-picker.tsx
@@ -69,7 +69,7 @@ export function WorkingFolderPicker({
<p className="text-ui-13 text-muted-foreground">
Where code and file tools run for every chat in this project.
</p>
- <div className="flex min-w-0 items-center gap-2 rounded-[16px] border border-border px-3 py-2">
+ <div className="flex min-w-0 items-center gap-2 rounded-full border border-border px-3 py-2">
<span
className="min-w-0 flex-1 truncate text-sm"
title={value ?? undefined}
diff --git a/studio/frontend/src/features/chat/components/youtube-transcript-prompt.tsx b/studio/frontend/src/features/chat/components/youtube-transcript-prompt.tsx
index ba2df33350f..fb0105247f3 100644
--- a/studio/frontend/src/features/chat/components/youtube-transcript-prompt.tsx
+++ b/studio/frontend/src/features/chat/components/youtube-transcript-prompt.tsx
@@ -122,7 +122,7 @@ export function YoutubeTranscriptPrompt({
return (
<div
- className="relative z-0 mx-7 mb-[calc(-8px*var(--ui-space-scale,1))] rounded-t-[18px] rounded-b-none border border-border/45 bg-background/90 px-5 py-2 text-muted-foreground shadow-none backdrop-blur-md dark:bg-card/85"
+ className="relative z-0 mx-7 mb-[calc(-8px*var(--ui-space-scale,1))] rounded-t-xl rounded-b-none border border-border/45 bg-background/90 px-5 py-2 text-muted-foreground shadow-none backdrop-blur-md dark:bg-card/85"
aria-label="Attach YouTube transcript"
>
<div className="grid h-10 grid-cols-[minmax(0,1fr)_auto] items-center gap-2.5">
diff --git a/studio/frontend/src/features/chat/mcp-apps/mcp-app-frame.tsx b/studio/frontend/src/features/chat/mcp-apps/mcp-app-frame.tsx
index e7e6cc9164e..6470d075822 100644
--- a/studio/frontend/src/features/chat/mcp-apps/mcp-app-frame.tsx
+++ b/studio/frontend/src/features/chat/mcp-apps/mcp-app-frame.tsx
@@ -421,7 +421,7 @@ export function McpAppFrame(props: McpAppFrameProps) {
: null);
if (failure) {
return (
- <div className="mt-2 rounded border border-border bg-muted/30 px-3 py-2 text-ui-12p5 text-muted-foreground">
+ <div className="mt-2 rounded-lg border border-border bg-muted/30 px-3 py-2 text-ui-12p5 text-muted-foreground">
Could not load this MCP app's interface: {failure}
</div>
);
@@ -429,7 +429,7 @@ export function McpAppFrame(props: McpAppFrameProps) {
if (!frame) {
return (
<div
- className="mt-2 animate-pulse rounded border border-border bg-muted/30"
+ className="mt-2 animate-pulse rounded-xl border border-border bg-muted/30"
style={{ height: MIN_HEIGHT }}
/>
);
@@ -457,7 +457,7 @@ export function McpAppFrame(props: McpAppFrameProps) {
style={{ height }}
title={`${toolName} app`}
className={cn(
- "mt-2 block w-full rounded border border-border bg-background",
+ "mt-2 block w-full rounded-xl border border-border bg-background",
className,
)}
/>
@@ -465,7 +465,7 @@ export function McpAppFrame(props: McpAppFrameProps) {
<div
role="group"
aria-label="Tool request from this app"
- className="mt-1 rounded border border-border bg-muted/30 px-3 py-2 text-ui-12p5"
+ className="mt-1 rounded-lg border border-border bg-muted/30 px-3 py-2 text-ui-12p5"
>
<div>
{asking.link ? "This app wants to open " : "This app wants to run "}
diff --git a/studio/frontend/src/features/chat/mcp-image-mappings.tsx b/studio/frontend/src/features/chat/mcp-image-mappings.tsx
index b95dbda7236..aceaa078260 100644
--- a/studio/frontend/src/features/chat/mcp-image-mappings.tsx
+++ b/studio/frontend/src/features/chat/mcp-image-mappings.tsx
@@ -72,7 +72,7 @@ export function McpImageMappings({
}
return (
- <div className="space-y-3 rounded-[14px] bg-muted/50 p-3">
+ <div className="space-y-3 rounded-lg bg-muted/50 p-3">
<label
htmlFor="mcp-image-attachments"
className="flex cursor-pointer items-start justify-between gap-3"
diff --git a/studio/frontend/src/features/chat/openai-codex-connect.tsx b/studio/frontend/src/features/chat/openai-codex-connect.tsx
index ad4f7af9b63..d308d50b68c 100644
--- a/studio/frontend/src/features/chat/openai-codex-connect.tsx
+++ b/studio/frontend/src/features/chat/openai-codex-connect.tsx
@@ -170,7 +170,7 @@ export function OpenAICodexConnect({
const visibleError = error || (flow?.status === "error" ? flow.message || "Authorization failed." : "");
return (
- <section className="space-y-3 rounded-lg border border-border/70 bg-background/45 p-4">
+ <section className="space-y-3 rounded-xl border border-border/70 bg-background/45 p-4">
<div>
<p className="text-sm font-medium">ChatGPT subscription</p>
<p className="text-xs text-muted-foreground">
@@ -184,7 +184,7 @@ export function OpenAICodexConnect({
{flow?.method === "device" && flow.status === "pending" ? (
<div data-reload-snapshot-sensitive className="space-y-2 text-sm">
<p>Enter this code in ChatGPT:</p>
- <code className="block w-fit rounded bg-muted px-3 py-2 font-mono text-base">{flow.user_code}</code>
+ <code className="block w-fit rounded-full bg-muted px-3 py-2 font-mono text-base">{flow.user_code}</code>
<p className="text-xs text-muted-foreground">Device login may need to be enabled in ChatGPT security or workspace settings.</p>
<Button
diff --git a/studio/frontend/src/features/chat/permission-mode-select.tsx b/studio/frontend/src/features/chat/permission-mode-select.tsx
index ca8a3716235..3a82e4b25c6 100644
--- a/studio/frontend/src/features/chat/permission-mode-select.tsx
+++ b/studio/frontend/src/features/chat/permission-mode-select.tsx
@@ -435,7 +435,7 @@ export function FullAccessConfirmContent({
Tools will run without asking and outside the sandbox, including:
</AlertDialogDescription>
</AlertDialogHeader>
- <ul className="flex flex-col rounded-2xl bg-muted/50 px-5 py-1.5">
+ <ul className="flex flex-col rounded-xl bg-muted/50 px-5 py-1.5">
{FULL_ACCESS_SCOPES.map((scope) => (
<li key={scope.title} className="flex items-center gap-4 py-3">
<HugeiconsIcon
@@ -531,7 +531,7 @@ export function PermissionModeDropdown({
<DropdownMenu>
<DropdownMenuTrigger asChild={true}>
<Button
- variant="outline"
+ variant="picker"
size="sm"
className={cn("gap-1.5", triggerClassName)}
aria-label="Permission level for tool calls"
diff --git a/studio/frontend/src/features/chat/projects-page.tsx b/studio/frontend/src/features/chat/projects-page.tsx
index 8ea3b295baa..9778e609fb4 100644
--- a/studio/frontend/src/features/chat/projects-page.tsx
+++ b/studio/frontend/src/features/chat/projects-page.tsx
@@ -709,12 +709,12 @@ export function ProjectsPage() {
{Array.from({ length: 6 }).map((_, index) => (
<div
key={index}
- className="flex items-center gap-3 rounded-xl px-5 py-4"
+ className="flex items-center gap-3 rounded-md px-5 py-4"
>
- <Skeleton className="mr-1 size-9 shrink-0 rounded-[10px]" />
- <Skeleton className="h-4 w-40 rounded-[8px]" />
+ <Skeleton className="mr-1 size-9 shrink-0 rounded-md" />
+ <Skeleton className="h-4 w-40 rounded-full" />
<span className="flex-1" />
- <Skeleton className="h-4 w-16 rounded-[8px]" />
+ <Skeleton className="h-4 w-16 rounded-full" />
<span className="w-8 shrink-0" />
</div>
))}
@@ -787,7 +787,7 @@ export function ProjectsPage() {
<div key={`wrap-${project.id}`}>
<div
key={project.id}
- className="group/project-row relative flex items-center gap-3 rounded-xl px-5 py-4 text-left transition-colors duration-150 hover:bg-muted/70 dark:hover:bg-[rgb(255_255_255_/_calc(0.055*var(--contrast-wash-gain,1)))]"
+ className="group/project-row relative flex items-center gap-3 rounded-md px-5 py-4 text-left transition-colors duration-150 hover:bg-muted/70 dark:hover:bg-[rgb(255_255_255_/_calc(0.055*var(--contrast-wash-gain,1)))]"
>
{/* The disclosure belongs to the name, so it sits beside it rather than out by
the Updated column, where it read as another row action. */}
@@ -797,9 +797,9 @@ export function ProjectsPage() {
<button
type="button"
onClick={() => openProject(project.id)}
- className="flex min-w-0 cursor-pointer items-center gap-3 rounded-lg text-left focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="flex min-w-0 cursor-pointer items-center gap-3 rounded-md text-left focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
- <span className="mr-1 flex size-9 shrink-0 items-center justify-center rounded-[10px] bg-muted text-foreground/70 transition-colors group-hover/project-row:bg-primary/10 group-hover/project-row:text-primary">
+ <span className="mr-1 flex size-9 shrink-0 items-center justify-center rounded-md bg-muted text-foreground/70 transition-colors group-hover/project-row:bg-primary/10 group-hover/project-row:text-primary">
<HugeiconsIcon
icon={Folder02Icon}
strokeWidth={1.75}
@@ -892,7 +892,7 @@ export function ProjectsPage() {
sideOffset={0}
onClick={(e) => e.stopPropagation()}
onKeyDown={(e) => e.stopPropagation()}
- className="app-user-menu menu-soft-surface menu-flat-destructive ring-0 w-52 font-heading rounded-[14px] border-0"
+ className="app-user-menu menu-soft-surface menu-flat-destructive ring-0 w-52 font-heading rounded-xl border-0"
>
<ProjectMenuItems
project={project}
@@ -908,7 +908,7 @@ export function ProjectsPage() {
{chatsOpen && (
<div className="mb-2 flex flex-col gap-0.5 pl-[calc(76px*var(--ui-space-scale,1))]">
{chats === undefined || chats === "loading" ? (
- <Skeleton className="h-6 w-48 rounded-[8px]" />
+ <Skeleton className="h-6 w-48 rounded-full" />
) : chats === "error" ? (
<button
type="button"
@@ -930,14 +930,14 @@ export function ProjectsPage() {
return (
<div
key={chat.id}
- className="group/chat-row flex items-center gap-3 rounded-xl py-1.5 pl-2 pr-5 text-left text-sm text-muted-foreground transition-colors hover:bg-muted/70 hover:text-foreground dark:hover:bg-[rgb(255_255_255_/_calc(0.055*var(--contrast-wash-gain,1)))]"
+ className="group/chat-row flex items-center gap-3 rounded-full py-1.5 pl-2 pr-5 text-left text-sm text-muted-foreground transition-colors hover:bg-muted/70 hover:text-foreground dark:hover:bg-[rgb(255_255_255_/_calc(0.055*var(--contrast-wash-gain,1)))]"
>
{/* A real button holding only text. Giving the whole row the button role
made its pin and menu presentational children. */}
<button
type="button"
onClick={() => openChat(chat, project.id)}
- className="flex min-w-0 flex-1 cursor-pointer items-center gap-3 rounded-lg text-left focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="flex min-w-0 flex-1 cursor-pointer items-center gap-3 rounded-full text-left focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<HugeiconsIcon
icon={MessageCircleIcon}
@@ -999,7 +999,7 @@ export function ProjectsPage() {
sideOffset={0}
onClick={(e) => e.stopPropagation()}
onKeyDown={(e) => e.stopPropagation()}
- className="app-user-menu menu-soft-surface menu-flat-destructive ring-0 w-52 font-heading rounded-[14px] border-0"
+ className="app-user-menu menu-soft-surface menu-flat-destructive ring-0 w-52 font-heading rounded-xl border-0"
>
<DropdownMenuItem
onSelect={() => {
diff --git a/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx b/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx
index ed9e8f0e3a7..00d31ba72f7 100644
--- a/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx
+++ b/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx
@@ -1401,7 +1401,7 @@ function ExportModal({
<p className="mt-1 text-xs text-muted-foreground">
ShareGPT format for Unsloth fine-tuning
</p>
- <code className="mt-2 block w-full truncate rounded-md bg-muted px-2 py-1 font-mono text-ui-10 text-muted-foreground/60">
+ <code className="mt-2 block w-full truncate rounded-full bg-muted px-2 py-1 font-mono text-ui-10 text-muted-foreground/60">
{`{"conversations":[{"from":"human","value":"..."},{"from":"gpt","value":""}]}`}
</code>
</div>
@@ -1414,14 +1414,14 @@ function ExportModal({
<p className="text-ui-11 font-semibold uppercase tracking-wider text-muted-foreground/60">
Format
</p>
- <div className="flex items-center gap-1 self-start rounded-lg bg-muted/60 p-1">
+ <div className="flex items-center gap-1 self-start rounded-full bg-muted/60 p-1">
{(["jsonl", "csv"] as ExportFormat[]).map((f) => {
const disabled = f === "csv" && !csvAvailable;
return (
<label
key={f}
className={cn(
- "select-none rounded-md px-6 py-1.5 text-xs font-semibold uppercase tracking-wide transition-all",
+ "select-none rounded-full px-6 py-1.5 text-xs font-semibold uppercase tracking-wide transition-all",
disabled
? "cursor-not-allowed opacity-40 text-muted-foreground"
: "cursor-pointer",
@@ -1518,7 +1518,7 @@ function RailRow({
aria-current={selected ? "true" : undefined}
onClick={onSelect}
className={cn(
- "w-full rounded-lg px-2.5 py-2 text-left transition-colors border",
+ "w-full rounded-md px-2.5 py-2 text-left transition-colors border",
"focus-visible:ring-1 focus-visible:ring-ring outline-none",
selected
? "bg-muted/70 border-border"
@@ -1555,7 +1555,7 @@ function EmptyDetail({
}): ReactElement {
return (
<div className="flex h-full flex-col items-center justify-center gap-3 text-center">
- <div className="flex size-12 items-center justify-center rounded-2xl bg-muted/60">{icon}</div>
+ <div className="flex size-12 items-center justify-center rounded-lg bg-muted/60">{icon}</div>
<div className="flex flex-col gap-1">
<p className="text-sm font-medium text-muted-foreground">{title}</p>
{hint && <p className="text-xs text-muted-foreground/60">{hint}</p>}
@@ -1704,19 +1704,19 @@ function PromptDetail({
value={name}
onChange={(e) => update({ name: e.target.value })}
placeholder="Prompt name..."
- className="w-full shrink-0 rounded-lg border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
+ className="w-full shrink-0 rounded-full border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
/>
{preview ? (
<MarkdownPreview
markdown={text}
- className="min-h-0 max-h-none flex-1 rounded-lg border-border/60 bg-background/40 p-3 text-sm"
+ className="min-h-0 max-h-none flex-1 rounded-xl border-border/60 bg-background/40 p-3 text-sm"
/>
) : (
<textarea
value={text}
onChange={(e) => update({ text: e.target.value })}
placeholder="Prompt text..."
- className="min-h-0 flex-1 w-full resize-none rounded-lg border-0 bg-background/80 px-3 py-2.5 text-sm ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow leading-relaxed"
+ className="min-h-0 flex-1 w-full resize-none rounded-xl border-0 bg-background/80 px-3 py-2.5 text-sm ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow leading-relaxed"
/>
)}
<div className="flex shrink-0 items-center gap-2 text-ui-11 text-muted-foreground/70">
@@ -1735,7 +1735,7 @@ function PromptDetail({
type="button"
onClick={() => togglePinnedPrompt(entry.id)}
className={cn(
- "flex h-8 w-8 items-center justify-center rounded-lg transition-colors",
+ "flex h-8 w-8 items-center justify-center rounded-full transition-colors",
isPinned
? "text-primary hover:bg-primary/10"
: "text-muted-foreground hover:bg-muted hover:text-foreground",
@@ -1747,7 +1747,7 @@ function PromptDetail({
<button
type="button"
onClick={() => onExport(exportValue)}
- className="flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground hover:bg-muted hover:text-foreground transition-colors"
+ className="flex h-8 w-8 items-center justify-center rounded-full text-muted-foreground hover:bg-muted hover:text-foreground transition-colors"
title="Export"
>
<HugeiconsIcon icon={Download01Icon} className="size-4" />
@@ -1756,7 +1756,7 @@ function PromptDetail({
type="button"
disabled={pending}
onClick={() => (dirty ? setConfirmingDelete(true) : void handleDelete())}
- className="flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground hover:bg-destructive/10 hover:text-destructive transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground"
+ className="flex h-8 w-8 items-center justify-center rounded-full text-muted-foreground hover:bg-destructive/10 hover:text-destructive transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground"
title="Delete"
>
<Trash2Icon className="size-4" />
@@ -1887,13 +1887,13 @@ function NewPromptForm({
onChange={(e) => setName(e.target.value)}
placeholder="Prompt name (optional)..."
autoFocus
- className="w-full shrink-0 rounded-lg border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
+ className="w-full shrink-0 rounded-full border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
/>
<textarea
value={text}
onChange={(e) => setText(e.target.value)}
placeholder="Write your prompt here..."
- className="min-h-0 flex-1 w-full resize-none rounded-lg border-0 bg-background/80 px-3 py-2.5 text-sm ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow leading-relaxed"
+ className="min-h-0 flex-1 w-full resize-none rounded-xl border-0 bg-background/80 px-3 py-2.5 text-sm ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow leading-relaxed"
/>
<div className="flex shrink-0 flex-wrap gap-2 justify-end border-t border-border/50 pt-3">
<Button size="sm" variant="ghost" onClick={onClose}>
@@ -2016,7 +2016,7 @@ function PromptListDetail({
value={name}
onChange={(e) => update({ name: e.target.value })}
placeholder="List name..."
- className="w-full shrink-0 rounded-lg border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
+ className="w-full shrink-0 rounded-full border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
/>
<p className="shrink-0 text-xs font-semibold text-muted-foreground">
Prompts, loaded into the composer one at a time
@@ -2079,7 +2079,7 @@ function PromptListDetail({
type="button"
onClick={() => togglePinnedList(entry.id)}
className={cn(
- "flex h-8 w-8 items-center justify-center rounded-lg transition-colors",
+ "flex h-8 w-8 items-center justify-center rounded-full transition-colors",
isPinned
? "text-primary hover:bg-primary/10"
: "text-muted-foreground hover:bg-muted hover:text-foreground",
@@ -2091,7 +2091,7 @@ function PromptListDetail({
<button
type="button"
onClick={() => onExport(exportValue)}
- className="flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground hover:bg-muted hover:text-foreground transition-colors"
+ className="flex h-8 w-8 items-center justify-center rounded-full text-muted-foreground hover:bg-muted hover:text-foreground transition-colors"
title="Export"
>
<HugeiconsIcon icon={Download01Icon} className="size-4" />
@@ -2100,7 +2100,7 @@ function PromptListDetail({
type="button"
disabled={pending}
onClick={() => (dirty ? setConfirmingDelete(true) : void handleDelete())}
- className="flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground hover:bg-destructive/10 hover:text-destructive transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground"
+ className="flex h-8 w-8 items-center justify-center rounded-full text-muted-foreground hover:bg-destructive/10 hover:text-destructive transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-transparent disabled:hover:text-muted-foreground"
title="Delete"
>
<Trash2Icon className="size-4" />
@@ -2212,7 +2212,7 @@ function NewPromptListForm({
onChange={(e) => setName(e.target.value)}
placeholder="List name..."
autoFocus
- className="w-full shrink-0 rounded-lg border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
+ className="w-full shrink-0 rounded-full border-0 bg-background/80 px-3 py-2 text-sm font-medium ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow"
/>
<p className="shrink-0 text-xs font-semibold text-muted-foreground">
Prompts, loaded into the composer one at a time
@@ -2622,14 +2622,14 @@ export function PromptStorageDialog({
{/* */}
<div className="px-6 pt-4 pb-3 shrink-0 flex flex-col gap-3">
{/* */}
- <div className="flex items-center gap-1 self-start rounded-lg bg-muted/60 p-1">
+ <div className="flex items-center gap-1 self-start rounded-full bg-muted/60 p-1">
{(["prompts", "lists"] as Tab[]).map((tab) => (
<button
key={tab}
type="button"
onClick={() => selectTab(tab)}
className={cn(
- "rounded-md px-4 py-1.5 text-xs font-medium transition-all",
+ "rounded-full px-4 py-1.5 text-xs font-medium transition-all",
activeTab === tab
? "bg-background text-foreground shadow-sm ring-1 ring-border/40"
: "text-muted-foreground hover:text-foreground",
@@ -2649,7 +2649,7 @@ export function PromptStorageDialog({
onFocus={() => setShowSuggestions(true)}
onBlur={() => setTimeout(() => setShowSuggestions(false), 150)}
placeholder={`Search ${activeTab === "prompts" ? "prompts by name or text" : "prompt lists by name"}…`}
- className="w-full rounded-lg border-0 bg-muted/50 pl-9 pr-3 py-2 text-sm outline-none focus:ring-1 focus:ring-ring placeholder:text-muted-foreground/60 transition-shadow"
+ className="w-full rounded-full border-0 bg-muted/50 pl-9 pr-3 py-2 text-sm outline-none focus:ring-1 focus:ring-ring placeholder:text-muted-foreground/60 transition-shadow"
/>
{showSuggestions && searchQuery.trim() !== "" && suggestions.length > 0 && (
<div className="dropdown-surface absolute top-full left-0 right-0 z-50 mt-1 rounded-xl border border-border/60 bg-popover shadow-lg overflow-hidden">
@@ -2683,7 +2683,7 @@ export function PromptStorageDialog({
if (activeTab === "prompts") setShowNewPrompt(true);
else setShowNewList(true);
}}
- className="flex shrink-0 items-center justify-center gap-1.5 rounded-lg border border-dashed border-border/60 px-3 py-2 text-xs font-medium text-muted-foreground hover:border-border hover:bg-muted/50 hover:text-foreground transition-all"
+ className="btn-fill flex shrink-0 items-center justify-center gap-1.5 rounded-full border border-transparent px-3 py-2 text-xs font-medium text-muted-foreground hover:text-foreground transition-all"
>
<PlusIcon className="size-3.5" />
{activeTab === "prompts" ? "New prompt" : "New prompt list"}
diff --git a/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx b/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx
index 00d587ee7d9..d42e9df5465 100644
--- a/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx
+++ b/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx
@@ -81,7 +81,7 @@ export function AutoTextarea({
placeholder={placeholder}
rows={minRows}
className={cn(
- "w-full resize-none rounded-lg border-0 bg-background/80 px-3 py-2 text-sm ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow leading-relaxed",
+ "w-full resize-none rounded-xl border-0 bg-background/80 px-3 py-2 text-sm ring-1 ring-border/60 outline-none focus:ring-ring transition-shadow leading-relaxed",
className,
)}
/>
@@ -335,7 +335,7 @@ export function SortablePromptItems({
else rowRefs.current.delete(uid);
}}
className={cn(
- "flex items-start gap-2 rounded-lg",
+ "flex items-start gap-2 rounded-xl",
isDragging && "relative z-10 bg-muted/60 ring-1 ring-border",
)}
>
@@ -353,7 +353,7 @@ export function SortablePromptItems({
}
}}
className={cn(
- "mt-1.5 flex h-7 w-5 shrink-0 touch-none items-center justify-center rounded text-muted-foreground/30 hover:text-muted-foreground focus-visible:ring-1 focus-visible:ring-ring outline-none transition-colors",
+ "mt-1.5 flex h-7 w-5 shrink-0 touch-none items-center justify-center rounded-full text-muted-foreground/30 hover:text-muted-foreground focus-visible:ring-1 focus-visible:ring-ring outline-none transition-colors",
isDragging ? "cursor-grabbing text-muted-foreground" : "cursor-grab",
)}
>
@@ -384,7 +384,7 @@ export function SortablePromptItems({
setUids((prev) => prev.filter((_, idx) => idx !== i));
}}
disabled={items.length <= minItems}
- className="mt-1.5 flex h-7 w-7 shrink-0 items-center justify-center rounded-lg text-muted-foreground hover:bg-destructive/10 hover:text-destructive transition-colors disabled:opacity-30 disabled:cursor-not-allowed"
+ className="mt-1.5 flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-muted-foreground hover:bg-destructive/10 hover:text-destructive transition-colors disabled:opacity-30 disabled:cursor-not-allowed"
title="Remove"
>
<XIcon className="size-3.5" />
diff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsx
index 6d2a9bb5453..e28c06c6e02 100644
--- a/studio/frontend/src/features/chat/shared-composer.tsx
+++ b/studio/frontend/src/features/chat/shared-composer.tsx
@@ -541,12 +541,12 @@ function PendingImageThumb({
return () => URL.revokeObjectURL(url);
}, [file]);
if (!src)
- return <div className="size-14 animate-pulse rounded-[14px] bg-muted" />;
+ return <div className="size-14 animate-pulse rounded-lg bg-muted" />;
return (
<div
data-reload-snapshot-sensitive
data-composer-attachment="image"
- className="relative size-14 shrink-0 overflow-hidden rounded-[14px] border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted"
+ className="relative size-14 shrink-0 overflow-hidden rounded-lg border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted"
>
<img src={src} alt={file.name} className="h-full w-full object-cover" />
<button
@@ -2889,7 +2889,7 @@ export function SharedComposer({
<div
key={clip.id}
data-composer-attachment="audio"
- className="flex items-center gap-2 rounded-lg border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted px-3 py-1.5 text-xs"
+ className="flex items-center gap-2 rounded-full border border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] bg-muted px-3 py-1.5 text-xs"
>
<HeadphonesIcon className="size-3.5 text-muted-foreground" />
<span data-reload-snapshot-sensitive className="max-w-48 truncate">
@@ -3273,7 +3273,7 @@ export function SharedComposer({
}
aria-expanded={isWritingExpanded}
aria-controls={inputId}
- className="unsloth-composer-expand absolute -right-1 top-0 size-8 rounded-md bg-transparent text-muted-foreground hover:bg-transparent hover:text-muted-foreground dark:hover:bg-transparent aria-expanded:bg-transparent aria-expanded:text-muted-foreground"
+ className="unsloth-composer-expand absolute -right-1 top-0 size-8 rounded-full bg-transparent text-muted-foreground hover:bg-transparent hover:text-muted-foreground dark:hover:bg-transparent aria-expanded:bg-transparent aria-expanded:text-muted-foreground"
onMouseDown={(event) => event.preventDefault()}
onClick={toggleWritingExpanded}
>
@@ -3553,7 +3553,7 @@ export function SharedComposer({
stop();
}}
aria-label="Stop prompt queue"
- className="flex items-center gap-1.5 rounded-full border border-border/60 bg-muted/60 px-2.5 py-1 text-xs font-semibold text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
+ className="btn-fill flex items-center gap-1.5 rounded-full border border-transparent px-2.5 py-1 text-xs font-semibold text-muted-foreground transition-colors hover:text-foreground "
>
<SquareIcon className="size-2.5 shrink-0 fill-current" />
<span className="tabular-nums">
diff --git a/studio/frontend/src/features/chat/thread-sidebar.tsx b/studio/frontend/src/features/chat/thread-sidebar.tsx
index 2b70ce04cc1..67340d630dc 100644
--- a/studio/frontend/src/features/chat/thread-sidebar.tsx
+++ b/studio/frontend/src/features/chat/thread-sidebar.tsx
@@ -220,7 +220,7 @@ export function ThreadSidebar({
<DropdownMenuTrigger asChild>
<button
type="button"
- className="flex items-center justify-center rounded-sm p-0.5 text-muted-foreground hover:bg-accent focus:outline-none focus-visible:ring-0"
+ className="flex items-center justify-center rounded-full p-0.5 text-muted-foreground hover:bg-accent focus:outline-none focus-visible:ring-0"
title="Export options"
>
<HugeiconsIcon icon={MoreHorizontalIcon} className="size-3.5" />
@@ -278,7 +278,7 @@ export function ThreadSidebar({
>
{item.isFork ? (
<span
- className="mr-1 rounded-sm bg-primary/10 px-1.5 py-0.5 text-ui-10 font-semibold uppercase tracking-wide text-primary"
+ className="mr-1 rounded-full bg-primary/10 px-1.5 py-0.5 text-ui-10 font-semibold uppercase tracking-wide text-primary"
title="Forked from another chat"
>
fork
@@ -340,7 +340,7 @@ export function ThreadSidebar({
href="https://unsloth.ai/docs/new/studio/chat"
target="_blank"
rel="noopener noreferrer"
- className="flex items-center gap-2 corner-squircle rounded-md px-2 py-1.5 text-xs font-medium text-primary bg-primary/10 transition-colors hover:bg-primary/20"
+ className="flex items-center gap-2 rounded-full px-2 py-1.5 text-xs font-medium text-primary bg-primary/10 transition-colors hover:bg-primary/20"
>
<HugeiconsIcon icon={BookOpen02Icon} className="size-4 shrink-0" strokeWidth={2} />
<span>Learn more in docs</span>
@@ -349,7 +349,7 @@ export function ThreadSidebar({
href="https://unsloth.ai/docs/new/changelog"
target="_blank"
rel="noopener noreferrer"
- className="flex items-center gap-2 rounded-md px-2 py-1.5 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"
+ className="flex items-center gap-2 rounded-full px-2 py-1.5 text-xs text-muted-foreground transition-colors hover:bg-accent hover:text-foreground"
>
<HugeiconsIcon icon={NewReleasesIcon} className="size-4 shrink-0" strokeWidth={2} />
<span>What&apos;s new</span>
diff --git a/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx b/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx
index 8369077575a..8c1e721fdc2 100644
--- a/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx
+++ b/studio/frontend/src/features/data-recipes/pages/data-recipes-page.tsx
@@ -275,7 +275,7 @@ function LearningRecipeCards({
>
{template.difficulty}
</Badge>
- <div className="inline-flex size-10 items-center justify-center rounded-xl border border-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] bg-background/80">
+ <div className="inline-flex size-10 items-center justify-center rounded-md border border-[color-mix(in_oklab,var(--foreground)_calc(10%*var(--contrast-edge-gain,1)),transparent)] bg-background/80">
<HugeiconsIcon
icon={template.icon}
className="size-5 text-foreground/90"
@@ -519,14 +519,14 @@ export function DataRecipesPage(): ReactElement {
{recipes.map((recipe) => (
<div
key={recipe.id}
- className="flex items-center gap-3 rounded-xl border bg-card px-4 py-3"
+ className="flex items-center gap-3 rounded-lg border bg-card px-4 py-3"
>
<button
type="button"
className="flex min-w-0 flex-1 items-center gap-3 text-left"
onClick={() => openRecipe(recipe)}
>
- <div className="flex size-9 shrink-0 items-center justify-center rounded-lg border border-border/70 bg-muted/20">
+ <div className="flex size-9 shrink-0 items-center justify-center rounded-md border border-border/70 bg-muted/20">
<HugeiconsIcon
icon={CookBookIcon}
className="size-4 text-muted-foreground"
diff --git a/studio/frontend/src/features/export/components/export-run-panel.tsx b/studio/frontend/src/features/export/components/export-run-panel.tsx
index 6cd53a52b8d..6a70f50c5d3 100644
--- a/studio/frontend/src/features/export/components/export-run-panel.tsx
+++ b/studio/frontend/src/features/export/components/export-run-panel.tsx
@@ -490,7 +490,7 @@ export function ExportRunPanel(props: ExportRunPanelProps) {
)}
{/* Summary */}
- <div className="rounded-xl bg-muted/50 p-3 text-xs text-muted-foreground flex flex-col gap-1">
+ <div className="rounded-lg bg-muted/50 p-3 text-xs text-muted-foreground flex flex-col gap-1">
<div className="flex justify-between">
<span>Base Model</span>
<span className="font-medium text-foreground">
diff --git a/studio/frontend/src/features/export/components/llm-compressor-consent-dialog.tsx b/studio/frontend/src/features/export/components/llm-compressor-consent-dialog.tsx
index ea388174daf..a944000cf41 100644
--- a/studio/frontend/src/features/export/components/llm-compressor-consent-dialog.tsx
+++ b/studio/frontend/src/features/export/components/llm-compressor-consent-dialog.tsx
@@ -11,6 +11,7 @@ import {
AlertDialogHeader,
AlertDialogTitle,
} from "@/components/ui/alert-dialog";
+import { LineBox } from "@/components/ui/line-box";
import { PackageIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useLlmCompressorConsentStore } from "../stores/llm-compressor-consent-store";
@@ -53,9 +54,9 @@ export function LlmCompressorConsentDialog() {
<>
<p className="[overflow-wrap:anywhere]">{summary}</p>
{probe?.consent_kind === "workspace" ? (
- <p className="rounded-md border bg-muted/40 px-3 py-2 font-mono text-xs text-foreground break-all">
+ <LineBox as="p" className="border bg-muted/40 px-3 py-2 font-mono text-xs text-foreground break-all">
{probe.workspace_install_command}
- </p>
+ </LineBox>
) : probe?.consent_kind === "shadow" ? (
<p className="text-xs">
Target:{" "}
diff --git a/studio/frontend/src/features/export/export-page.tsx b/studio/frontend/src/features/export/export-page.tsx
index 1f02a46fd61..d4ac13a9fdf 100644
--- a/studio/frontend/src/features/export/export-page.tsx
+++ b/studio/frontend/src/features/export/export-page.tsx
@@ -1581,7 +1581,7 @@ export function ExportPage() {
</div>
)}
- <div className="rounded-xl bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] p-3">
+ <div className="rounded-lg bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] p-3">
<p className="text-ui-11 text-muted-foreground">
Direct model exports currently support GGUF only.
</p>
@@ -1590,7 +1590,7 @@ export function ExportPage() {
)}
{sourceMode === "checkpoint" && (
- <div className="rounded-xl bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] p-3 flex flex-col gap-2">
+ <div className="rounded-lg bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] p-3 flex flex-col gap-2">
<span className="text-ui-11 font-medium text-muted-foreground uppercase tracking-wider">
Training Info
</span>
@@ -2255,7 +2255,7 @@ export function ExportPage() {
})
}
aria-label="Scroll to export output"
- className="fixed bottom-6 right-6 z-30 flex size-10 items-center justify-center rounded-full border border-border/60 bg-background/90 text-foreground shadow-md backdrop-blur transition-colors hover:bg-muted"
+ className="fixed bottom-6 right-6 z-30 flex size-10 items-center justify-center rounded-full bg-background/90 text-foreground shadow-md backdrop-blur transition-colors hover:bg-muted"
>
<HugeiconsIcon
icon={ChevronDownStandardIcon}
diff --git a/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx b/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx
index 40fefbc1cf2..1cfccdaa40a 100644
--- a/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx
+++ b/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx
@@ -172,7 +172,7 @@ export function MediaGenerationPresetControl({
changeOpen(false);
}}
className={cn(
- "flex h-9 w-full items-center gap-2 rounded-lg px-2.5 text-left text-xs transition-colors hover:bg-muted/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",
+ "flex h-9 w-full items-center gap-2 rounded-md px-2.5 text-left text-xs transition-colors hover:bg-muted/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50",
isActive && "bg-muted font-medium",
)}
>
@@ -213,14 +213,14 @@ export function MediaGenerationPresetControl({
placeholder="Preset name"
maxLength={80}
autoComplete="off"
- className="h-9 min-w-0 rounded-lg bg-background"
+ className="h-9 min-w-0 rounded-full bg-background"
/>
<Button
type="button"
size="sm"
disabled={!canSave}
onClick={() => save().catch(() => undefined)}
- className="h-9 shrink-0 rounded-lg px-3"
+ className="h-9 shrink-0 rounded-full px-3"
>
{saveLabel}
</Button>
@@ -233,7 +233,7 @@ export function MediaGenerationPresetControl({
changeOpen(false);
onImportFromImage();
}}
- className="mt-3 flex h-8 w-full items-center justify-center gap-1.5 rounded-lg text-xs text-muted-foreground transition-colors hover:bg-muted/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"
+ className="mt-3 flex h-8 w-full items-center justify-center gap-1.5 rounded-full text-xs text-muted-foreground transition-colors hover:bg-muted/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"
>
<ImageUp className="size-3.5" />
Load settings from an image
@@ -247,7 +247,7 @@ export function MediaGenerationPresetControl({
changeOpen(false);
onPasteParameters();
}}
- className="mt-1 flex h-8 w-full items-center justify-center gap-1.5 rounded-lg text-xs text-muted-foreground transition-colors hover:bg-muted/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"
+ className="mt-1 flex h-8 w-full items-center justify-center gap-1.5 rounded-full text-xs text-muted-foreground transition-colors hover:bg-muted/70 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"
>
<ClipboardPaste className="size-3.5" />
Paste generation parameters
@@ -258,7 +258,7 @@ export function MediaGenerationPresetControl({
type="button"
disabled={saving}
onClick={() => remove().catch(() => undefined)}
- className="mt-3 flex h-8 w-full items-center justify-center gap-1.5 rounded-lg text-xs text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"
+ className="mt-3 flex h-8 w-full items-center justify-center gap-1.5 rounded-full text-xs text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50"
>
<Trash2 className="size-3.5" />
Delete preset
diff --git a/studio/frontend/src/features/hub/catalog/catalog-states.tsx b/studio/frontend/src/features/hub/catalog/catalog-states.tsx
index 31640e1d0bf..04e22f24ee3 100644
--- a/studio/frontend/src/features/hub/catalog/catalog-states.tsx
+++ b/studio/frontend/src/features/hub/catalog/catalog-states.tsx
@@ -167,7 +167,7 @@ export function NetworkErrorState({
return (
<div className="flex min-h-[calc(260px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-3 px-6 text-center">
- <div className="inline-flex size-11 items-center justify-center rounded-[12px] bg-amber-500/10 text-amber-700 dark:text-amber-300">
+ <div className="inline-flex size-11 items-center justify-center rounded-md bg-amber-500/10 text-amber-700 dark:text-amber-300">
<HugeiconsIcon icon={icon} strokeWidth={1.6} className="size-5" />
</div>
<div className="space-y-1">
@@ -277,7 +277,7 @@ export function DiscoverFetchMoreState({
const hubName = useHubName();
return (
<div className="flex min-h-[calc(260px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-3 px-6 text-center">
- <div className="inline-flex size-11 items-center justify-center rounded-[12px] bg-muted text-muted-foreground">
+ <div className="inline-flex size-11 items-center justify-center rounded-md bg-muted text-muted-foreground">
<HugeiconsIcon icon={FilterIcon} strokeWidth={1.5} className="size-5" />
</div>
<div className="space-y-1">
@@ -336,7 +336,7 @@ export function DiscoverFetchMoreFooter({
onRetry?: () => void;
}) {
return (
- <div className="relative z-10 flex flex-col items-center gap-2 rounded-[16px] bg-card px-4 py-4 text-center">
+ <div className="relative z-10 flex flex-col items-center gap-2 rounded-lg bg-card px-4 py-4 text-center">
{/* Only warn about hidden results when a filter is actually narrowing them. */}
{hasActiveFilters && (
<p className="text-ui-11p5 leading-4 text-muted-foreground">
@@ -378,7 +378,7 @@ export function InventoryErrorState({
}) {
return (
<div className="flex min-h-[calc(260px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-3 px-6 text-center">
- <div className="inline-flex size-11 items-center justify-center rounded-[12px] bg-amber-500/10 text-amber-700 dark:text-amber-300">
+ <div className="inline-flex size-11 items-center justify-center rounded-md bg-amber-500/10 text-amber-700 dark:text-amber-300">
<HugeiconsIcon icon={CloudOffIcon} strokeWidth={1.6} className="size-5" />
</div>
<div className="space-y-1">
@@ -416,7 +416,7 @@ export function EmptyState({
}) {
return (
<div className="flex min-h-[calc(220px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-3 px-6 text-center">
- <div className="inline-flex size-11 items-center justify-center rounded-[12px] bg-muted text-muted-foreground">
+ <div className="inline-flex size-11 items-center justify-center rounded-md bg-muted text-muted-foreground">
<HugeiconsIcon icon={icon} strokeWidth={1.5} className="size-5" />
</div>
<div className="space-y-1">
@@ -435,7 +435,7 @@ export function EmptyState({
function SkeletonRow() {
return (
<div className="flex items-center gap-3 px-3 py-2.5">
- <div className="size-8 shrink-0 animate-pulse rounded-[9px] bg-muted" />
+ <div className="size-8 shrink-0 animate-pulse rounded-sm bg-muted" />
<div className="min-w-0 flex-1 space-y-1.5">
<div className="h-[calc(13px*var(--ui-space-scale,1))] w-1/2 animate-pulse rounded-full bg-muted" />
<div className="h-[calc(11px*var(--ui-space-scale,1))] w-3/4 animate-pulse rounded-full bg-muted/70" />
diff --git a/studio/frontend/src/features/hub/catalog/external-link-confirm-dialog.tsx b/studio/frontend/src/features/hub/catalog/external-link-confirm-dialog.tsx
index 85cc31d24bc..b4f15e91172 100644
--- a/studio/frontend/src/features/hub/catalog/external-link-confirm-dialog.tsx
+++ b/studio/frontend/src/features/hub/catalog/external-link-confirm-dialog.tsx
@@ -54,7 +54,7 @@ export function ExternalLinkConfirmDialog() {
</AlertDialogDescription>
</AlertDialogHeader>
{pendingUrl && (
- <div className="min-w-0 rounded-[12px] bg-muted/50 px-3.5 py-3 text-left">
+ <div className="min-w-0 rounded-lg bg-muted/50 px-3.5 py-3 text-left">
<p className="truncate text-ui-13 font-medium text-foreground">
{hostOf(pendingUrl)}
</p>
diff --git a/studio/frontend/src/features/hub/catalog/free-up-space-dialog.tsx b/studio/frontend/src/features/hub/catalog/free-up-space-dialog.tsx
index 663d85d37ad..0260230b02b 100644
--- a/studio/frontend/src/features/hub/catalog/free-up-space-dialog.tsx
+++ b/studio/frontend/src/features/hub/catalog/free-up-space-dialog.tsx
@@ -148,7 +148,7 @@ export function FreeUpSpaceDialog({
{companions.map((companion, index) => (
<li
key={companionIdentity(companion)}
- className="flex items-center gap-3 rounded-[10px] px-2 py-2 hover:bg-muted/50"
+ className="flex items-center gap-3 rounded-md px-2 py-2 hover:bg-muted/50"
>
<Checkbox
id={`orphan-${index}`}
diff --git a/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx b/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx
index d402a788b52..abb66618d32 100644
--- a/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx
+++ b/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx
@@ -575,7 +575,7 @@ const GgufVariantMenuRow = memo(function GgufVariantMenuRow({
onClick={selectVariant}
onKeyDown={handleKeyDown}
className={cn(
- "group relative mx-2 flex cursor-pointer items-center gap-2 rounded-[12px] px-2.5 py-2 text-left transition-colors",
+ "group relative mx-2 flex cursor-pointer items-center gap-2 rounded-md px-2.5 py-2 text-left transition-colors",
selected
? // Dark: --accent, the app's one selection colour. The 12% wash it
// carried matched --accent at the default but was scaled by the
diff --git a/studio/frontend/src/features/hub/catalog/hub-option-menu.tsx b/studio/frontend/src/features/hub/catalog/hub-option-menu.tsx
index 2d547a43576..6a9f3d7e35e 100644
--- a/studio/frontend/src/features/hub/catalog/hub-option-menu.tsx
+++ b/studio/frontend/src/features/hub/catalog/hub-option-menu.tsx
@@ -209,7 +209,7 @@ export function HubOptionMenu<T extends string>({
onCloseAutoFocus={(event) => event.preventDefault()}
className={cn(
"hub-menu-instant menu-soft-surface w-max min-w-[var(--radix-popover-trigger-width)] max-w-[min(var(--radix-popover-content-available-width),calc(100vw-1rem))] ring-0",
- composer ? "hub-composer-menu gap-0" : "rounded-[14px] p-1",
+ composer ? "hub-composer-menu gap-0" : "rounded-lg p-1",
contentClassName,
)}
>
@@ -242,9 +242,8 @@ export function HubOptionMenu<T extends string>({
"relative flex w-full min-w-0 cursor-pointer select-none items-center py-2 pl-3 text-left text-sm outline-none transition-colors",
composer
? "hub-menu-row pr-9"
- : // 14px menu radius minus the 4px padding, so the hover nests
- // cleanly into the dropdown's corners.
- "rounded-[10px] pr-8 leading-snug",
+ : // 12px rows in a 16px menu with a 4px gutter, so the hover nests in its corners.
+ "rounded-md pr-8 leading-snug",
)}
>
<span className="flex min-w-0 flex-1 items-center gap-2.5 overflow-hidden whitespace-normal break-words">
diff --git a/studio/frontend/src/features/hub/catalog/hub-section-row.tsx b/studio/frontend/src/features/hub/catalog/hub-section-row.tsx
index b8c4eed9554..950dbba7816 100644
--- a/studio/frontend/src/features/hub/catalog/hub-section-row.tsx
+++ b/studio/frontend/src/features/hub/catalog/hub-section-row.tsx
@@ -29,7 +29,7 @@ function HubSectionRowSkeleton({
{SKELETON_KEYS.map((key) => (
<Skeleton
key={key}
- className="shrink-0 rounded-[20px]"
+ className="shrink-0 rounded-2xl"
style={{ width, height }}
/>
))}
@@ -71,7 +71,7 @@ export const HubSectionRow = memo(function HubSectionRow({
type="button"
onClick={onOpenList}
aria-label={`See all ${title}`}
- className="hub-section-title group/section -mx-1 inline-flex cursor-pointer items-center gap-1.5 rounded-md px-1 text-ui-18 font-semibold tracking-[-0.02em] text-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="hub-section-title group/section -mx-1 inline-flex cursor-pointer items-center gap-1.5 rounded-full px-1 text-ui-18 font-semibold tracking-[-0.02em] text-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{title}
<ChevronRightIcon
diff --git a/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx b/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx
index 3b819b4c51f..46e96fd3142 100644
--- a/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx
+++ b/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx
@@ -142,8 +142,8 @@ function BaseModelReference({
const hfEndpoint = useHfEndpoint();
const hubUrl = `${hfEndpoint}/${baseModelHubId}`;
return (
- <div className="flex min-w-0 items-center gap-2 rounded-[10px] border border-border/55 bg-muted/35 px-3 py-2">
- <div className="flex size-7 shrink-0 items-center justify-center rounded-[8px] bg-background/70 text-muted-foreground">
+ <div className="flex min-w-0 items-center gap-2 rounded-lg border border-border/55 bg-muted/35 px-3 py-2">
+ <div className="flex size-7 shrink-0 items-center justify-center rounded-sm bg-background/70 text-muted-foreground">
<HugeiconsIcon
icon={LayerIcon}
strokeWidth={1.75}
@@ -484,7 +484,7 @@ export function LocalOnDeviceCard({
return (
<div className="flex w-full flex-col gap-2">
{showOldCacheHint && (
- <div className="flex items-start gap-2 rounded-[12px] border border-amber-500/20 bg-amber-500/8 px-3 py-2 text-ui-12 leading-5 text-amber-700 dark:text-amber-300">
+ <div className="flex items-start gap-2 rounded-lg border border-amber-500/20 bg-amber-500/8 px-3 py-2 text-ui-12 leading-5 text-amber-700 dark:text-amber-300">
<HugeiconsIcon
icon={Alert02Icon}
strokeWidth={1.75}
@@ -514,7 +514,7 @@ export function LocalOnDeviceCard({
<button
type="button"
disabled={currentVariantState.loading || runPending}
- className="inline-flex h-6 max-w-[calc(170px*var(--ui-space-scale,1))] shrink-0 cursor-pointer items-center gap-1.5 rounded-[8px] border border-format-gguf/35 px-2 font-mono text-ui-10p5 leading-none text-format-gguf transition-colors hover:bg-format-gguf/8 disabled:cursor-not-allowed disabled:opacity-60"
+ className="inline-flex h-6 max-w-[calc(170px*var(--ui-space-scale,1))] shrink-0 cursor-pointer items-center gap-1.5 rounded-full border border-format-gguf/35 px-2 font-mono text-ui-10p5 leading-none text-format-gguf transition-colors hover:bg-format-gguf/8 disabled:cursor-not-allowed disabled:opacity-60"
>
<span className="truncate">
{currentVariantState.loading
@@ -565,7 +565,7 @@ export function LocalOnDeviceCard({
setVariantOpen(false);
}}
className={cn(
- "mx-2 flex w-[calc(100%-1rem*var(--ui-space-scale,1))] min-w-0 cursor-pointer items-center gap-2 rounded-[10px] px-2.5 py-2 text-left transition-colors",
+ "mx-2 flex w-[calc(100%-1rem*var(--ui-space-scale,1))] min-w-0 cursor-pointer items-center gap-2 rounded-md px-2.5 py-2 text-left transition-colors",
isSelected
? "bg-[color-mix(in_oklab,var(--foreground)_calc(7%*var(--contrast-wash-gain,1)),transparent)] dark:bg-[color-mix(in_oklab,var(--foreground)_calc(12%*var(--contrast-wash-gain,1)),transparent)]"
: "hover:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)] dark:hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)]",
diff --git a/studio/frontend/src/features/hub/catalog/model-card.tsx b/studio/frontend/src/features/hub/catalog/model-card.tsx
index f3f65dfc022..84f986e7209 100644
--- a/studio/frontend/src/features/hub/catalog/model-card.tsx
+++ b/studio/frontend/src/features/hub/catalog/model-card.tsx
@@ -294,7 +294,7 @@ export const ModelCard = memo(function ModelCard({
<OwnerAvatar
owner={row.owner}
repoName={row.repo}
- className="size-11 shrink-0 rounded-[14px] text-ui-17 ring-1 ring-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]"
+ className="size-11 shrink-0 rounded-md text-ui-17 ring-1 ring-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]"
remote={false}
/>
<div className="min-w-0 flex-1 space-y-0.5">
diff --git a/studio/frontend/src/features/hub/catalog/model-inspector.tsx b/studio/frontend/src/features/hub/catalog/model-inspector.tsx
index 40748714208..c46d5e5ac29 100644
--- a/studio/frontend/src/features/hub/catalog/model-inspector.tsx
+++ b/studio/frontend/src/features/hub/catalog/model-inspector.tsx
@@ -540,7 +540,7 @@ export const ModelInspector = memo(function ModelInspector({
if (!model) {
return (
<div className="flex min-h-[60dvh] flex-col items-center justify-center gap-3 py-16 text-center">
- <div className="inline-flex size-12 items-center justify-center rounded-[14px] bg-muted text-muted-foreground">
+ <div className="inline-flex size-12 items-center justify-center rounded-lg bg-muted text-muted-foreground">
<HugeiconsIcon icon={CubeIcon} strokeWidth={1.5} className="size-5" />
</div>
<div className="space-y-1">
@@ -630,7 +630,7 @@ export const ModelInspector = memo(function ModelInspector({
<OwnerAvatar
owner={model.owner}
repoName={model.title}
- className="size-[calc(60px*var(--ui-space-scale,1))] rounded-[18px] text-ui-19"
+ className="size-[calc(60px*var(--ui-space-scale,1))] rounded-lg text-ui-19"
/>
<div className="min-w-0 flex-1">
<div className="flex min-w-0 items-center gap-1.5">
@@ -787,7 +787,7 @@ export const ModelInspector = memo(function ModelInspector({
<div className="pb-5 pt-5">
{selectionHiddenByFilters && (
- <p className="mb-3 rounded-[8px] border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-ui-11p5 leading-snug text-muted-foreground">
+ <p className="mb-3 rounded-lg border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-ui-11p5 leading-snug text-muted-foreground">
Current selection is hidden by the active filters or search.
</p>
)}
diff --git a/studio/frontend/src/features/hub/catalog/model-readme.tsx b/studio/frontend/src/features/hub/catalog/model-readme.tsx
index d1590545054..0f9f6710347 100644
--- a/studio/frontend/src/features/hub/catalog/model-readme.tsx
+++ b/studio/frontend/src/features/hub/catalog/model-readme.tsx
@@ -143,13 +143,13 @@ const PROSE = cn(
"[&_p]:my-2.5 [&_ul]:my-2 [&_ol]:my-2 [&_li]:my-0.5",
"[&_a]:text-primary [&_a:hover]:underline",
"[&_code]:rounded-md [&_code]:bg-muted/60 [&_code]:px-1 [&_code]:py-0.5 [&_code]:text-ui-12 [&_code]:font-mono",
- "[&_pre]:rounded-[12px] [&_pre]:border [&_pre]:border-border/60 [&_pre]:bg-muted/40 [&_pre]:p-3 [&_pre]:text-ui-12 [&_pre]:overflow-x-auto",
+ "[&_pre]:rounded-lg [&_pre]:border [&_pre]:border-border/60 [&_pre]:bg-muted/40 [&_pre]:p-3 [&_pre]:text-ui-12 [&_pre]:overflow-x-auto",
"[&_pre_code]:bg-transparent [&_pre_code]:p-0",
"[&_blockquote]:border-l-2 [&_blockquote]:border-border/60 [&_blockquote]:pl-3 [&_blockquote]:text-muted-foreground",
"[&_table]:text-ui-12p5",
- "[&_img]:rounded-[10px] [&_img]:my-2 [&_img]:max-w-full",
+ "[&_img]:rounded-lg [&_img]:my-2 [&_img]:max-w-full",
"[&_audio]:my-1 [&_audio]:max-w-full [&_audio]:h-9 [&_audio]:align-middle",
- "[&_video]:my-2 [&_video]:max-w-full [&_video]:rounded-[10px]",
+ "[&_video]:my-2 [&_video]:max-w-full [&_video]:rounded-lg",
"[&_hr]:my-4 [&_hr]:border-border/40",
);
diff --git a/studio/frontend/src/features/hub/catalog/model-search-filters.tsx b/studio/frontend/src/features/hub/catalog/model-search-filters.tsx
index 6fcdbc6a4f7..1ea336499c4 100644
--- a/studio/frontend/src/features/hub/catalog/model-search-filters.tsx
+++ b/studio/frontend/src/features/hub/catalog/model-search-filters.tsx
@@ -290,7 +290,7 @@ function RangeStops({
!edge(i) && "-translate-x-1/2",
covered(i)
? cn(
- "-mx-1 -my-0.5 rounded-md px-1 py-0.5 font-semibold text-background",
+ "-mx-1 -my-0.5 rounded-full px-1 py-0.5 font-semibold text-background",
RANGE_FILL,
)
: "text-muted-foreground",
diff --git a/studio/frontend/src/features/hub/catalog/models-catalog-lists.tsx b/studio/frontend/src/features/hub/catalog/models-catalog-lists.tsx
index dac93aaa9a5..29504ac59bc 100644
--- a/studio/frontend/src/features/hub/catalog/models-catalog-lists.tsx
+++ b/studio/frontend/src/features/hub/catalog/models-catalog-lists.tsx
@@ -71,7 +71,7 @@ export function InventoryWarningRow({
onRetry: () => void;
}) {
return (
- <div className="mx-5 mt-2 rounded-[8px] border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-ui-12p5 text-muted-foreground">
+ <div className="mx-5 mt-2 rounded-lg border border-amber-500/30 bg-amber-500/10 px-3 py-2 text-ui-12p5 text-muted-foreground">
<div className="flex items-center justify-between gap-3">
<span>
Some on-device sources couldn't be scanned. Showing available{" "}
diff --git a/studio/frontend/src/features/hub/catalog/models-catalog-rows.tsx b/studio/frontend/src/features/hub/catalog/models-catalog-rows.tsx
index d8d0d168867..d486ed782ed 100644
--- a/studio/frontend/src/features/hub/catalog/models-catalog-rows.tsx
+++ b/studio/frontend/src/features/hub/catalog/models-catalog-rows.tsx
@@ -271,8 +271,8 @@ function CatalogRow({
className={cn(
"group/row relative w-full select-none overflow-hidden text-left",
card
- ? "hub-result-row flex h-full items-center rounded-[16px] px-4"
- : "catalog-row block rounded-[14px] pl-3 pr-2.5 py-2.5",
+ ? "hub-result-row flex h-full items-center rounded-2xl px-4"
+ : "catalog-row block rounded-md pl-3 pr-2.5 py-2.5",
)}
>
<button
@@ -281,7 +281,7 @@ function CatalogRow({
onClick={onClick}
className={cn(
"absolute inset-0 cursor-pointer outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-inset",
- card ? "rounded-[16px]" : "rounded-[14px]",
+ card ? "rounded-2xl" : "rounded-md",
)}
/>
<CatalogRowInteractiveContext.Provider value={interactive}>
@@ -503,7 +503,7 @@ export const DiscoverModelRow = memo(function DiscoverModelRow({
<OwnerAvatar
owner={row.owner}
repoName={row.repo}
- className="size-8 rounded-[11px]"
+ className="size-8 rounded-sm"
remote={false}
/>
<div className="flex min-w-0 flex-1 flex-col gap-[calc(3px*var(--ui-space-scale,1))]">
@@ -860,7 +860,7 @@ export const InventoryRow = memo(function InventoryRow({
<OwnerAvatar
owner={row.owner}
repoName={title}
- className="size-8 shrink-0 rounded-[9px] text-ui-12"
+ className="size-8 shrink-0 rounded-sm text-ui-12"
remote={false}
/>
<div className="min-w-0 flex-1">
@@ -931,7 +931,7 @@ export const InventoryRow = memo(function InventoryRow({
<OwnerAvatar
owner={row.owner}
repoName={title}
- className="size-9 rounded-[12px]"
+ className="size-9 rounded-md"
remote={false}
/>
<div className="min-w-0 flex-1">
diff --git a/studio/frontend/src/features/hub/catalog/models-table.tsx b/studio/frontend/src/features/hub/catalog/models-table.tsx
index 056279c72a8..a1370c3390a 100644
--- a/studio/frontend/src/features/hub/catalog/models-table.tsx
+++ b/studio/frontend/src/features/hub/catalog/models-table.tsx
@@ -405,7 +405,7 @@ export const ResultCard = memo(function ResultCard({
<OwnerAvatar
owner={row.owner}
repoName={row.repo}
- className="size-[calc(52px*var(--ui-space-scale,1))] shrink-0 rounded-[16px] text-ui-16 max-md:size-[calc(42px*var(--ui-space-scale,1))] max-md:rounded-[13px] max-md:text-ui-14 ring-1 ring-[rgb(0_0_0_/_calc(0.05*var(--contrast-edge-gain,1)))] dark:ring-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]"
+ className="size-[calc(52px*var(--ui-space-scale,1))] shrink-0 rounded-lg text-ui-16 max-md:size-[calc(42px*var(--ui-space-scale,1))] max-md:rounded-md max-md:text-ui-14 ring-1 ring-[rgb(0_0_0_/_calc(0.05*var(--contrast-edge-gain,1)))] dark:ring-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]"
remote={false}
/>
<div className="flex min-w-0 flex-1 flex-col">
@@ -532,12 +532,12 @@ export const ResultSplitRow = memo(function ResultSplitRow({
aria-current={selected || undefined}
data-selected={selected || undefined}
onClick={() => onSelect(row.id)}
- className="group/row flex h-full w-full cursor-pointer items-center gap-2.5 rounded-[12px] px-2.5 text-left outline-none transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] data-[selected]:bg-[color-mix(in_oklab,var(--foreground)_calc(7%*var(--contrast-wash-gain,1)),transparent)] focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-inset dark:hover:bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))] dark:data-[selected]:bg-accent"
+ className="group/row flex h-full w-full cursor-pointer items-center gap-2.5 rounded-md px-2.5 text-left outline-none transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)] data-[selected]:bg-[color-mix(in_oklab,var(--foreground)_calc(7%*var(--contrast-wash-gain,1)),transparent)] focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-inset dark:hover:bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))] dark:data-[selected]:bg-accent"
>
<OwnerAvatar
owner={row.owner}
repoName={row.repo}
- className="size-8 shrink-0 rounded-[9px] text-ui-12"
+ className="size-8 shrink-0 rounded-sm text-ui-12"
remote={false}
/>
<div className="flex min-w-0 flex-1 flex-col">
diff --git a/studio/frontend/src/features/hub/catalog/npu-catalog-list.tsx b/studio/frontend/src/features/hub/catalog/npu-catalog-list.tsx
index 30e9fd02648..3b86bdc79b4 100644
--- a/studio/frontend/src/features/hub/catalog/npu-catalog-list.tsx
+++ b/studio/frontend/src/features/hub/catalog/npu-catalog-list.tsx
@@ -122,7 +122,7 @@ function NpuCatalogRow({
<div
data-testid="hub-npu-row"
data-model={model.id}
- className="flex items-center gap-3 rounded-xl px-3 py-2.5 transition-colors hover:bg-accent/50"
+ className="flex items-center gap-3 rounded-md px-3 py-2.5 transition-colors hover:bg-accent/50"
>
<span
aria-hidden={true}
diff --git a/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx b/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx
index 8b452810751..a5df9c486da 100644
--- a/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx
+++ b/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx
@@ -307,7 +307,7 @@ export function OnDeviceFoldersDialog({
<div className="min-h-0 flex-1 space-y-4 overflow-y-auto px-5 py-4">
<section
aria-labelledby="models-folder-heading"
- className="rounded-[14px] border border-border/70 bg-muted/20 p-3"
+ className="rounded-lg border border-border/70 bg-muted/20 p-3"
>
<div
id="models-folder-heading"
@@ -407,7 +407,7 @@ export function OnDeviceFoldersDialog({
<section
aria-labelledby="custom-folders-heading"
- className="overflow-hidden rounded-[14px] border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
<div className="flex h-10 items-center justify-between gap-2 border-b border-border/60 px-3">
<div className="flex min-w-0 items-center gap-1.5">
@@ -630,7 +630,7 @@ function FolderRow({
const switchId = `scan-folder-recursive-${folder.id}`;
return (
<li className="flex min-h-14 items-center gap-3 border-b border-border/50 px-3 py-2.5 last:border-b-0">
- <div className="flex size-8 shrink-0 items-center justify-center rounded-[9px] bg-muted text-muted-foreground">
+ <div className="flex size-8 shrink-0 items-center justify-center rounded-sm bg-muted text-muted-foreground">
<HugeiconsIcon
icon={FolderOpenIcon}
strokeWidth={1.75}
diff --git a/studio/frontend/src/features/hub/catalog/owner-avatar.tsx b/studio/frontend/src/features/hub/catalog/owner-avatar.tsx
index b5177e3c6e6..175128db0b5 100644
--- a/studio/frontend/src/features/hub/catalog/owner-avatar.tsx
+++ b/studio/frontend/src/features/hub/catalog/owner-avatar.tsx
@@ -13,10 +13,10 @@ import {
type AvatarSize = "xs" | "sm" | "md" | "lg";
const SIZES: Record<AvatarSize, string> = {
- xs: "size-5 rounded-[8px] text-ui-9",
- sm: "size-7 rounded-[10px] text-ui-11",
- md: "size-9 rounded-[12px] text-ui-13",
- lg: "size-12 rounded-[15px] text-ui-16",
+ xs: "size-5 rounded-sm text-ui-9",
+ sm: "size-7 rounded-sm text-ui-11",
+ md: "size-9 rounded-md text-ui-13",
+ lg: "size-12 rounded-lg text-ui-16",
};
const UNSLOTH_OWNER_LOGO: ProviderLogo = {
diff --git a/studio/frontend/src/features/hub/catalog/recent-searches.tsx b/studio/frontend/src/features/hub/catalog/recent-searches.tsx
index d2f09dd62d6..1866c9973b1 100644
--- a/studio/frontend/src/features/hub/catalog/recent-searches.tsx
+++ b/studio/frontend/src/features/hub/catalog/recent-searches.tsx
@@ -27,7 +27,7 @@ export function RecentSearches({
}
return (
<div
- className="hub-recent-panel menu-soft-surface dropdown-surface absolute inset-x-0 top-full z-50 mt-2 overflow-hidden rounded-[16px] p-1.5"
+ className="hub-recent-panel menu-soft-surface dropdown-surface absolute inset-x-0 top-full z-50 mt-2 overflow-hidden rounded-lg p-1"
style={top === undefined ? undefined : { top }}
aria-label="Recent searches"
onMouseDown={(event) => event.preventDefault()}
@@ -47,11 +47,11 @@ export function RecentSearches({
<ul className="flex flex-col">
{searches.map((query) => (
<li key={query}>
- <div className="hub-recent-item group/recent flex items-center rounded-[10px] pr-1.5">
+ <div className="hub-recent-item group/recent flex items-center rounded-md pr-1.5">
<button
type="button"
onClick={() => onSelect(query)}
- className="flex min-w-0 flex-1 items-center gap-2.5 rounded-l-[10px] py-2 pl-2.5 text-left"
+ className="flex min-w-0 flex-1 items-center gap-2.5 rounded-l-md py-2 pl-2.5 text-left"
>
<HugeiconsIcon
icon={Clock01Icon}
diff --git a/studio/frontend/src/features/hub/components/hf-token-indicator.tsx b/studio/frontend/src/features/hub/components/hf-token-indicator.tsx
index 977fe1021ce..89210f62d48 100644
--- a/studio/frontend/src/features/hub/components/hf-token-indicator.tsx
+++ b/studio/frontend/src/features/hub/components/hf-token-indicator.tsx
@@ -50,7 +50,7 @@ export function HfTokenIndicator({
onClick={onOpenSettings}
aria-label={ariaLabel}
className={cn(
- "hub-menu-trigger field-soft inline-flex h-9 w-full items-center justify-between gap-2 rounded-[12px] py-0 pl-1.5 pr-3 text-ui-12p5 font-medium text-foreground transition-colors",
+ "hub-menu-trigger field-soft inline-flex h-9 w-full items-center justify-between gap-2 rounded-full py-0 pl-1.5 pr-3 text-ui-12p5 font-medium text-foreground transition-colors",
PICKER_FOCUS_VISIBLE_CLASS,
)}
>
diff --git a/studio/frontend/src/features/hub/components/page-heading.tsx b/studio/frontend/src/features/hub/components/page-heading.tsx
index 06dfcd922d0..718c6840913 100644
--- a/studio/frontend/src/features/hub/components/page-heading.tsx
+++ b/studio/frontend/src/features/hub/components/page-heading.tsx
@@ -29,7 +29,7 @@ export function PageHeading({
onClick={onTitleClick}
className={cn(
TITLE_CLASS,
- "cursor-pointer rounded-md text-left outline-none transition-opacity hover:opacity-80 focus-visible:ring-1 focus-visible:ring-ring",
+ "cursor-pointer rounded-full text-left outline-none transition-opacity hover:opacity-80 focus-visible:ring-1 focus-visible:ring-ring",
)}
>
{title}
diff --git a/studio/frontend/src/features/hub/hub.css b/studio/frontend/src/features/hub/hub.css
index 374efa0c8df..fdc76ec910c 100644
--- a/studio/frontend/src/features/hub/hub.css
+++ b/studio/frontend/src/features/hub/hub.css
@@ -265,7 +265,7 @@
);
position: relative;
overflow: hidden;
- border-radius: 18px;
+ border-radius: var(--radius-2xl);
background-color: color-mix(in srgb, var(--foreground) calc(2.5% * var(--contrast-wash-gain, 1)), transparent);
border: 1px solid transparent;
box-shadow: none;
@@ -449,7 +449,7 @@
--hub-trending-muted-ink: rgb(255 255 255 / 0.68);
isolation: isolate;
border: 0;
- border-radius: 18px;
+ border-radius: var(--radius-2xl);
background-color: var(--hub-trending-surface);
box-shadow: none;
transition: background-color 160ms ease;
@@ -600,7 +600,7 @@
column; the scroll pane (not the column) bounds it. */
.hub-page .hub-result-row {
border: 0;
- border-radius: 14px;
+ border-radius: var(--radius-2xl);
background-color: var(--card);
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.16);
transition:
@@ -609,16 +609,6 @@
transform 180ms ease;
}
- .hub-page .hub-result-row.hub-result-card {
- border-radius: 16px;
- }
-
- @media (max-width: 767px) {
- .hub-page .hub-result-row.hub-result-card {
- border-radius: 14px;
- }
- }
-
.hub-page .hub-result-row:hover {
background-color: var(--card);
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.16);
@@ -721,7 +711,7 @@
/* The composer + menu's shape: 12px rows on a 9px gutter keep the 21px corners concentric. */
.hub-composer-menu[data-slot] {
- border-radius: 21px !important;
+ border-radius: var(--radius-xl) !important;
padding: calc(0.5rem * var(--ui-space-scale, 1)) calc(9px * var(--ui-space-scale, 1)) !important;
}
html.dark .hub-composer-menu {
@@ -729,7 +719,7 @@
}
.hub-composer-menu .hub-menu-row {
margin-block: 2px;
- border-radius: 12px;
+ border-radius: var(--radius-md);
}
.hub-composer-menu .hub-menu-row:is(:hover, [data-highlighted]) {
background-color: rgb(0 0 0 / calc(0.06 * var(--contrast-wash-gain, 1)));
@@ -922,7 +912,7 @@
@apply bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))] ring-[rgb(255_255_255_/_calc(0.035*var(--contrast-edge-gain,1)))];
}
.hub-download-card {
- @apply flex w-full flex-col gap-2 rounded-[22px] p-2;
+ @apply flex w-full flex-col gap-2 rounded-2xl p-2;
background-color: color-mix(in srgb, var(--foreground) calc(3% * var(--contrast-wash-gain, 1)), transparent);
border: 1px solid color-mix(in srgb, var(--foreground) calc(5.5% * var(--contrast-edge-gain, 1)), transparent);
box-shadow: none;
@@ -941,7 +931,7 @@
}
.hub-download-panel {
- border-radius: 20px;
+ border-radius: var(--radius-xl);
background-color: var(--popover);
border: 1px solid color-mix(in srgb, var(--foreground) calc(6% * var(--contrast-edge-gain, 1)), transparent);
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.16);
@@ -1378,7 +1368,7 @@
transform: translateY(-50%);
align-items: center;
justify-content: center;
- border-radius: 8px;
+ border-radius: 9999px;
color: var(--muted-foreground);
opacity: 0;
cursor: pointer;
@@ -1471,7 +1461,7 @@
);
position: relative;
overflow: hidden;
- border-radius: 24px;
+ border-radius: var(--radius-3xl);
border: 1px solid transparent;
background-color: var(--hub-hero-fill);
}
@@ -1569,7 +1559,7 @@
}
.hub-page .hub-hero-panel {
- border-radius: 18px;
+ border-radius: var(--radius-xl);
border: 1px solid transparent;
background-color: color-mix(in srgb, var(--background) 72%, transparent);
}
diff --git a/studio/frontend/src/features/igpu-carveout/igpu-carveout-toast.ts b/studio/frontend/src/features/igpu-carveout/igpu-carveout-toast.ts
index f80652a78f9..689f9ea076b 100644
--- a/studio/frontend/src/features/igpu-carveout/igpu-carveout-toast.ts
+++ b/studio/frontend/src/features/igpu-carveout/igpu-carveout-toast.ts
@@ -25,15 +25,15 @@ export const IGPU_CARVEOUT_NOTICE_DURATION_MS = 12000;
export const IGPU_CARVEOUT_NOTICE_TITLE = "This model could run faster";
-/** The action, outlined and right-aligned rather than sonner's filled default.
+/** The action, a neutral wash and right-aligned rather than sonner's filled default.
*
* A solid button reads as the thing to do, and the thing to do here is nothing. And
* the shared toast CSS puts an action at `justify-self: start`, which under six lines
* of description floats it mid-toast, aligned to neither edge. Overridden here rather
* than in that shared rule because every other toast's action IS the thing to do. */
export const IGPU_CARVEOUT_ACTION_CLASS =
- "!justify-self-end !h-[calc(26px*var(--ui-space-scale,1))] !border !border-border !bg-transparent !px-3 " +
- "!font-medium !text-foreground hover:!bg-accent";
+ "!justify-self-end !h-[calc(26px*var(--ui-space-scale,1))] !border-0 !px-3 !font-medium !text-foreground " +
+ "!bg-[rgb(0_0_0_/_calc(0.06*var(--contrast-wash-gain,1)))] hover:!bg-[rgb(0_0_0_/_calc(0.09*var(--contrast-wash-gain,1)))] dark:!bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:hover:!bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]";
/** The model the notice on screen is about, so an unload can take it down.
*
diff --git a/studio/frontend/src/features/images/compare/compare-panel.tsx b/studio/frontend/src/features/images/compare/compare-panel.tsx
index d8fd633db1b..46e4face59e 100644
--- a/studio/frontend/src/features/images/compare/compare-panel.tsx
+++ b/studio/frontend/src/features/images/compare/compare-panel.tsx
@@ -358,7 +358,7 @@ export default function ComparePanel(props: ComparePanelProps) {
<div className="max-h-[70dvh] space-y-4 overflow-auto">
{grids.map((g, i) => (
<figure key={g.url} className="space-y-2">
- <img src={g.url} alt={g.title || "Compare grid"} className="mx-auto max-w-full rounded-md" />
+ <img src={g.url} alt={g.title || "Compare grid"} className="mx-auto max-w-full rounded-lg" />
<figcaption className="flex items-center justify-between gap-2 text-xs text-muted-foreground">
<span>
{g.title ? `${g.title}, ` : ""}
diff --git a/studio/frontend/src/features/images/hires-controls.tsx b/studio/frontend/src/features/images/hires-controls.tsx
index e8d0bc4f401..a6b4614af37 100644
--- a/studio/frontend/src/features/images/hires-controls.tsx
+++ b/studio/frontend/src/features/images/hires-controls.tsx
@@ -113,7 +113,7 @@ export function HiresControls({
/>
</div>
{choice.enabled && (
- <div className="flex flex-col gap-2 rounded-md border border-border/60 p-2">
+ <div className="flex flex-col gap-2 rounded-lg border border-border/60 p-2">
<div className="flex items-center justify-between gap-2">
<Label label="Upscale by" hint="Output size is the base size times this factor, rounded to a multiple of 16." />
<NumberInput
diff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsx
index c0298cb0cfd..d283c4a7640 100644
--- a/studio/frontend/src/features/images/images-page.tsx
+++ b/studio/frontend/src/features/images/images-page.tsx
@@ -926,7 +926,7 @@ function ResolvedBadge({
const badge = (
<span
className={cn(
- "shrink-0 rounded-sm px-1 py-px text-ui-9 font-medium uppercase tracking-wider",
+ "shrink-0 rounded-full px-1 py-px text-ui-9 font-medium uppercase tracking-wider",
info.tone === "warn"
? "bg-destructive/15 text-destructive"
: "bg-muted text-muted-foreground",
@@ -1184,7 +1184,7 @@ function MaskCanvas({
};
return (
- <div className="relative overflow-hidden rounded-[10px] border border-border bg-muted/30">
+ <div className="relative overflow-hidden rounded-lg border border-border bg-muted/30">
<img
src={image}
alt="Inpaint source"
@@ -1508,7 +1508,7 @@ function LoadedBuildSummary({ status }: { status: DiffusionStatus | null }) {
if (!status?.loaded) return null;
const offload = status.offload_policy ?? "none";
return (
- <div className="flex flex-col gap-1 rounded-md border border-border/60 px-2.5 py-2 text-ui-11">
+ <div className="flex flex-col gap-1 rounded-lg border border-border/60 px-2.5 py-2 text-ui-11">
<div className="flex items-center gap-1 pb-0.5 text-xs font-medium text-muted-foreground">
Loaded build
<InfoHint>
@@ -6468,7 +6468,7 @@ export function ImagesPage({
className={cn(
// No border in either mode: the fill alone marks the state, and a ring would not survive
// mouse focus anyway (index.css blanks it).
- "rounded-lg px-2 py-1.5 text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
+ "rounded-full px-2 py-1.5 text-xs font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
on
? "bg-primary/15 text-foreground hover:bg-primary/20 dark:bg-primary/25 dark:hover:bg-primary/30"
: "bg-muted text-muted-foreground hover:bg-muted/70 hover:text-foreground dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]",
@@ -6813,7 +6813,7 @@ export function ImagesPage({
/>
)}
{!external && !loraCapable && offersNativeLoraReload(status) && (
- <div className="flex items-center justify-between gap-2 rounded-md border border-dashed px-3 py-2 text-xs text-muted-foreground">
+ <div className="flex items-center justify-between gap-2 rounded-lg border border-dashed px-3 py-2 text-xs text-muted-foreground">
<span>LoRAs need the native engine for this GGUF; diffusers runs it without them.</span>
<Button size="sm" variant="secondary" className="h-7 shrink-0 text-xs" disabled={busy !== null} onClick={handleNativeReload}>
Reload with native engine
@@ -6821,7 +6821,7 @@ export function ImagesPage({
</div>
)}
{!external && !loraCapable && offersCompiledLoraReload(status) && (
- <div className="flex items-center justify-between gap-2 rounded-md border border-dashed px-3 py-2 text-xs text-muted-foreground">
+ <div className="flex items-center justify-between gap-2 rounded-lg border border-dashed px-3 py-2 text-xs text-muted-foreground">
<span>Speed compiled this model after a few images, so LoRAs are off. Reload it to add LoRAs.</span>
{(canReapply || residentReloadTarget(status) !== null) && (
<Button size="sm" variant="secondary" className="h-7 shrink-0 text-xs" disabled={busy !== null} onClick={handleReapply}>
@@ -7310,7 +7310,7 @@ export function ImagesPage({
{/* Actions grouped in one glass toolbar so they stay legible over any image. Size and seed
live in the Recipe popover. */}
{/* No button borders: focus returning from a menu would draw one. Keyboard focus tints instead. */}
- <div className="absolute bottom-4 right-4 flex items-center gap-0.5 rounded-xl bg-background/80 p-1 shadow-lg ring-1 ring-border backdrop-blur [&_[data-slot=button]]:border-0 [&_[data-slot=button]:focus-visible]:bg-muted">
+ <div className="absolute bottom-4 right-4 flex items-center gap-0.5 rounded-full bg-background/80 p-1 shadow-lg ring-1 ring-border backdrop-blur [&_[data-slot=button]]:border-0 [&_[data-slot=button]:focus-visible]:bg-muted">
<Button
size="icon-sm"
variant="ghost"
@@ -7386,7 +7386,7 @@ export function ImagesPage({
className="size-full object-contain"
/>
)}
- <div className="absolute bottom-4 right-4 flex items-center gap-0.5 rounded-xl bg-background/80 p-1 shadow-lg ring-1 ring-border backdrop-blur [&_[data-slot=button]]:border-0 [&_[data-slot=button]:focus-visible]:bg-muted">
+ <div className="absolute bottom-4 right-4 flex items-center gap-0.5 rounded-full bg-background/80 p-1 shadow-lg ring-1 ring-border backdrop-blur [&_[data-slot=button]]:border-0 [&_[data-slot=button]:focus-visible]:bg-muted">
{srcErrors[selected.id] ? (
<>
<span role="alert" className="sr-only">Full-resolution download failed.</span>
@@ -7498,7 +7498,7 @@ export function ImagesPage({
<button
type="button"
onClick={() => setSelectedId(image.id)}
- className="relative size-full overflow-hidden rounded-[10px] bg-muted/40 outline-none ring-1 ring-transparent transition-shadow hover:ring-border focus-visible:ring-2 focus-visible:ring-ring"
+ className="relative size-full overflow-hidden rounded-lg bg-muted/40 outline-none ring-1 ring-transparent transition-shadow hover:ring-border focus-visible:ring-2 focus-visible:ring-ring"
>
{(thumbById[image.id] ?? srcById[image.id]) ? (
<img
@@ -7514,7 +7514,7 @@ export function ImagesPage({
)}
{/* Selection marker on a non-focusable overlay, so the button's focus state cannot mask it. */}
{image.id === selected?.id && (
- <span className="pointer-events-none absolute inset-0 rounded-[10px] border border-border bg-white/35 dark:border-[rgb(255_255_255_/_calc(0.25*var(--contrast-edge-gain,1)))] dark:bg-white/20" />
+ <span className="pointer-events-none absolute inset-0 rounded-lg border border-border bg-white/35 dark:border-[rgb(255_255_255_/_calc(0.25*var(--contrast-edge-gain,1)))] dark:bg-white/20" />
)}
</button>
{/* Pin marker and Unpin button, bottom-left so it clears the menu. */}
diff --git a/studio/frontend/src/features/images/localized-edit-canvas.tsx b/studio/frontend/src/features/images/localized-edit-canvas.tsx
index bb013656398..d1019c3151b 100644
--- a/studio/frontend/src/features/images/localized-edit-canvas.tsx
+++ b/studio/frontend/src/features/images/localized-edit-canvas.tsx
@@ -211,7 +211,7 @@ export function LocalizedEditCanvas({
return (
<div
- className="relative overflow-hidden rounded-[10px] border border-border"
+ className="relative overflow-hidden rounded-lg border border-border"
style={TRANSPARENCY_CHECKER}
>
<img
diff --git a/studio/frontend/src/features/images/mask-from-text-panel.tsx b/studio/frontend/src/features/images/mask-from-text-panel.tsx
index 81c383af39a..b2389a5b5e5 100644
--- a/studio/frontend/src/features/images/mask-from-text-panel.tsx
+++ b/studio/frontend/src/features/images/mask-from-text-panel.tsx
@@ -109,7 +109,7 @@ function SegmenterDownloadNotice({
return (
<div
data-testid="mask-segmenter-download"
- className="flex flex-col gap-1.5 rounded-md border border-border/60 bg-muted/30 px-2.5 py-2 text-ui-11"
+ className="flex flex-col gap-1.5 rounded-lg border border-border/60 bg-muted/30 px-2.5 py-2 text-ui-11"
>
{download.downloading ? (
<>
diff --git a/studio/frontend/src/features/images/prompt-enhance-panel.tsx b/studio/frontend/src/features/images/prompt-enhance-panel.tsx
index 3addfb0053e..df7c424887f 100644
--- a/studio/frontend/src/features/images/prompt-enhance-panel.tsx
+++ b/studio/frontend/src/features/images/prompt-enhance-panel.tsx
@@ -122,7 +122,7 @@ function UpsamplerDownloadNotice({
return (
<div
data-testid="prompt-upsampler-download"
- className="flex flex-col gap-1.5 rounded-md border border-border/60 bg-muted/30 px-2.5 py-2 text-ui-11"
+ className="flex flex-col gap-1.5 rounded-lg border border-border/60 bg-muted/30 px-2.5 py-2 text-ui-11"
>
{download.downloading ? (
<>
@@ -303,7 +303,7 @@ export function EnhancePromptControls({
{preview ? (
<div
data-testid="enhanced-prompt-preview"
- className="flex flex-col gap-1 rounded-md border border-border/60 px-2.5 py-2 text-xs"
+ className="flex flex-col gap-1 rounded-lg border border-border/60 px-2.5 py-2 text-xs"
>
<div className="flex items-center justify-between gap-2">
<button
diff --git a/studio/frontend/src/features/images/shift-embeddings-controls.tsx b/studio/frontend/src/features/images/shift-embeddings-controls.tsx
index 56dcb76cb8f..bc0de62154a 100644
--- a/studio/frontend/src/features/images/shift-embeddings-controls.tsx
+++ b/studio/frontend/src/features/images/shift-embeddings-controls.tsx
@@ -154,7 +154,7 @@ export function EmbeddingsField({
) : (
<div className="flex flex-wrap gap-1.5">
{items.map((e) => (
- <div key={e.id} className="flex items-center rounded-md border text-xs">
+ <div key={e.id} className="flex items-center rounded-full border text-xs">
<span className="px-2 py-1" title={`${e.vectors} vector${e.vectors === 1 ? "" : "s"}`}>
{e.trigger}
</span>
diff --git a/studio/frontend/src/features/images/train/dataset-labeling-grid.tsx b/studio/frontend/src/features/images/train/dataset-labeling-grid.tsx
index d8ac445c20d..f23de180b9d 100644
--- a/studio/frontend/src/features/images/train/dataset-labeling-grid.tsx
+++ b/studio/frontend/src/features/images/train/dataset-labeling-grid.tsx
@@ -116,7 +116,7 @@ function LabelTile({
return (
// Named group: a bare one would also match the scroller and reveal every tile's Remove.
- <div className="group/tile flex flex-col overflow-hidden rounded-[10px] border border-border transition-colors hover:border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)]">
+ <div className="group/tile flex flex-col overflow-hidden rounded-lg border border-border transition-colors hover:border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)]">
<div className="relative aspect-square w-full overflow-hidden bg-muted">
{thumb ? (
<img src={thumb} alt={record.filename} className="size-full object-cover" />
diff --git a/studio/frontend/src/features/images/train/dataset-showcase.tsx b/studio/frontend/src/features/images/train/dataset-showcase.tsx
index f997d81b1e9..e952e8d2bd3 100644
--- a/studio/frontend/src/features/images/train/dataset-showcase.tsx
+++ b/studio/frontend/src/features/images/train/dataset-showcase.tsx
@@ -82,7 +82,7 @@ function ShowcaseTile({
<button
type="button"
onClick={onBrowse}
- className="size-full overflow-hidden rounded-[8px] bg-muted outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="size-full overflow-hidden rounded-md bg-muted outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
{url ? (
<img
@@ -106,7 +106,7 @@ function ShowcaseTile({
onClick={remove}
disabled={deleting}
aria-label={`Remove ${filename}`}
- className="absolute right-0.5 top-0.5 flex size-5 items-center justify-center rounded-full bg-background/90 text-muted-foreground opacity-0 any-pointer-coarse:opacity-100 shadow-sm ring-1 ring-border backdrop-blur-sm transition-opacity hover:text-destructive focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring group-hover/thumb:opacity-100"
+ className="absolute right-0.5 top-0.5 flex size-5 items-center justify-center rounded-full bg-background/90 text-muted-foreground opacity-0 any-pointer-coarse:opacity-100 shadow-sm backdrop-blur-sm transition-opacity hover:text-destructive focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring group-hover/thumb:opacity-100"
>
{deleting ? (
<Spinner className="size-2.5" />
@@ -200,7 +200,7 @@ export function DatasetShowcase({
<button
type="button"
onClick={onBrowse}
- className="flex size-14 shrink-0 flex-col items-center justify-center rounded-[8px] bg-muted text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex size-14 shrink-0 flex-col items-center justify-center rounded-md bg-muted text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
>
<span className="text-sm font-medium">+{remaining}</span>
<span className="text-ui-9">more</span>
diff --git a/studio/frontend/src/features/images/train/diffusion-samples-view.tsx b/studio/frontend/src/features/images/train/diffusion-samples-view.tsx
index 3f11943e03f..538fce50498 100644
--- a/studio/frontend/src/features/images/train/diffusion-samples-view.tsx
+++ b/studio/frontend/src/features/images/train/diffusion-samples-view.tsx
@@ -42,7 +42,7 @@ function SampleImage({
}, [jobId, image.path]);
return (
<figure className="flex min-w-0 flex-col gap-1">
- <div className="aspect-square w-full overflow-hidden rounded-md bg-muted">
+ <div className="aspect-square w-full overflow-hidden rounded-lg bg-muted">
{src ? (
<img
src={src}
@@ -98,7 +98,7 @@ export function DiffusionSamples({
key={r.step}
type="button"
onClick={() => setPicked({ jobId, step: r.step })}
- className={`rounded px-2 py-0.5 text-ui-11 tabular-nums ${
+ className={`rounded-full px-2 py-0.5 text-ui-11 tabular-nums ${
r.step === current.step
? "bg-primary text-primary-foreground"
: "bg-muted text-muted-foreground hover:text-foreground"
diff --git a/studio/frontend/src/features/images/train/example-dataset-cards.tsx b/studio/frontend/src/features/images/train/example-dataset-cards.tsx
index 344c8ba94d2..329613c4bd3 100644
--- a/studio/frontend/src/features/images/train/example-dataset-cards.tsx
+++ b/studio/frontend/src/features/images/train/example-dataset-cards.tsx
@@ -90,7 +90,7 @@ function ExamplePreviews({ repo }: { repo: string }) {
return (
<div className="flex gap-1">
{urls.map((u) => (
- <div key={u} className="h-9 w-12 shrink-0 overflow-hidden rounded-[8px] bg-muted">
+ <div key={u} className="h-9 w-12 shrink-0 overflow-hidden rounded-sm bg-muted">
<img src={u} alt="" loading="lazy" className="size-full object-cover" />
</div>
))}
diff --git a/studio/frontend/src/features/library/chats/chats-items.tsx b/studio/frontend/src/features/library/chats/chats-items.tsx
index fe03f6c74bc..c75b44e5936 100644
--- a/studio/frontend/src/features/library/chats/chats-items.tsx
+++ b/studio/frontend/src/features/library/chats/chats-items.tsx
@@ -83,7 +83,7 @@ const CARD = cn(
RAISED_SURFACE,
CARD_SHADOW,
// min-w-0: a grid item's automatic minimum is its content, so a long project line widened the card past its column.
- "group/chat relative flex aspect-[8/7] min-w-0 cursor-pointer flex-col gap-2.5 self-stretch rounded-[calc(var(--radius-xl)-2px)] px-5 py-5 transition hover:bg-neutral-100 hover:shadow-none dark:hover:bg-accent/60",
+ "group/chat relative flex aspect-[8/7] min-w-0 cursor-pointer flex-col gap-2.5 self-stretch rounded-2xl px-5 py-5 transition hover:bg-neutral-100 hover:shadow-none dark:hover:bg-accent/60",
);
import {
type ChatContents,
@@ -569,7 +569,7 @@ function ChatMenu({
}
const TILE =
- "flex size-9 shrink-0 items-center justify-center rounded-[10px] bg-muted text-foreground/70 transition-colors group-hover/chat:bg-primary/10 group-hover/chat:text-primary";
+ "flex size-9 shrink-0 items-center justify-center rounded-md bg-muted text-foreground/70 transition-colors group-hover/chat:bg-primary/10 group-hover/chat:text-primary";
const TILE_ICON = "size-5";
function ChatTile({
@@ -645,7 +645,7 @@ function modelLabel(
// Plain text, not a pill: a pill inside a hovered row looked like a second row.
const CHIP =
- "inline-flex min-w-0 max-w-full items-center gap-1.5 rounded-sm text-left outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring";
+ "inline-flex min-w-0 max-w-full items-center gap-1.5 rounded-full text-left outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring";
function ChatLocation({
chat,
@@ -1100,7 +1100,7 @@ export function ChatRow({
: actions.open(chat)
}
className={cn(
- "group/chat relative flex cursor-pointer items-center gap-4 rounded-[14px] transition-colors hover:bg-muted dark:hover:bg-muted/60",
+ "group/chat relative flex cursor-pointer items-center gap-4 rounded-md transition-colors hover:bg-muted dark:hover:bg-muted/60",
ROW_INSET,
selected && "bg-muted dark:bg-muted/60",
)}
@@ -1121,7 +1121,7 @@ export function ChatRow({
if (actions.selection.size > 0) actions.toggleSelected(chat.id, event.shiftKey);
else actions.open(chat);
}}
- className="truncate rounded text-left text-ui-14 text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="truncate rounded-full text-left text-ui-14 text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
{chatTitle(chat, t)}
</button>
@@ -1239,7 +1239,7 @@ function CardFooter({ meta, date, className }: { meta?: ReactNode; date: string;
}
const CARD_TITLE =
- "block w-full rounded text-left font-medium text-ui-14 leading-snug text-foreground outline-none [overflow-wrap:anywhere] focus-visible:ring-2 focus-visible:ring-ring";
+ "block w-full rounded-md text-left font-medium text-ui-14 leading-snug text-foreground outline-none [overflow-wrap:anywhere] focus-visible:ring-2 focus-visible:ring-ring";
/** Group name and count in words; a bare number beside "Today" read as part of the name. */
export function GroupHeading({
@@ -1297,7 +1297,7 @@ export function CollectionHeader({
<button
type="button"
onClick={onParent}
- className="rounded text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
+ className="rounded-full text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"
>
{parent}
</button>
@@ -1311,7 +1311,7 @@ export function CollectionHeader({
</span>
</nav>
<div className="flex items-center gap-4">
- <span className="flex size-13 shrink-0 items-center justify-center rounded-[18px] bg-muted text-foreground/80">
+ <span className="flex size-13 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground/80">
<HugeiconsIcon icon={icon} strokeWidth={1.75} className="size-6.5" />
</span>
<div className="flex min-w-0 flex-1 flex-col gap-1">
@@ -1474,7 +1474,7 @@ export function ProjectRow({
<div
onClick={() => actions.viewProject(project.id)}
className={cn(
- "group/chat relative flex cursor-pointer items-center gap-4 rounded-[14px] transition-colors hover:bg-muted dark:hover:bg-muted/60",
+ "group/chat relative flex cursor-pointer items-center gap-4 rounded-md transition-colors hover:bg-muted dark:hover:bg-muted/60",
ROW_INSET,
)}
>
@@ -1488,7 +1488,7 @@ export function ProjectRow({
event.stopPropagation();
actions.viewProject(project.id);
}}
- className="truncate rounded text-left text-ui-14 text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="truncate rounded-full text-left text-ui-14 text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
{project.name}
</button>
@@ -1714,7 +1714,7 @@ export function SectionRow({
<div
onClick={() => actions.viewSection(section.id)}
className={cn(
- "group/chat relative flex cursor-pointer items-center gap-4 rounded-[14px] transition-colors hover:bg-muted dark:hover:bg-muted/60",
+ "group/chat relative flex cursor-pointer items-center gap-4 rounded-md transition-colors hover:bg-muted dark:hover:bg-muted/60",
ROW_INSET,
)}
>
@@ -1727,7 +1727,7 @@ export function SectionRow({
event.stopPropagation();
actions.viewSection(section.id);
}}
- className="truncate rounded text-left text-ui-14 text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="truncate rounded-full text-left text-ui-14 text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
{section.name}
</button>
@@ -1805,7 +1805,7 @@ function FavoriteTile({
aria-label={title}
onClick={onOpen}
className={cn(
- "block w-full overflow-hidden rounded-[calc(var(--radius-xl)-2px)] text-left outline-none transition focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
+ "block w-full overflow-hidden rounded-2xl text-left outline-none transition focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
FILE_CARD_SURFACE,
)}
>
diff --git a/studio/frontend/src/features/library/chats/chats-library.tsx b/studio/frontend/src/features/library/chats/chats-library.tsx
index c224906250c..68548074d20 100644
--- a/studio/frontend/src/features/library/chats/chats-library.tsx
+++ b/studio/frontend/src/features/library/chats/chats-library.tsx
@@ -157,7 +157,7 @@ const BAR_PILL =
const BAR_ROUND =
"flex size-9 items-center justify-center rounded-full outline-none transition-colors hover:bg-sidebar-accent focus-visible:ring-2 focus-visible:ring-ring";
const BAR_OUTLINE =
- "border border-border transition-colors hover:bg-sidebar-accent dark:border-transparent dark:bg-accent/60 dark:hover:bg-accent";
+ "btn-fill transition-colors ";
const CHAT_SORTS: SortChoice<ChatSortKey>[] = [
{ value: "updated", label: "library.chats.list.lastActive" },
@@ -1198,7 +1198,7 @@ export function ChatsLibrary({
<button
type="button"
onClick={() => setMovingIntoNew({ kind: "section", chats: [] })}
- className="flex aspect-[8/7] flex-col self-stretch items-center justify-center gap-2 rounded-[calc(var(--radius-xl)-2px)] border border-dashed border-border text-ui-14 text-muted-foreground transition-colors hover:bg-muted/60 hover:text-foreground"
+ className="flex aspect-[8/7] flex-col self-stretch items-center justify-center gap-2 rounded-2xl border border-dashed border-border text-ui-14 text-muted-foreground transition-colors hover:bg-muted/60 hover:text-foreground"
>
<HugeiconsIcon icon={PlusSignIcon} strokeWidth={1.5} className="size-6" />
{t("shell.sections.newSection")}
@@ -1294,7 +1294,7 @@ export function ChatsLibrary({
<button
type="button"
onClick={() => setCreatingProject(true)}
- className="flex aspect-[8/7] flex-col self-stretch items-center justify-center gap-2 rounded-[calc(var(--radius-xl)-2px)] border border-dashed border-border text-ui-14 text-muted-foreground transition-colors hover:bg-muted/60 hover:text-foreground"
+ className="flex aspect-[8/7] flex-col self-stretch items-center justify-center gap-2 rounded-2xl border border-dashed border-border text-ui-14 text-muted-foreground transition-colors hover:bg-muted/60 hover:text-foreground"
>
<HugeiconsIcon icon={FolderAddIcon} strokeWidth={1.5} className="size-6" />
{t("library.chats.toolbar.newProject")}
@@ -1318,7 +1318,7 @@ export function ChatsLibrary({
aria-current={active ? "page" : undefined}
onClick={() => go(entry === "all" ? {} : { chatView: entry })}
className={cn(
- "flex h-8 items-center gap-2 rounded-sm font-heading text-ui-14 text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
+ "flex h-8 items-center gap-2 rounded-full font-heading text-ui-14 text-muted-foreground outline-none transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
active && "font-medium text-foreground",
)}
>
@@ -1590,7 +1590,7 @@ export function ChatsLibrary({
onClick={() => actions.remove(selectedChats)}
className={cn(
BAR_PILL,
- "border border-red-500/70 text-red-600 transition-colors hover:bg-red-500/15 dark:text-red-400",
+ "bg-red-500/10 text-red-600 transition-colors hover:bg-red-500/15 dark:text-red-400",
)}
>
<HugeiconsIcon icon={Delete02Icon} strokeWidth={1.75} className="size-4" />
diff --git a/studio/frontend/src/features/library/components/library-cards.tsx b/studio/frontend/src/features/library/components/library-cards.tsx
index bd0e98bd1fd..7bc22c19212 100644
--- a/studio/frontend/src/features/library/components/library-cards.tsx
+++ b/studio/frontend/src/features/library/components/library-cards.tsx
@@ -152,7 +152,7 @@ function CardFrame({
select && selecting ? (event) => select.toggle(selectKey, event.shiftKey) : onOpen
}
className={cn(
- "block w-full overflow-hidden rounded-[calc(var(--radius-xl)-2px)] text-left outline-none transition focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
+ "block w-full overflow-hidden rounded-2xl text-left outline-none transition focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
selected && "ring-2 ring-foreground",
className,
selected && SELECTED_TINT,
@@ -393,13 +393,13 @@ export function FolderGrid({
export function ItemTile({ item }: { item: LibraryItem }) {
if (hasThumbnail(item)) {
return (
- <div className="size-9 shrink-0 overflow-hidden rounded-[10px] border border-border/60 bg-muted [&_img]:size-9 [&_img]:object-cover [&_img]:object-top">
+ <div className="size-9 shrink-0 overflow-hidden rounded-md border border-border/60 bg-muted [&_img]:size-9 [&_img]:object-cover [&_img]:object-top">
<ImageThumb item={item} />
</div>
);
}
return (
- <div className="flex size-9 shrink-0 items-center justify-center rounded-[10px] border border-border/60">
+ <div className="flex size-9 shrink-0 items-center justify-center rounded-md border border-border/60">
<KindIcon item={item} className="size-5" />
</div>
);
diff --git a/studio/frontend/src/features/library/components/library-list.tsx b/studio/frontend/src/features/library/components/library-list.tsx
index e89cb07e79b..ab2d1fd097c 100644
--- a/studio/frontend/src/features/library/components/library-list.tsx
+++ b/studio/frontend/src/features/library/components/library-list.tsx
@@ -137,7 +137,7 @@ function Row({
return (
<div
className={cn(
- "group/library-row relative flex items-center gap-4 rounded-[14px] transition-colors hover:bg-muted dark:hover:bg-muted/60",
+ "group/library-row relative flex items-center gap-4 rounded-md transition-colors hover:bg-muted dark:hover:bg-muted/60",
ROW_INSET,
selected && "bg-muted dark:bg-muted/60",
)}
@@ -156,7 +156,7 @@ function Row({
type="button"
aria-pressed={selecting ? selected : undefined}
onClick={(event) => (selecting ? onToggle(event.shiftKey) : onOpen())}
- className="flex min-w-0 flex-1 items-center gap-4 rounded-lg py-2 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex min-w-0 flex-1 items-center gap-4 rounded-md py-2 text-left outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
{tile}
<span className="flex min-w-0 items-center gap-2 text-ui-14 text-foreground">{name}</span>
@@ -261,7 +261,7 @@ export function LibraryList({
onToggle={(range) => onToggle(`folder:${folder.id}`, range)}
onOpen={() => actions.openFolder(folder.id)}
tile={
- <div className="flex size-9 shrink-0 items-center justify-center rounded-[10px] border border-border/60">
+ <div className="flex size-9 shrink-0 items-center justify-center rounded-md border border-border/60">
<HugeiconsIcon icon={Folder01Icon} strokeWidth={1.5} className="size-5" />
</div>
}
diff --git a/studio/frontend/src/features/library/library-page.tsx b/studio/frontend/src/features/library/library-page.tsx
index 91db1aa545d..5b6fc8c933a 100644
--- a/studio/frontend/src/features/library/library-page.tsx
+++ b/studio/frontend/src/features/library/library-page.tsx
@@ -181,7 +181,7 @@ function LoadingGrid() {
return (
<div className="mt-6 grid grid-cols-2 gap-5 sm:grid-cols-3 lg:grid-cols-5">
{Array.from({ length: 10 }, (_, index) => (
- <Skeleton key={index} className="aspect-square rounded-[calc(var(--radius-xl)-2px)]" />
+ <Skeleton key={index} className="aspect-square rounded-2xl" />
))}
</div>
);
@@ -910,7 +910,7 @@ function LibraryView({ search }: { search: LibrarySearch }) {
}
if (empty && folderId) {
return (
- <div className="mt-6 flex min-h-[calc(420px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-5 rounded-xl border border-dashed border-border bg-muted/50">
+ <div className="mt-6 flex min-h-[calc(420px*var(--ui-space-scale,1))] flex-col items-center justify-center gap-5 rounded-2xl border border-dashed border-border bg-muted/50">
<HugeiconsIcon icon={Upload01Icon} strokeWidth={1.5} className="size-8" />
{uploadButton}
<p className="text-sm text-muted-foreground">{t("library.empty.dropHere")}</p>
@@ -1057,7 +1057,7 @@ function LibraryView({ search }: { search: LibrarySearch }) {
{dragging && (
<div className="pointer-events-none fixed inset-0 z-40 flex items-center justify-center bg-background/70 backdrop-blur-sm">
- <div className="flex flex-col items-center gap-3 rounded-xl border-2 border-dashed border-muted-foreground px-16 py-12">
+ <div className="flex flex-col items-center gap-3 rounded-2xl border-2 border-dashed border-muted-foreground px-16 py-12">
<HugeiconsIcon icon={Upload01Icon} strokeWidth={1.5} className="size-8" />
<p className="font-medium text-lg">
{currentFolder
@@ -1093,7 +1093,7 @@ function LibraryView({ search }: { search: LibrarySearch }) {
selectAll();
selectionBar.current?.focus();
}}
- className="rounded-sm underline decoration-muted-foreground underline-offset-[3px] outline-none transition-colors hover:decoration-current focus-visible:ring-2 focus-visible:ring-ring"
+ className="rounded-full underline decoration-muted-foreground underline-offset-[3px] outline-none transition-colors hover:decoration-current focus-visible:ring-2 focus-visible:ring-ring"
>
{t("library.selection.selectAll")}
</button>
@@ -1115,7 +1115,7 @@ function LibraryView({ search }: { search: LibrarySearch }) {
onClick={bulkDownload}
className={cn(
BAR_PILL,
- "border border-border transition-colors hover:bg-sidebar-accent dark:border-transparent dark:bg-accent/60 dark:hover:bg-accent",
+ "btn-fill transition-colors ",
)}
>
<HugeiconsIcon icon={Download01Icon} strokeWidth={1.75} className="size-4" />
@@ -1127,7 +1127,7 @@ function LibraryView({ search }: { search: LibrarySearch }) {
onClick={() => requestDelete(deletableSelection())}
className={cn(
BAR_PILL,
- "border border-red-500/70 text-red-600 transition-colors hover:bg-red-500/15 dark:text-red-400",
+ "bg-red-500/10 text-red-600 transition-colors hover:bg-red-500/15 dark:text-red-400",
)}
>
<HugeiconsIcon icon={Delete02Icon} strokeWidth={1.75} className="size-4" />
diff --git a/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsx b/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsx
index 6a7189f34c1..50a14443790 100644
--- a/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsx
+++ b/studio/frontend/src/features/loaded-models/loaded-models-indicator.tsx
@@ -110,7 +110,7 @@ function NoteRow({
detail: string;
}) {
return (
- <div className="flex items-center gap-2 rounded-[14px] px-1.5 py-1">
+ <div className="flex items-center gap-2 rounded-md px-1.5 py-1">
<span className={ROW_ICON_CLASS}>
<HugeiconsIcon
icon={icon}
@@ -145,7 +145,7 @@ function LoadedModelRow({
const label = loadedModelLabel(entry);
const target = loadedModelTarget(entry.source, entry.workflows);
return (
- <div className="flex items-center gap-2 rounded-[14px] px-1.5 py-1 transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)]">
+ <div className="flex items-center gap-2 rounded-md px-1.5 py-1 transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(4%*var(--contrast-wash-gain,1)),transparent)]">
{/* Only the label half is the link: the eject button cannot nest inside it. */}
<Tooltip>
<TooltipTrigger asChild={true}>
@@ -407,7 +407,7 @@ export function LoadedModelsIndicator({
</TooltipContent>
</Tooltip>
) : (
- <div className="menu-soft-surface menu-soft-edgeless pointer-events-auto flex min-h-0 w-[calc(268px*var(--ui-space-scale,1))] max-w-[calc(100vw-2rem)] flex-col overflow-hidden rounded-[20px] p-1.5 font-heading">
+ <div className="menu-soft-surface menu-soft-edgeless pointer-events-auto flex min-h-0 w-[calc(268px*var(--ui-space-scale,1))] max-w-[calc(100vw-2rem)] flex-col overflow-hidden rounded-lg p-1 font-heading">
<div className="flex items-center gap-1.5 px-1.5 pb-2.5 pt-0.5">
<HugeiconsIcon
icon={SparkleIcon}
diff --git a/studio/frontend/src/features/native-intents/components/native-model-chip.tsx b/studio/frontend/src/features/native-intents/components/native-model-chip.tsx
index 3f1d4c90562..61ee6f47a64 100644
--- a/studio/frontend/src/features/native-intents/components/native-model-chip.tsx
+++ b/studio/frontend/src/features/native-intents/components/native-model-chip.tsx
@@ -67,7 +67,7 @@ export function NativeModelChip({
}
return (
- <div className="flex min-w-0 max-w-[calc(34rem*var(--ui-space-scale,1))] items-center gap-2 rounded-lg border border-border/70 bg-muted/70 px-2.5 py-1.5 text-xs">
+ <div className="flex min-w-0 max-w-[calc(34rem*var(--ui-space-scale,1))] items-center gap-2 rounded-full border border-border/70 bg-muted/70 px-2.5 py-1.5 text-xs">
<span className="shrink-0 font-medium text-muted-foreground">Local GGUF</span>
<span className="min-w-0 flex-1 truncate" title={label}>{label}</span>
<button
@@ -75,7 +75,7 @@ export function NativeModelChip({
onClick={handleReveal}
disabled={expired}
title={expired ? "Selection expired, pick or drop the file again" : undefined}
- className="rounded-md px-2 py-1 text-muted-foreground transition-colors hover:bg-background hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"
+ className="rounded-full px-2 py-1 text-muted-foreground transition-colors hover:bg-background hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"
>
Reveal
</button>
@@ -90,7 +90,7 @@ export function NativeModelChip({
? "Selection expired, pick or drop the file again"
: undefined
}
- className="rounded-md bg-foreground px-2 py-1 text-background transition-opacity disabled:cursor-not-allowed disabled:opacity-50"
+ className="rounded-full bg-foreground px-2 py-1 text-background transition-opacity disabled:cursor-not-allowed disabled:opacity-50"
>
{expired ? "Expired" : loading ? "Loading…" : "Load model"}
</button>
diff --git a/studio/frontend/src/features/native-intents/components/native-model-drop-overlay.tsx b/studio/frontend/src/features/native-intents/components/native-model-drop-overlay.tsx
index f465cc71b45..3ca7164442d 100644
--- a/studio/frontend/src/features/native-intents/components/native-model-drop-overlay.tsx
+++ b/studio/frontend/src/features/native-intents/components/native-model-drop-overlay.tsx
@@ -47,10 +47,10 @@ export function NativeModelDropOverlay({ state }: { state: NativeModelDropState
aria-live="polite"
aria-hidden={isIdle}
>
- <div className="flex items-center gap-2.5 rounded-xl border border-border/70 bg-card/96 px-3 py-2.5 shadow-sm shadow-black/10 backdrop-blur-sm dark:shadow-black/30">
+ <div className="flex items-center gap-2.5 rounded-lg border border-border/70 bg-card/96 px-3 py-2.5 shadow-sm shadow-black/10 backdrop-blur-sm dark:shadow-black/30">
<div
className={cn(
- "flex size-8 shrink-0 items-center justify-center rounded-lg border transition-colors duration-200 ease-out",
+ "flex size-8 shrink-0 items-center justify-center rounded-md border transition-colors duration-200 ease-out",
isAutoLoad
? "border-emerald-500/30 bg-emerald-500/10 text-emerald-600 dark:text-emerald-400"
: isInvalid
diff --git a/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx b/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
index 3a19824c838..a103bdb85c8 100644
--- a/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
+++ b/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
@@ -331,15 +331,15 @@ export function KnowledgeBaseDialog({
</div>
) : ragUnavailable ? (
// An empty list on this host is not an empty store, so say which one it is.
- <div className="rounded-md border border-dashed px-4 py-6 text-center text-sm text-muted-foreground">
+ <div className="rounded-xl border border-dashed px-4 py-6 text-center text-sm text-muted-foreground">
{ragUnavailableReason ?? "Knowledge bases are unavailable."}
</div>
) : kbs.length === 0 ? (
- <div className="rounded-md border border-dashed py-6 text-center text-sm text-muted-foreground">
+ <div className="rounded-xl border border-dashed py-6 text-center text-sm text-muted-foreground">
No knowledge bases yet.
</div>
) : (
- <ul className="flex max-h-[60dvh] flex-col divide-y overflow-y-auto scroll-rounded rounded-md border">
+ <ul className="flex max-h-[60dvh] flex-col divide-y overflow-y-auto scroll-rounded rounded-xl border">
{kbs.map((kb) => (
<li
key={kb.id}
@@ -503,7 +503,7 @@ function KnowledgeBaseDocuments({
) : documents.length === 0 ? (
<div
className={cn(
- "rounded-md border border-dashed py-6 text-center text-sm text-muted-foreground transition-colors",
+ "rounded-xl border border-dashed py-6 text-center text-sm text-muted-foreground transition-colors",
dragging && "border-primary/60 bg-primary/5 text-foreground",
)}
>
@@ -513,7 +513,7 @@ function KnowledgeBaseDocuments({
) : (
<div
className={cn(
- "flex max-h-[55dvh] flex-wrap gap-1.5 overflow-y-auto scroll-rounded rounded-md pr-0.5 transition-colors",
+ "flex max-h-[55dvh] flex-wrap gap-1.5 overflow-y-auto scroll-rounded rounded-xl pr-0.5 transition-colors",
dragging && "bg-primary/5 ring-1 ring-primary/60",
)}
>
diff --git a/studio/frontend/src/features/rag/components/linked-folders-manager.tsx b/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
index de9829d612e..3c2660758b6 100644
--- a/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
+++ b/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
@@ -39,7 +39,7 @@ import { useLinkedFolders } from "./use-linked-folders";
/** Grouped folder card, shared with the create project dialog. */
export const FOLDER_CARD_CLASS =
- "overflow-hidden rounded-[16px] border border-border bg-background dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]";
+ "overflow-hidden rounded-xl border border-border bg-background dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]";
export const FOLDER_ROW_CLASS =
"flex min-w-0 items-center gap-3 px-3.5 py-2.5 border-t border-border/60 first:border-t-0 dark:border-[rgb(255_255_255_/_calc(0.08*var(--contrast-edge-gain,1)))]";
@@ -402,7 +402,7 @@ export function LinkedFoldersManager({
<Spinner />
</div>
) : manager.folders.length === 0 ? (
- <div className="rounded-xl border border-dashed px-4 py-5 text-center text-xs text-muted-foreground">
+ <div className="rounded-lg border border-dashed px-4 py-5 text-center text-xs text-muted-foreground">
No source folders.
</div>
) : (
@@ -415,7 +415,7 @@ export function LinkedFoldersManager({
return (
<li
key={folder.id}
- className="flex min-w-0 items-start gap-3 rounded-xl border border-border/70 bg-background px-3 py-2.5"
+ className="flex min-w-0 items-start gap-3 rounded-lg border border-border/70 bg-background px-3 py-2.5"
>
<HugeiconsIcon icon={FolderSyncIcon} strokeWidth={1.75} className="mt-0.5 size-4 shrink-0 text-muted-foreground" />
<div className="min-w-0 flex-1">
diff --git a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx b/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
index 185295a45b8..f2cc779b7dd 100644
--- a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
+++ b/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
@@ -363,7 +363,7 @@ export function ProjectSourceDropzone({
addFiles(Array.from(e.dataTransfer.files ?? []));
}}
className={cn(
- "rounded-[22px] border border-border transition-colors dark:border-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]",
+ "rounded-2xl border border-border transition-colors dark:border-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]",
dragging && "border-primary/60 bg-primary/5",
disabled && "opacity-60",
)}
@@ -386,7 +386,7 @@ export function ProjectSourceDropzone({
aria-label="Add sources"
disabled={disabled}
onClick={() => inputRef.current?.click()}
- className="flex w-full cursor-pointer flex-col items-center justify-center gap-3 rounded-[22px] px-6 py-12 text-center transition-colors hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="flex w-full cursor-pointer flex-col items-center justify-center gap-3 rounded-2xl px-6 py-12 text-center transition-colors hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<HugeiconsIcon
icon={FolderPlusIcon}
@@ -403,7 +403,7 @@ export function ProjectSourceDropzone({
{staged.map((entry) => (
<li
key={entry.id}
- className="flex items-center gap-2.5 rounded-[10px] px-2.5 py-2 hover:bg-muted/50"
+ className="flex items-center gap-2.5 rounded-md px-2.5 py-2 hover:bg-muted/50"
>
<HugeiconsIcon
icon={FileEmpty02Icon}
@@ -439,7 +439,7 @@ export function ProjectSourceDropzone({
type="button"
disabled={disabled}
onClick={() => inputRef.current?.click()}
- className="flex items-center justify-center gap-2 rounded-[10px] py-2 text-ui-13 font-medium text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="flex items-center justify-center gap-2 rounded-md py-2 text-ui-13 font-medium text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<HugeiconsIcon
icon={FolderPlusIcon}
diff --git a/studio/frontend/src/features/rag/components/project-sources-panel.tsx b/studio/frontend/src/features/rag/components/project-sources-panel.tsx
index 5f07a022a24..1759324f237 100644
--- a/studio/frontend/src/features/rag/components/project-sources-panel.tsx
+++ b/studio/frontend/src/features/rag/components/project-sources-panel.tsx
@@ -185,7 +185,7 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
void handleItems(fileItems(files));
}}
/>
- <div className="mb-4 rounded-[22px] bg-muted/30 px-5 py-4">
+ <div className="mb-4 rounded-2xl bg-muted/30 px-5 py-4">
<LinkedFoldersManager
scope={{ type: "project", id: projectId }}
compact={true}
@@ -195,7 +195,7 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
{empty ? (
<div
className={cn(
- "flex flex-col items-center justify-center gap-3 rounded-[26px] border border-transparent bg-muted/30 px-6 py-16 text-center transition-colors",
+ "flex flex-col items-center justify-center gap-3 rounded-2xl border border-transparent bg-muted/30 px-6 py-16 text-center transition-colors",
dragging && "border-primary/60 bg-primary/5",
)}
>
@@ -234,7 +234,7 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
) : (
<div
className={cn(
- "flex flex-col gap-4 rounded-[26px] border border-transparent bg-muted/30 px-6 py-5 transition-colors",
+ "flex flex-col gap-4 rounded-2xl border border-transparent bg-muted/30 px-6 py-5 transition-colors",
dragging && "border-primary/60 bg-primary/5",
)}
>
diff --git a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
index 038736755f5..82c6c657027 100644
--- a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
+++ b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
@@ -329,7 +329,7 @@ function LinkedFolderCard({
<ProjectBadge />
<div
title={title}
- className={cn("flex overflow-hidden rounded-[15px]", CARD_SIZE, CARD_EDGE)}
+ className={cn("flex overflow-hidden rounded-lg", CARD_SIZE, CARD_EDGE)}
>
<FileCardBody
name={label}
@@ -618,7 +618,7 @@ function DocumentCard({
<button
{...buttonProps}
className={cn(
- "flex overflow-hidden rounded-[15px] text-left transition-colors disabled:cursor-default",
+ "flex overflow-hidden rounded-lg text-left transition-colors disabled:cursor-default",
CARD_SIZE,
CARD_EDGE,
canOpen && CARD_SURFACE,
@@ -677,7 +677,7 @@ function AddFilesCard({
disabled={disabled}
onClick={onClick}
className={cn(
- "unsloth-files-add-card flex flex-col items-center justify-center gap-1.5 rounded-[15px] border border-dashed border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] text-ui-12 text-muted-foreground transition-colors hover:border-[color-mix(in_oklab,var(--foreground)_calc(35%*var(--contrast-edge-gain,1)),transparent)] hover:text-foreground",
+ "unsloth-files-add-card flex flex-col items-center justify-center gap-1.5 rounded-lg border border-dashed border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] text-ui-12 text-muted-foreground transition-colors hover:border-[color-mix(in_oklab,var(--foreground)_calc(35%*var(--contrast-edge-gain,1)),transparent)] hover:text-foreground",
CARD_SIZE,
)}
>
diff --git a/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx b/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx
index 520b964f5a7..07b97b09461 100644
--- a/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx
@@ -213,7 +213,7 @@ function BlockSheetButton({
: "border-transparent hover:border-border/60"
} ${draggable ? "cursor-grab active:cursor-grabbing" : ""}`}
>
- <div className="flex size-9 items-center justify-center rounded-xl text-foreground/70">
+ <div className="flex size-9 items-center justify-center rounded-md text-foreground/70">
<HugeiconsIcon icon={icon} className="size-5" />
</div>
<div className="min-w-0 flex-1">
@@ -480,9 +480,9 @@ export function BlockSheet({
<div className="flex-1 min-h-0 overflow-y-auto py-4">
<div className="mt-4 flex flex-col gap-2">
{isRootView && !hasSearch && (
- <div className={`mx-3 mb-2 rounded-2xl border px-4 py-4 ${RECIPE_STUDIO_ONBOARDING_SURFACE_TONE}`}>
+ <div className={`mx-3 mb-2 rounded-xl border px-4 py-4 ${RECIPE_STUDIO_ONBOARDING_SURFACE_TONE}`}>
<div className="flex items-start gap-3">
- <div className={`mt-0.5 flex size-9 shrink-0 items-center justify-center rounded-xl ${RECIPE_STUDIO_ONBOARDING_ICON_TONE}`}>
+ <div className={`mt-0.5 flex size-9 shrink-0 items-center justify-center rounded-md ${RECIPE_STUDIO_ONBOARDING_ICON_TONE}`}>
<HugeiconsIcon
icon={DocumentAttachmentIcon}
className="size-4"
@@ -715,7 +715,7 @@ export function BlockSheet({
setSheetOpen(false);
onOpenProcessors();
}}
- className="flex w-full items-center justify-between gap-3 rounded-xl border border-border/60 px-3 py-3 text-left transition hover:bg-muted/25"
+ className="flex w-full items-center justify-between gap-3 rounded-lg border border-border/60 px-3 py-3 text-left transition hover:bg-muted/25"
>
<div className="min-w-0">
<p className="text-sm font-medium text-foreground">
diff --git a/studio/frontend/src/features/recipe-studio/components/chip-input.tsx b/studio/frontend/src/features/recipe-studio/components/chip-input.tsx
index 1d3604ea494..42ccbb65c26 100644
--- a/studio/frontend/src/features/recipe-studio/components/chip-input.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/chip-input.tsx
@@ -89,12 +89,12 @@ export function ChipInput({
return (
<div
ref={containerRef}
- className={`bg-input/30 border-input dark:border-transparent focus-within:border-ring dark:focus-within:border-transparent dark:focus-within:bg-[rgb(255_255_255_/_calc(0.09*var(--contrast-wash-gain,1)))] flex min-h-9 flex-wrap items-center gap-1.5 border bg-clip-padding px-1.5 py-1.5 text-sm transition-colors ${isWrapped ? "corner-squircle rounded-xl" : "rounded-4xl"}`}
+ className={`bg-input/30 border-input dark:border-transparent focus-within:border-ring dark:focus-within:border-transparent dark:focus-within:bg-[rgb(255_255_255_/_calc(0.09*var(--contrast-wash-gain,1)))] flex min-h-9 flex-wrap items-center gap-1.5 border bg-clip-padding px-1.5 py-1.5 text-sm transition-colors ${isWrapped ? "corner-squircle rounded-xl" : "rounded-full"}`}
>
{values.map((value, index) => (
<span
key={`${value}-${index}`}
- className="bg-muted-foreground/10 text-foreground flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-4xl pr-0 pl-2 text-xs font-medium whitespace-nowrap"
+ className="bg-muted-foreground/10 text-foreground flex h-[calc(--spacing(5.5))] w-fit items-center justify-center gap-1 rounded-full pr-0 pl-2 text-xs font-medium whitespace-nowrap"
>
{value}
<Button
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsx
index d77ab795606..f6ebe346117 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-columns-tab.tsx
@@ -20,7 +20,7 @@ export function ExecutionColumnsTab({
analysisColumns,
}: ExecutionColumnsTabProps): ReactElement {
return (
- <div className="mt-3 rounded-xl border p-3">
+ <div className="mt-3 rounded-lg border p-3">
<p className="mb-2 text-sm font-semibold">Column statistics</p>
{analysisColumns.length === 0 ? (
<p className="text-xs text-muted-foreground">No column statistics yet.</p>
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsx
index 3db7800021c..8efc28a41f6 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-data-tab.tsx
@@ -70,7 +70,7 @@ function RunningDatasetEmptyState({
<div className="flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between">
<div className="flex min-w-0 gap-3">
<div
- className="flex size-9 shrink-0 items-center justify-center rounded-lg border border-border/70 bg-muted/20"
+ className="flex size-9 shrink-0 items-center justify-center rounded-md border border-border/70 bg-muted/20"
>
{showProgress ? (
<HugeiconsIcon icon={GithubIcon} className="size-4 text-muted-foreground" />
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsx
index 80c4a10c63f..ddff87a7ba2 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-overview-tab.tsx
@@ -174,7 +174,7 @@ export function ExecutionOverviewTab({
</div>
</div>
{(llmColumnCount > 0 || modelUsageRows.length > 0) && (
- <div className="rounded-xl border border-border/60 bg-card/55 p-3">
+ <div className="rounded-lg border border-border/60 bg-card/55 p-3">
<div className="mb-2 flex items-center justify-between">
<p className="text-xs text-muted-foreground">Model usage</p>
<HugeiconsIcon icon={Flag02Icon} className="size-4 text-muted-foreground" />
@@ -182,7 +182,7 @@ export function ExecutionOverviewTab({
{modelUsageRows.length === 0 ? (
<p className="text-xs text-muted-foreground">No model usage yet.</p>
) : (
- <div className="overflow-hidden rounded-lg border border-border/60 bg-card/50">
+ <div className="overflow-hidden rounded-md border border-border/60 bg-card/50">
<Table>
<TableHeader>
<TableRow>
@@ -212,7 +212,7 @@ export function ExecutionOverviewTab({
</div>
)}
{sourceProgress?.source === "github" && (
- <div className="rounded-xl border border-border/60 bg-card/55 p-3">
+ <div className="rounded-lg border border-border/60 bg-card/55 p-3">
<div className="mb-2 flex items-center justify-between">
<p className="text-xs text-muted-foreground">Source data</p>
<HugeiconsIcon icon={GithubIcon} className="size-4 text-muted-foreground" />
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsx
index 2bf08419cb7..0616df4d5b2 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-raw-tab.tsx
@@ -11,7 +11,7 @@ export function ExecutionRawTab({
rawExecution,
}: ExecutionRawTabProps): ReactElement {
return (
- <div className="mt-3 rounded-xl border p-3">
+ <div className="mt-3 rounded-lg border p-3">
<p className="mb-2 text-sm font-semibold">Raw execution</p>
<pre className="max-h-96 overflow-auto scroll-rounded rounded-md bg-muted/40 p-3 text-xs">
{JSON.stringify(rawExecution, null, 2)}
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsx b/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsx
index fd74287d68c..9bafff7b19a 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/execution-sidebar.tsx
@@ -37,7 +37,7 @@ export function ExecutionSidebar({
</div>
<div className="h-[calc(100%-45px)] space-y-2 overflow-auto p-2">
{executions.length === 0 ? (
- <div className="rounded-xl border border-dashed border-border/60 p-3 text-xs text-muted-foreground">
+ <div className="rounded-lg border border-dashed border-border/60 p-3 text-xs text-muted-foreground">
No runs yet.
</div>
) : (
@@ -53,7 +53,7 @@ export function ExecutionSidebar({
type="button"
onClick={() => onSelectExecution(execution.id)}
className={cn(
- "w-full rounded-xl corner-squircle border border-r-2 border-border/60 bg-card/60 p-3 text-left transition-colors",
+ "w-full rounded-lg corner-squircle border border-r-2 border-border/60 bg-card/60 p-3 text-left transition-colors",
selectedExecutionId === execution.id
? "border-ring-strong bg-primary/[0.045]"
: "hover:bg-muted/25",
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx b/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx
index 61087091430..4f640ed8379 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx
@@ -167,7 +167,7 @@ export function ExecutionsView({
src={imagePreview.src}
alt={`${name} preview`}
loading="lazy"
- className="h-24 w-auto max-w-[calc(260px*var(--ui-space-scale,1))] rounded-md border border-border/60 bg-muted/20 object-contain"
+ className="h-24 w-auto max-w-[calc(260px*var(--ui-space-scale,1))] rounded-lg border border-border/60 bg-muted/20 object-contain"
/>
</div>
);
@@ -461,7 +461,7 @@ export function ExecutionsView({
{(selectedExecution.status === "error" ||
selectedExecution.status === "cancelled") && (
- <div className="rounded-xl border border-destructive/40 bg-destructive/5 p-3">
+ <div className="rounded-lg border border-destructive/40 bg-destructive/5 p-3">
<p className="text-sm font-semibold text-destructive">
{selectedExecution.status === "cancelled"
? "Execution cancelled"
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/publish-execution-dialog.tsx b/studio/frontend/src/features/recipe-studio/components/executions/publish-execution-dialog.tsx
index 4ff29ca65fa..9a143d310f1 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/publish-execution-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/publish-execution-dialog.tsx
@@ -189,7 +189,7 @@ export function PublishExecutionDialog({
</DialogDescription>
</div>
</div>
- <div className="rounded-2xl border border-border/60 bg-card/55 p-3 text-xs">
+ <div className="rounded-lg border border-border/60 bg-card/55 p-3 text-xs">
<p className="mb-1 text-muted-foreground">Dataset URL</p>
<p className="break-all font-medium text-foreground">{publishedUrl}</p>
</div>
@@ -219,7 +219,7 @@ export function PublishExecutionDialog({
</DialogHeader>
<div className="space-y-4">
- <div className="rounded-2xl border border-border/60 bg-card/55 p-3 text-xs">
+ <div className="rounded-lg border border-border/60 bg-card/55 p-3 text-xs">
<p className="font-medium text-foreground">From this run</p>
<div className="mt-2 grid gap-1.5 text-muted-foreground sm:grid-cols-2">
<p>
@@ -304,7 +304,7 @@ export function PublishExecutionDialog({
</p>
</div>
- <div className="corner-squircle flex items-start gap-3 rounded-2xl border border-border/60 bg-card/35 p-3">
+ <div className="corner-squircle flex items-start gap-3 rounded-lg border border-border/60 bg-card/35 p-3">
<Switch
id="publish-private"
size="sm"
@@ -326,7 +326,7 @@ export function PublishExecutionDialog({
</div>
{publishError ? (
- <div className="rounded-2xl border border-destructive/40 bg-destructive/5 p-3 text-sm text-destructive">
+ <div className="rounded-lg border border-destructive/40 bg-destructive/5 p-3 text-sm text-destructive">
{publishError}
</div>
) : null}
diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsx
index 7b47a4ad53d..72ba5457c0b 100644
--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-model.tsx
@@ -97,7 +97,7 @@ export function InlineModel(props: InlineModelProps): ReactElement {
{isLinkedToLocal ? (
<LocalRecipeModelSelector
compact={true}
- className="h-8 rounded-md text-xs"
+ className="h-8 rounded-full text-xs"
value={
modelConfig.model.trim().toLowerCase() === "local"
? ""
diff --git a/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsx b/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsx
index c4ca2d18347..7e597fd2a97 100644
--- a/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/inline/inline-seed.tsx
@@ -69,7 +69,7 @@ export function InlineSeed({
<div
className={`corner-squircle flex items-center gap-2 rounded-md border px-2 py-2 ${warning ? "border-amber-500/50 bg-amber-500/10" : "border-border/60 bg-muted/30"}`}
>
- <div className="corner-squircle rounded-md bg-primary/10 p-1.5 text-primary">
+ <div className="corner-squircle rounded-sm bg-primary/10 p-1.5 text-primary">
<HugeiconsIcon icon={GithubIcon} className="size-3.5" />
</div>
<div className="min-w-0">
@@ -122,7 +122,7 @@ export function InlineSeed({
return (
<div className="corner-squircle flex items-center gap-2 rounded-md border border-border/60 bg-muted/30 px-2 py-2">
- <div className="corner-squircle rounded-md bg-primary/10 p-1.5 text-primary">
+ <div className="corner-squircle rounded-sm bg-primary/10 p-1.5 text-primary">
<HugeiconsIcon
icon={isLocal ? DocumentCodeIcon : DocumentAttachmentIcon}
className="size-3.5"
diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.ts b/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.ts
index 0c0caffa9b7..d67689d7e85 100644
--- a/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.ts
+++ b/studio/frontend/src/features/recipe-studio/components/recipe-floating-icon-button-class.ts
@@ -2,4 +2,4 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
export const RECIPE_FLOATING_ICON_BUTTON_CLASS =
- "corner-squircle group h-11 w-11 rounded-xl border border-border/60 bg-transparent p-0 text-muted-foreground hover:bg-transparent hover:text-primary hover:border-primary/60";
+ "btn-fill corner-squircle group h-11 w-11 rounded-full border-0 p-0 text-muted-foreground hover:text-primary";
diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsx
index 8b3676874a8..dc3cecd9826 100644
--- a/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/recipe-graph-aux-node.tsx
@@ -132,7 +132,7 @@ function AuxNodeBase({
const hasInvalidRefs =
findInvalidJinjaReferences(value, availableRefs).length > 0;
return (
- <BaseNode className="corner-squircle w-full min-w-0 rounded-4xl border-border/60 bg-card shadow-sm">
+ <BaseNode className="corner-squircle w-full min-w-0 rounded-xl border-border/60 bg-card shadow-sm">
<BaseNodeHeader className="border-b border-border/50 px-3 py-2">
<BaseNodeHeaderTitle className="text-xs">{data.title}</BaseNodeHeaderTitle>
</BaseNodeHeader>
@@ -195,7 +195,7 @@ function AuxNodeBase({
};
return (
- <BaseNode className="corner-squircle w-full min-w-0 rounded-4xl border-border/60 bg-card shadow-sm">
+ <BaseNode className="corner-squircle w-full min-w-0 rounded-xl border-border/60 bg-card shadow-sm">
<BaseNodeHeader className="border-b border-border/50 px-3 py-2">
<BaseNodeHeaderTitle className="text-xs">
{score.name.trim() || `Scorer ${data.scoreIndex + 1}`}
diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx
index 9ad483d738f..b7c3d012c07 100644
--- a/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/recipe-graph-node.tsx
@@ -400,7 +400,7 @@ function RecipeGraphNodeBase({
return (
<BaseNode
- className="corner-squircle relative w-full min-w-0 overflow-visible rounded-4xl border-border/60 shadow-sm"
+ className="corner-squircle relative w-full min-w-0 overflow-visible rounded-xl border-border/60 shadow-sm"
style={noteStyle}
>
<NodeResizer
@@ -466,7 +466,7 @@ function RecipeGraphNodeBase({
return (
<BaseNode
className={cn(
- "corner-squircle relative w-full min-w-0 overflow-visible rounded-4xl border-border/60 shadow-sm",
+ "corner-squircle relative w-full min-w-0 overflow-visible rounded-xl border-border/60 shadow-sm",
runtimeNodeTone,
hasConnectionIssue &&
runtimeState === "idle" &&
@@ -495,7 +495,7 @@ function RecipeGraphNodeBase({
<div className="flex min-w-0 items-center gap-2">
<div
className={cn(
- "corner-squircle flex size-7 items-center justify-center rounded-md border",
+ "corner-squircle flex size-7 items-center justify-center rounded-sm border",
iconTone,
)}
>
diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx
index 56ba322df4a..72bd054ecca 100644
--- a/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx
@@ -88,7 +88,7 @@ export function RecipeStudioHeader({
<div className="grid grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-4 border-b px-4 py-3 max-sm:grid-cols-[minmax(0,1fr)_auto] max-sm:gap-x-2 max-sm:gap-y-2.5 max-sm:px-3">
<div className="flex min-w-0 items-center gap-3">
<div
- className="flex size-8 shrink-0 items-center justify-center rounded-lg corner-squircle border border-border/70 bg-muted/20"
+ className="flex size-8 shrink-0 items-center justify-center rounded-md corner-squircle border border-border/70 bg-muted/20"
aria-hidden={true}
>
<HugeiconsIcon
@@ -148,7 +148,7 @@ export function RecipeStudioHeader({
<PopoverTrigger asChild={true}>
<button
type="button"
- className={`inline-flex h-6 shrink-0 items-center gap-1 rounded-md border px-2 text-ui-10 font-medium ${RECIPE_STUDIO_WARNING_BADGE_TONE}`}
+ className={`inline-flex h-6 shrink-0 items-center gap-1 rounded-full px-2 text-ui-10 font-medium ${RECIPE_STUDIO_WARNING_BADGE_TONE}`}
>
<HugeiconsIcon icon={Alert02Icon} className="size-3" />
{warnings.length}
diff --git a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsx b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsx
index 9eba732e35f..703b10aa926 100644
--- a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-node.tsx
@@ -12,7 +12,7 @@ export function BaseNode({
return (
<div
className={cn(
- "bg-card text-card-foreground relative rounded-md border transition-[border-color,box-shadow] duration-150",
+ "bg-card text-card-foreground relative rounded-xl border transition-[border-color,box-shadow] duration-150",
"hover:border-ring hover:shadow-sm",
"[.react-flow\\_\\_node.selected_&]:border-ring-strong",
"[.react-flow\\_\\_node.selected_&]:shadow-md",
diff --git a/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsx b/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsx
index 47313098098..5dee7c53bf5 100644
--- a/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/runtime/execution-progress-island.tsx
@@ -162,7 +162,7 @@ export function ExecutionProgressIsland({
<button
type="button"
onClick={() => onMinimizedChange(!minimized)}
- className="inline-flex size-8 shrink-0 items-center justify-center rounded border border-border/70 text-muted-foreground transition hover:bg-muted/50"
+ className="btn-fill inline-flex size-8 shrink-0 items-center justify-center rounded-full text-muted-foreground transition "
aria-label={minimized ? "Expand progress" : "Minimize progress"}
title={minimized ? "Expand" : "Minimize"}
>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsx
index e76008493af..b244b8328a1 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/config-dialog.tsx
@@ -78,7 +78,7 @@ export function ConfigDialog({
className={readOnly ? "pointer-events-none min-w-0 opacity-75" : "min-w-0"}
>
{showDropToggle && (
- <div className="mb-2 flex items-center corner-squircle justify-between gap-3 rounded-2xl border border-border/60 px-3 pt-2 pb-4">
+ <div className="mb-2 flex items-center corner-squircle justify-between gap-3 rounded-xl border border-border/60 px-3 pt-2 pb-4">
<div className="min-w-0">
<p className="text-sm font-semibold">Keep out of final dataset</p>
<p className="break-words text-xs text-muted-foreground">
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsx b/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsx
index 0e61b06ccf8..ceee7bc0910 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/llm/general-tab.tsx
@@ -180,7 +180,7 @@ export function LlmGeneralTab({
onChange={(value) => onUpdate({ name: value })}
/>
{needsSetupHelp ? (
- <div className="rounded-2xl border border-border/60 bg-muted/10 px-4 py-3 text-xs text-muted-foreground">
+ <div className="rounded-lg border border-border/60 bg-muted/10 px-4 py-3 text-xs text-muted-foreground">
<p className="text-sm font-semibold text-foreground">
Set up the model once, then come back here
</p>
@@ -204,7 +204,7 @@ export function LlmGeneralTab({
</div>
</div>
) : needsModelChoice ? (
- <div className="rounded-2xl border border-border/60 bg-muted/10 px-4 py-3 text-xs text-muted-foreground">
+ <div className="rounded-lg border border-border/60 bg-muted/10 px-4 py-3 text-xs text-muted-foreground">
<p className="text-sm font-semibold text-foreground">
Start by choosing a model preset
</p>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsx b/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsx
index 012ec9729b2..4b75fd3218f 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/llm/scores-tab.tsx
@@ -125,7 +125,7 @@ export function LlmScoresTab({
{scores.map((score, index) => (
<div
key={`${config.id}-score-${index}`}
- className="space-y-2 rounded-xl corner-squircle border border-border/60 px-3 py-2"
+ className="space-y-2 rounded-lg corner-squircle border border-border/60 px-3 py-2"
>
<div className="flex items-center justify-between gap-2">
<p className="text-xs font-semibold text-foreground">
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx b/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx
index c830c7ac9b7..8061b79c45b 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx
@@ -272,8 +272,10 @@ const SelectorTrigger = forwardRef<HTMLButtonElement, SelectorTriggerProps>(
type="button"
disabled={disabled}
className={cn(
- "nodrag flex w-full min-w-0 items-center gap-2 rounded-xl border border-border/70 bg-background px-3 text-left transition-colors hover:bg-muted/40 disabled:pointer-events-none disabled:opacity-60",
- compact ? "min-h-8 py-1.5 text-xs" : "min-h-10 py-2 text-sm",
+ "nodrag flex w-full min-w-0 items-center gap-2 border border-border/70 bg-background px-3 text-left transition-colors hover:bg-muted/40 disabled:pointer-events-none disabled:opacity-60",
+ compact
+ ? "min-h-8 rounded-full py-1.5 text-xs"
+ : "min-h-10 rounded-xl py-2 text-sm",
className,
)}
>
@@ -341,7 +343,7 @@ function LocalModelRow({
disabled={probing}
onClick={() => onSelectModel(model)}
className={cn(
- "flex w-full items-center gap-2 rounded-lg px-2.5 py-2.5 text-left text-sm transition-colors hover:bg-muted/50",
+ "flex w-full items-center gap-2 rounded-md px-2.5 py-2.5 text-left text-sm transition-colors hover:bg-muted/50",
selected && "bg-muted/70 text-foreground ring-1 ring-border/70",
)}
>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsx
index 64f203fe4f1..47b35e0a04f 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/models/model-config-dialog.tsx
@@ -92,7 +92,7 @@ export function ModelConfigDialog({
value={config.name}
onChange={(value) => onUpdate({ name: value })}
/>
- <div className="rounded-2xl border border-border/60 bg-muted/10 px-4 py-3">
+ <div className="rounded-lg border border-border/60 bg-muted/10 px-4 py-3">
<p className="text-sm font-semibold text-foreground">
Set up one reusable model choice for your AI steps
</p>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsx
index 632cde60753..1a10df5d9f6 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/models/model-provider-dialog.tsx
@@ -120,7 +120,7 @@ export function ModelProviderDialog({
</div>
</div>
{isLocal ? (
- <div className="rounded-2xl border border-border/60 bg-muted/10 px-4 py-3">
+ <div className="rounded-lg border border-border/60 bg-muted/10 px-4 py-3">
<p className="text-sm font-semibold text-foreground">Ready to go</p>
<p className="mt-1 text-xs text-muted-foreground">
Recipes will use whatever model is loaded in the Chat tab when you
@@ -129,7 +129,7 @@ export function ModelProviderDialog({
</div>
) : (
<>
- <div className="rounded-2xl border border-border/60 bg-muted/10 px-4 py-3">
+ <div className="rounded-lg border border-border/60 bg-muted/10 px-4 py-3">
<p className="text-sm font-semibold text-foreground">
Start with the endpoint you want this model to use
</p>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx
index f9c234edb93..0402e12cb29 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx
@@ -182,7 +182,7 @@ function AdvancedSettingsSection({
children: ReactNode;
}): ReactElement {
return (
- <div className="space-y-3 rounded-2xl border border-border/70 bg-card/60 p-4">
+ <div className="space-y-3 rounded-xl border border-border/70 bg-card/60 p-4">
<div className="space-y-0.5">
<p className="text-sm font-semibold text-foreground">{title}</p>
<p className="text-xs text-muted-foreground">{description}</p>
@@ -204,7 +204,7 @@ function ValidationResultPanel({
return (
<div
className={cn(
- "space-y-3 rounded-2xl border p-4 shadow-border backdrop-blur-sm",
+ "space-y-3 rounded-xl border p-4 shadow-border backdrop-blur-sm",
validateResult.valid
? "border-emerald-300/70 bg-emerald-50/80 dark:border-emerald-900/60 dark:bg-emerald-950/30"
: "border-destructive/30 bg-destructive/5",
@@ -523,7 +523,7 @@ function RunDialogBody({
)
}
/>
- <div className="flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-background/60 px-3 py-2 text-sm text-foreground">
+ <div className="flex items-center justify-between gap-3 rounded-lg border border-border/60 bg-background/60 px-3 py-2 text-sm text-foreground">
<div className="space-y-0.5">
<p className="font-medium">Merge batches into one file</p>
<p className="text-xs text-muted-foreground">
@@ -622,7 +622,7 @@ function RunDialogBody({
)
}
/>
- <div className="flex items-center justify-between gap-3 rounded-xl border border-border/60 bg-background/60 px-3 py-2 text-sm text-foreground md:col-span-2">
+ <div className="flex items-center justify-between gap-3 rounded-lg border border-border/60 bg-background/60 px-3 py-2 text-sm text-foreground md:col-span-2">
<div className="space-y-0.5">
<p className="font-medium">Keep running through failures</p>
<p className="text-xs text-muted-foreground">
@@ -647,7 +647,7 @@ function RunDialogBody({
{errors.length > 0 && (
// Scrolls an inner viewport: the shadow would not survive the clip .scroll-rounded takes in
// Firefox. The surface padding keeps the scrollbar clear of the curve. 11rem in all, as before.
- <div className="overflow-hidden rounded-2xl border border-destructive/30 bg-destructive/5 py-3 shadow-border">
+ <div className="overflow-hidden rounded-lg border border-destructive/30 bg-destructive/5 py-3 shadow-border">
<div className="max-h-38 space-y-2 overflow-y-auto px-4 py-1">
<div className="flex items-center gap-2">
<HugeiconsIcon
@@ -678,7 +678,7 @@ function RunDialogBody({
variant="outline"
onClick={onClose}
disabled={loading}
- className="corner-squircle border-border/70 bg-card/70"
+ className="corner-squircle"
>
Cancel
</Button>
@@ -687,7 +687,7 @@ function RunDialogBody({
variant="outline"
onClick={onValidate}
disabled={loading || validateLoading}
- className="corner-squircle border-border/70 bg-card/70"
+ className="corner-squircle"
>
<HugeiconsIcon icon={TestTube01Icon} className="size-3.5" />
{validateLoading ? "Checking..." : "Check recipe"}
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsx
index 6b6246cd241..78ac4f6cafb 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/processors-dialog.tsx
@@ -75,7 +75,7 @@ export function ProcessorsDialog({
<DialogTitle>Processors</DialogTitle>
</VisuallyHidden.Root>
<div className="space-y-4">
- <div className="flex items-center justify-between gap-3 corner-squircle rounded-2xl border border-border/60 px-3 py-2">
+ <div className="flex items-center justify-between gap-3 corner-squircle rounded-lg border border-border/60 px-3 py-2">
<div>
<p className="text-sm font-semibold">Schema transform</p>
<p className="text-xs text-muted-foreground">
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsx
index b87fa13b07d..6048a703fb4 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/category-dialog.tsx
@@ -194,7 +194,7 @@ export function CategoryDialog({
{Object.entries(conditional).map(([condition, params]) => (
<div
key={condition}
- className="space-y-3 rounded-2xl border border-border/60 p-3"
+ className="space-y-3 rounded-lg border border-border/60 p-3"
>
<div className="flex items-center justify-between gap-2">
<p className="text-xs font-semibold text-foreground">{condition}</p>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsx
index ee3ce6b3708..67985c69028 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/samplers/person-dialog.tsx
@@ -51,7 +51,7 @@ export function PersonDialog({
onChange={(value) => onUpdate({ name: value })}
/>
<div className="grid gap-3">
- <div className="rounded-2xl border border-border/60 px-3 py-2">
+ <div className="rounded-lg border border-border/60 px-3 py-2">
<p className="text-xs font-semibold uppercase text-muted-foreground">
Source
</p>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsx
index f6738dd2dfa..a38e703a3d1 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/seed/seed-dialog.tsx
@@ -246,7 +246,7 @@ export function GithubRepoSeedForm({
/>
<div
className={cn(
- "nodrag flex min-h-11 flex-wrap items-center gap-1.5 rounded-md border border-border/60 bg-background px-2 py-1.5",
+ "nodrag flex min-h-11 flex-wrap items-center gap-1.5 rounded-xl border border-border/60 bg-background px-2 py-1.5",
hasRepoErrors && "border-red-500/70",
)}
>
@@ -319,7 +319,7 @@ export function GithubRepoSeedForm({
hint="Prefer the server GH_TOKEN / GITHUB_TOKEN env var. Use public_repo for public repos or repo for private repos."
/>
{usingEnvToken && (
- <span className="shrink-0 rounded-md border border-emerald-500/40 bg-emerald-500/10 px-1.5 py-0.5 text-ui-10 font-medium text-emerald-700 dark:text-emerald-300">
+ <span className="shrink-0 rounded-full border border-emerald-500/40 bg-emerald-500/10 px-1.5 py-0.5 text-ui-10 font-medium text-emerald-700 dark:text-emerald-300">
Using server env var
</span>
)}
@@ -343,7 +343,7 @@ export function GithubRepoSeedForm({
: "Blank is safest for saved/shared recipes because Unsloth will read the server environment at run time."}
</p>
{hasToken && (
- <p className="rounded-md bg-amber-500/10 px-2 py-1.5 text-xs text-amber-700 dark:text-amber-300">
+ <p className="rounded-lg bg-amber-500/10 px-2 py-1.5 text-xs text-amber-700 dark:text-amber-300">
Personal access tokens are sensitive. Prefer server env vars when
possible, and avoid sharing recipes that contain a PAT.
</p>
@@ -1083,7 +1083,7 @@ export function SeedDialog({
)}
{mode !== "unstructured" && mode !== "github_repo" && (
- <div className="space-y-2 rounded-xl corner-squircle border border-border/60 p-3">
+ <div className="space-y-2 rounded-lg corner-squircle border border-border/60 p-3">
<FieldLabel
label="Drop specific seed columns"
hint="Dropped columns stay usable in prompts/expressions but are omitted from final dataset."
@@ -1378,7 +1378,7 @@ export function SeedDialog({
src={imagePreview.src}
alt={`${col} preview`}
loading="lazy"
- className="h-20 w-auto max-w-[calc(220px*var(--ui-space-scale,1))] rounded-md border border-border/60 bg-muted/20 object-contain"
+ className="h-20 w-auto max-w-[calc(220px*var(--ui-space-scale,1))] rounded-lg border border-border/60 bg-muted/20 object-contain"
/>
);
}
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/seed/unstructured-drop-zone.tsx b/studio/frontend/src/features/recipe-studio/dialogs/seed/unstructured-drop-zone.tsx
index 9f7b31a2cbf..3991060e028 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/seed/unstructured-drop-zone.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/seed/unstructured-drop-zone.tsx
@@ -247,7 +247,7 @@ export function UnstructuredDropZone({
// Stays hit-testable while disabled: pointer-events-none hides it from
// elementFromPoint, so a native drop misses this target and falls
// through to the window instead of saying the block is busy.
- className={`nodrag flex flex-col items-center justify-center rounded-md border-2 border-dashed px-4 py-6 text-center transition-colors ${
+ className={`nodrag flex flex-col items-center justify-center rounded-xl border-2 border-dashed px-4 py-6 text-center transition-colors ${
isDragOver
? "border-ring-strong bg-primary/5"
: "border-muted-foreground/25 hover:border-muted-foreground/50"
@@ -312,7 +312,7 @@ export function UnstructuredDropZone({
)}
<button
type="button"
- className="ml-auto inline-flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-destructive/10 hover:text-destructive"
+ className="ml-auto inline-flex size-7 shrink-0 items-center justify-center rounded-full text-muted-foreground transition hover:bg-destructive/10 hover:text-destructive"
onClick={(e) => {
e.stopPropagation();
handleRemove(i);
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsx b/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsx
index 16024f0b8d2..b771f46f63f 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/shared/available-variables.tsx
@@ -44,7 +44,7 @@ export function AvailableVariables({
if (vars.length === 0) return null;
return (
- <div className="corner-squircle rounded-2xl border border-border/60 px-3 py-2">
+ <div className="corner-squircle rounded-lg border border-border/60 px-3 py-2">
<p className="mb-2 text-xs font-semibold uppercase text-muted-foreground">
Available references
</p>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/shared/recipe-dialog-content.tsx b/studio/frontend/src/features/recipe-studio/dialogs/shared/recipe-dialog-content.tsx
index 2505f1b9c9b..ee91290ef19 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/shared/recipe-dialog-content.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/shared/recipe-dialog-content.tsx
@@ -33,7 +33,7 @@ export function RecipeDialogContent({
<div
data-slot="recipe-dialog-viewport"
className={cn(
- "grid min-h-0 gap-6 overflow-y-auto overflow-x-hidden scroll-rounded rounded-4xl px-7 pt-8 pb-7",
+ "grid min-h-0 gap-6 overflow-y-auto overflow-x-hidden scroll-rounded rounded-3xl px-7 pt-8 pb-7",
viewportClassName,
)}
>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsx b/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsx
index d4ad03108e5..187ad3da910 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/tool-profile/tool-profile-dialog.tsx
@@ -47,7 +47,7 @@ function EmptyState({
description: string;
}): ReactElement {
return (
- <div className="rounded-2xl border border-dashed border-border/70 bg-muted/15 px-4 py-5 text-sm">
+ <div className="rounded-lg border border-dashed border-border/70 bg-muted/15 px-4 py-5 text-sm">
<p className="font-semibold text-foreground">{title}</p>
<p className="mt-1 text-xs text-muted-foreground">{description}</p>
</div>
@@ -123,7 +123,7 @@ function McpServerCard({
return (
<Collapsible open={open} onOpenChange={onOpenChange}>
- <div className="rounded-2xl border border-border/60 bg-background/80">
+ <div className="rounded-xl border border-border/60 bg-background/80">
<div className="flex items-start gap-2 px-4 py-4">
<CollapsibleTrigger asChild={true}>
<button
@@ -165,7 +165,7 @@ function McpServerCard({
<CollapsibleContent className="space-y-4 border-t border-border/50 px-4 pt-4 pb-4">
{error && (
- <div className="rounded-xl border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive">
+ <div className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-destructive">
{error}
</div>
)}
@@ -646,7 +646,7 @@ export function ToolProfileDialog({
</div>
) : (
<>
- <div className="rounded-2xl border border-border/60 bg-muted/10 px-4 py-3">
+ <div className="rounded-lg border border-border/60 bg-muted/10 px-4 py-3">
<p className="text-sm font-semibold text-foreground">
Pick which tools this setup may use
</p>
@@ -655,7 +655,7 @@ export function ToolProfileDialog({
allow all tools, or add only the ones this step should use.
</p>
</div>
- <div className="space-y-3 rounded-2xl border border-border/60 bg-muted/10 p-4">
+ <div className="space-y-3 rounded-xl border border-border/60 bg-muted/10 p-4">
<div className="flex items-start justify-between gap-3">
<div>
<p className="text-sm font-semibold text-foreground">
@@ -706,7 +706,7 @@ export function ToolProfileDialog({
))}
{Object.entries(duplicateTools).length > 0 && (
- <div className="rounded-xl border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-xs text-amber-700 dark:text-amber-300">
+ <div className="rounded-lg border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-xs text-amber-700 dark:text-amber-300">
Some tool names appear on more than one server:
{" "}
{Object.entries(duplicateTools)
@@ -791,7 +791,7 @@ export function ToolProfileDialog({
</TabsContent>
<TabsContent value="servers" className="space-y-4 pt-3">
- <div className="rounded-2xl border border-border/60 bg-muted/10 px-4 py-3">
+ <div className="rounded-lg border border-border/60 bg-muted/10 px-4 py-3">
<p className="text-sm font-semibold text-foreground">
Add one or more tool servers
</p>
diff --git a/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx b/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx
index 68d7bc14a66..f269e345b5e 100644
--- a/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx
+++ b/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx
@@ -125,7 +125,7 @@ export function GithubCrawlerEasyView({
<div className="mx-auto flex h-full w-full max-w-2xl flex-col gap-4 overflow-y-auto px-6 py-6">
<div className="flex items-start gap-3">
<div
- className="flex size-10 shrink-0 items-center justify-center rounded-lg corner-squircle border border-border/70 bg-muted/20"
+ className="flex size-10 shrink-0 items-center justify-center rounded-md corner-squircle border border-border/70 bg-muted/20"
aria-hidden={true}
>
<HugeiconsIcon icon={GithubIcon} className="size-5" />
diff --git a/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx b/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx
index af0bc387840..dc0bdb37bf4 100644
--- a/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx
+++ b/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx
@@ -698,7 +698,7 @@ export function RecipeStudioPage({
{nodes.length === 0 && (
<div className="pointer-events-none absolute inset-0 z-10 flex items-center justify-center p-4">
<div className="pointer-events-auto w-full max-w-md rounded-2xl border border-dashed border-border/70 bg-background/80 px-6 py-6 text-center shadow-border backdrop-blur-[1px]">
- <div className="mx-auto flex size-12 items-center justify-center corner-squircle rounded-xl border border-border/70 bg-muted/40">
+ <div className="mx-auto flex size-12 items-center justify-center corner-squircle rounded-md border border-border/70 bg-muted/40">
<HugeiconsIcon
icon={DocumentAttachmentIcon}
className="size-6 text-muted-foreground"
diff --git a/studio/frontend/src/features/recipe-studio/utils/ui-tones.ts b/studio/frontend/src/features/recipe-studio/utils/ui-tones.ts
index 1dc3666687b..8ef44b44f34 100644
--- a/studio/frontend/src/features/recipe-studio/utils/ui-tones.ts
+++ b/studio/frontend/src/features/recipe-studio/utils/ui-tones.ts
@@ -34,7 +34,7 @@ export const RECIPE_STUDIO_REFERENCE_BADGE_TONES = {
} as const;
export const RECIPE_STUDIO_WARNING_BADGE_TONE =
- "border-amber-500/40 bg-amber-500/10 text-amber-700 hover:bg-amber-500/20 dark:text-amber-300";
+ "bg-amber-500/10 text-amber-700 hover:bg-amber-500/20 dark:text-amber-300";
export const RECIPE_STUDIO_WARNING_ICON_TONE =
"text-amber-600 dark:text-amber-400";
diff --git a/studio/frontend/src/features/security/components/remote-code-consent-dialog.tsx b/studio/frontend/src/features/security/components/remote-code-consent-dialog.tsx
index bea586b138a..37dc41bcb90 100644
--- a/studio/frontend/src/features/security/components/remote-code-consent-dialog.tsx
+++ b/studio/frontend/src/features/security/components/remote-code-consent-dialog.tsx
@@ -129,7 +129,7 @@ function FindingCard({ finding }: { finding: RemoteCodeFinding }) {
const fileLabel = finding.line ? `${finding.file}:${finding.line}` : finding.file;
const snippet = finding.snippet ?? [];
return (
- <div className="min-w-0 overflow-hidden rounded-lg border">
+ <div className="min-w-0 overflow-hidden rounded-xl border">
<div className="flex flex-wrap items-center gap-x-2 gap-y-1 border-b bg-muted/40 px-3 py-2">
<Badge
variant="outline"
diff --git a/studio/frontend/src/features/settings/components/agent-command-block.tsx b/studio/frontend/src/features/settings/components/agent-command-block.tsx
index 9d1716d0535..466452f89c9 100644
--- a/studio/frontend/src/features/settings/components/agent-command-block.tsx
+++ b/studio/frontend/src/features/settings/components/agent-command-block.tsx
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
+import { useSingleLine } from "@/hooks/use-single-line";
import { useT } from "@/i18n";
import { copyToClipboard } from "@/lib/copy-to-clipboard";
import { Tick02Icon } from "@/lib/tick-icon";
@@ -67,8 +68,11 @@ export function AgentIcon({
const markSize = compact ? "size-4" : "size-5";
if (logo) {
return (
- <span className="flex size-5 shrink-0 items-center justify-center overflow-hidden rounded">
- <ApiProviderLogo providerType={logo} className={cn(markSize, "rounded")} />
+ <span className="flex size-5 shrink-0 items-center justify-center overflow-hidden rounded-sm">
+ <ApiProviderLogo
+ providerType={logo}
+ className={cn(markSize, "rounded-sm")}
+ />
</span>
);
}
@@ -78,12 +82,16 @@ export function AgentIcon({
? `${import.meta.env.BASE_URL}agent-logos/${darkIcon}`
: null;
return (
- <span className="flex size-5 shrink-0 items-center justify-center overflow-hidden rounded">
+ <span className="flex size-5 shrink-0 items-center justify-center overflow-hidden rounded-sm">
<img
src={iconSrc}
alt=""
aria-hidden={true}
- className={cn(markSize, "object-contain", darkIconSrc && "dark:hidden")}
+ className={cn(
+ markSize,
+ "object-contain",
+ darkIconSrc && "dark:hidden",
+ )}
/>
{darkIconSrc ? (
<img
@@ -100,7 +108,7 @@ export function AgentIcon({
<span
aria-hidden={true}
style={{ backgroundColor: color }}
- className="flex size-5 shrink-0 items-center justify-center rounded font-heading text-ui-10 font-semibold text-white"
+ className="flex size-5 shrink-0 items-center justify-center rounded-sm font-heading text-ui-10 font-semibold text-white"
>
{mark}
</span>
@@ -110,10 +118,19 @@ export function AgentIcon({
export function CommandBlock({ command }: { command: string }) {
const t = useT();
const { copied, copy } = useCopyButton(command);
+ const [preRef, singleLine] = useSingleLine<HTMLPreElement>();
return (
- <div className="group relative overflow-hidden rounded-xl border border-border bg-muted/40 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.04*var(--contrast-wash-gain,1)))]">
- <pre className="py-3 pr-11 pl-4 text-xs leading-relaxed text-foreground">
+ <div
+ className={cn(
+ "group relative overflow-hidden border border-border bg-muted/40 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.04*var(--contrast-wash-gain,1)))]",
+ singleLine ? "rounded-full" : "rounded-lg",
+ )}
+ >
+ <pre
+ ref={preRef}
+ className="py-3 pr-11 pl-4 text-xs leading-relaxed text-foreground"
+ >
<code className="block font-mono whitespace-pre-wrap break-all">
{command}
</code>
@@ -124,7 +141,7 @@ export function CommandBlock({ command }: { command: string }) {
aria-label={
copied ? t("settings.agents.copied") : t("settings.agents.copy")
}
- className="absolute top-2 right-2 flex size-7 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="absolute top-2 right-2 flex size-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<HugeiconsIcon
icon={copied ? Tick02Icon : Copy01Icon}
diff --git a/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx b/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx
index 31afa3a6ea0..9acf6abb402 100644
--- a/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx
+++ b/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx
@@ -307,7 +307,7 @@ function FontSelect({
value={font}
onSelect={() => select(font)}
data-checked={value === font}
- className="cursor-pointer rounded-[11px]"
+ className="cursor-pointer rounded-md"
>
{/* Preview each entry in its own typeface. */}
<span
@@ -360,7 +360,7 @@ function FontSelect({
value={defaultLabel}
onSelect={() => select(null)}
data-checked={value === null}
- className="cursor-pointer rounded-[11px]"
+ className="cursor-pointer rounded-md"
>
<span style={{ fontFamily: `"${defaultFont}", var(--font-sans)` }}>
{defaultLabel}
@@ -383,7 +383,7 @@ function FontSelect({
value={font.name}
onSelect={() => select(font.name)}
data-checked={value === font.name}
- className="cursor-pointer rounded-[11px]"
+ className="cursor-pointer rounded-md"
>
<span
className="min-w-0 truncate"
@@ -399,7 +399,7 @@ function FontSelect({
e.stopPropagation();
removeImportedFont(font.name);
}}
- className="ml-auto rounded p-0.5 text-muted-foreground transition-colors hover:text-foreground"
+ className="ml-auto rounded-full p-0.5 text-muted-foreground transition-colors hover:text-foreground"
>
<HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</button>
@@ -419,7 +419,7 @@ function FontSelect({
key={`folder-${name}`}
value={name}
onSelect={() => importFile(file)}
- className="cursor-pointer rounded-[11px]"
+ className="cursor-pointer rounded-md"
>
<span className="min-w-0 truncate">{name}</span>
</CommandItem>
@@ -444,7 +444,7 @@ function FontSelect({
<button
type="button"
onClick={requestUpload}
- className="flex flex-1 cursor-pointer items-center gap-2 whitespace-nowrap rounded-[11px] px-3 py-2 text-sm hover:bg-accent hover:text-accent-foreground"
+ className="flex flex-1 cursor-pointer items-center gap-2 whitespace-nowrap rounded-md px-3 py-2 text-sm hover:bg-accent hover:text-accent-foreground"
>
<HugeiconsIcon
icon={Upload01Icon}
@@ -456,7 +456,7 @@ function FontSelect({
<button
type="button"
onClick={requestFolder}
- className="flex flex-1 cursor-pointer items-center gap-2 whitespace-nowrap rounded-[11px] px-3 py-2 text-sm hover:bg-accent hover:text-accent-foreground"
+ className="flex flex-1 cursor-pointer items-center gap-2 whitespace-nowrap rounded-md px-3 py-2 text-sm hover:bg-accent hover:text-accent-foreground"
>
<HugeiconsIcon
icon={Folder01Icon}
diff --git a/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx b/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
index add23497ef7..0f23e1e0db5 100644
--- a/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
@@ -282,7 +282,7 @@ export function ArchivedChatsView() {
aria-label={t("settings.data.library.unarchiveItem", {
title: item.title,
})}
- className="rounded-xl bg-muted/60 hover:bg-muted"
+ className="rounded-full bg-muted/60 hover:bg-muted"
>
{t("settings.data.library.unarchive")}
</Button>
diff --git a/studio/frontend/src/features/settings/components/archived-media-dialog.tsx b/studio/frontend/src/features/settings/components/archived-media-dialog.tsx
index c9b2a3f9abe..ffc9bccfe60 100644
--- a/studio/frontend/src/features/settings/components/archived-media-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/archived-media-dialog.tsx
@@ -611,7 +611,7 @@ export function ArchivedMediaView({ kind }: { kind: ArchivedMediaKind }) {
</div>
<div
ref={listRef}
- className="divide-y divide-border/50 rounded-2xl border border-border/60 px-3 sm:px-4"
+ className="divide-y divide-border/50 rounded-xl border border-border/60 px-3 sm:px-4"
>
{displayed.map((row) => (
<div key={row.id} data-archived-id={row.id}>
@@ -664,7 +664,7 @@ export function ArchivedMediaView({ kind }: { kind: ArchivedMediaKind }) {
aria-label={t("settings.data.library.unarchiveItem", {
title: row.title,
})}
- className="rounded-xl bg-muted/60 hover:bg-muted"
+ className="rounded-full bg-muted/60 hover:bg-muted"
onClick={() => void run([row], "restore")}
>
{t("settings.data.library.unarchive")}
diff --git a/studio/frontend/src/features/settings/components/audio-api-examples.tsx b/studio/frontend/src/features/settings/components/audio-api-examples.tsx
index 43eeb13171f..5660dcabde0 100644
--- a/studio/frontend/src/features/settings/components/audio-api-examples.tsx
+++ b/studio/frontend/src/features/settings/components/audio-api-examples.tsx
@@ -268,7 +268,7 @@ export function AudioApiExamples({
<p className="mb-2 text-xs leading-relaxed text-muted-foreground">
{t("settings.apiKeys.audioApi.description")}
</p>
- <div className="min-w-0 max-w-full overflow-hidden rounded-lg border border-border bg-muted/20">
+ <div className="min-w-0 max-w-full overflow-hidden rounded-xl border border-border bg-muted/20">
<div className="flex min-w-0 flex-wrap items-center justify-between gap-x-2 gap-y-1 border-b border-border px-2 py-1.5">
<div className="isolate flex min-w-0 flex-wrap items-center gap-0.5">
{AUDIO_API_TABS.map((id) => (
@@ -347,7 +347,7 @@ export function AudioApiExamples({
<button
type="button"
onClick={handleCopy}
- className="absolute right-2 top-2 z-10 flex items-center gap-1 rounded border border-border bg-background/80 px-1.5 py-1 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="btn-fill absolute right-2 top-2 z-10 flex items-center gap-1 rounded-full px-1.5 py-1 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
aria-label={t("settings.apiKeys.copySnippet")}
>
<HugeiconsIcon
diff --git a/studio/frontend/src/features/settings/components/chat-menu-order-list.tsx b/studio/frontend/src/features/settings/components/chat-menu-order-list.tsx
index 3eb1eda1164..948f89e9e5b 100644
--- a/studio/frontend/src/features/settings/components/chat-menu-order-list.tsx
+++ b/studio/frontend/src/features/settings/components/chat-menu-order-list.tsx
@@ -20,7 +20,7 @@ type ItemMeta = { label: string; icon: ReactNode };
// Same row as the Profile menu customizer (sidebar-menu-customizer.tsx).
function FixedRow({ icon, label }: { icon: IconSvgElement; label: string }) {
return (
- <div className="flex h-9 items-center gap-2.5 rounded-lg px-2 text-muted-foreground/70">
+ <div className="flex h-9 items-center gap-2.5 rounded-md px-2 text-muted-foreground/70">
<span className="size-4" aria-hidden="true" />
<HugeiconsIcon icon={icon} strokeWidth={1.75} className="size-4" />
<span className="text-ui-13">{label}</span>
@@ -32,7 +32,7 @@ function ToggleRow({ id, meta }: { id: PlusMenuItemId; meta: ItemMeta }) {
const pinned = usePlusMenuPrefsStore((s) => s.pins[id]);
const togglePin = usePlusMenuPrefsStore((s) => s.togglePin);
return (
- <div data-menu-item={id} className="flex h-9 items-center gap-2.5 rounded-lg px-2">
+ <div data-menu-item={id} className="flex h-9 items-center gap-2.5 rounded-md px-2">
<span className="size-4 shrink-0" aria-hidden="true" />
<span className="flex size-4 items-center justify-center text-foreground/80 [&_svg]:size-4">
{meta.icon}
@@ -84,7 +84,7 @@ function MovableRow({
boxShadow: "0 4px 16px rgb(0 0 0 / 0.18)",
zIndex: 10,
}}
- className="relative flex h-9 items-center gap-2.5 rounded-lg px-2"
+ className="relative flex h-9 items-center gap-2.5 rounded-md px-2"
>
<button
type="button"
@@ -153,7 +153,7 @@ export function ChatMenuOrderList({
return (
<div
data-testid="chat-menu-order"
- className="flex flex-col rounded-xl border border-border/70 p-1.5"
+ className="flex flex-col rounded-lg border border-border/70 p-1"
>
<FixedRow
icon={AttachmentIcon}
diff --git a/studio/frontend/src/features/settings/components/color-picker.tsx b/studio/frontend/src/features/settings/components/color-picker.tsx
index 12017075af8..1feb2e37872 100644
--- a/studio/frontend/src/features/settings/components/color-picker.tsx
+++ b/studio/frontend/src/features/settings/components/color-picker.tsx
@@ -174,7 +174,7 @@ export function ColorPickerSwatch({
{value.toUpperCase()}
</button>
</PopoverTrigger>
- <PopoverContent align="end" className="w-60 rounded-lg p-3">
+ <PopoverContent align="end" className="w-60 rounded-xl p-3">
<div className="flex flex-col gap-3">
<div
ref={areaRef}
@@ -183,7 +183,7 @@ export function ColorPickerSwatch({
aria-valuetext={hexDraft}
aria-valuenow={Math.round(hsv.v * 100)}
tabIndex={0}
- className="relative h-36 w-full cursor-crosshair touch-none rounded-lg"
+ className="relative h-36 w-full cursor-crosshair touch-none rounded-md"
style={{
background: `linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, ${hueColor})`,
}}
@@ -259,7 +259,7 @@ export function ColorPickerSwatch({
"settings.appearance.custom.colorPicker.eyedropper",
)}
title={t("settings.appearance.custom.colorPicker.eyedropper")}
- className="flex size-8 shrink-0 items-center justify-center rounded-full border border-border text-muted-foreground transition-colors hover:text-foreground"
+ className="btn-fill flex size-8 shrink-0 items-center justify-center rounded-full text-muted-foreground transition-colors hover:text-foreground"
>
<HugeiconsIcon icon={ColorPickerIcon} className="size-4" />
</button>
diff --git a/studio/frontend/src/features/settings/components/composer-settings.tsx b/studio/frontend/src/features/settings/components/composer-settings.tsx
index 108d8c57fa5..d7a5d0fb482 100644
--- a/studio/frontend/src/features/settings/components/composer-settings.tsx
+++ b/studio/frontend/src/features/settings/components/composer-settings.tsx
@@ -63,7 +63,7 @@ export function ComposerSettings({ embedded = false }: { embedded?: boolean }) {
className={
embedded
? ""
- : "mt-2 divide-y divide-border/60 rounded-2xl border border-border/60 bg-muted/20 px-4"
+ : "mt-2 divide-y divide-border/60 rounded-xl border border-border/60 bg-muted/20 px-4"
}
>
<SettingsRow
diff --git a/studio/frontend/src/features/settings/components/data-library-controls.tsx b/studio/frontend/src/features/settings/components/data-library-controls.tsx
index 0ec2f24ad8f..a771bb758c7 100644
--- a/studio/frontend/src/features/settings/components/data-library-controls.tsx
+++ b/studio/frontend/src/features/settings/components/data-library-controls.tsx
@@ -97,9 +97,9 @@ export function LibraryToolbar({
<DropdownMenu>
<DropdownMenuTrigger asChild={true}>
<Button
- variant="outline"
+ variant="picker"
disabled={disabled}
- className="h-10 gap-2 rounded-xl"
+ className="h-10 gap-2 rounded-full"
aria-label={t("settings.data.library.filterSort")}
>
{projects
@@ -157,9 +157,9 @@ export function LibraryToolbar({
<Popover open={projectOpen} onOpenChange={setProjectOpen}>
<PopoverTrigger asChild={true}>
<Button
- variant="outline"
+ variant="picker"
disabled={disabled}
- className="h-10 max-w-full gap-2 rounded-xl"
+ className="h-10 max-w-full gap-2 rounded-full"
aria-label={t("settings.data.library.filterProject")}
>
<HugeiconsIcon icon={Folder01Icon} className="size-4 shrink-0" />
@@ -287,7 +287,7 @@ export function ChatLibraryGroups<T extends LibraryItem>({
)}
</span>
</div>
- <div className="divide-y divide-border/50 rounded-2xl border border-border/60 px-3 sm:px-4">
+ <div className="divide-y divide-border/50 rounded-xl border border-border/60 px-3 sm:px-4">
{group.items.map((item) => (
<div key={item.id}>{children(item)}</div>
))}
diff --git a/studio/frontend/src/features/settings/components/decision-api-section.tsx b/studio/frontend/src/features/settings/components/decision-api-section.tsx
index 175c0d55c4c..c691dfc10bb 100644
--- a/studio/frontend/src/features/settings/components/decision-api-section.tsx
+++ b/studio/frontend/src/features/settings/components/decision-api-section.tsx
@@ -366,7 +366,7 @@ export function DecisionApiSection(): ReactElement | null {
target="_blank"
rel="noreferrer"
title={t("settings.apiKeys.decisionApi.docsLabel")}
- className="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="inline-flex shrink-0 items-center gap-1 rounded-full px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{t("settings.apiKeys.decisionApi.docs")}
<HugeiconsIcon icon={ArrowUpRight01Icon} className="size-3" />
@@ -416,7 +416,7 @@ export function DecisionApiSection(): ReactElement | null {
return error ? (
<section
data-settings-label={t("settings.apiKeys.decisionApi.title")}
- className="overflow-hidden rounded-lg border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
{header}
</section>
@@ -491,7 +491,7 @@ export function DecisionApiSection(): ReactElement | null {
<section
ref={sectionRef}
data-settings-label={t("settings.apiKeys.decisionApi.title")}
- className="overflow-hidden rounded-lg border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
{header}
diff --git a/studio/frontend/src/features/settings/components/decision-try-dialog.tsx b/studio/frontend/src/features/settings/components/decision-try-dialog.tsx
index be1ce4271c3..03562c9e3ca 100644
--- a/studio/frontend/src/features/settings/components/decision-try-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/decision-try-dialog.tsx
@@ -660,7 +660,7 @@ function ErrorResult({
return (
<div
role="alert"
- className="flex gap-3 rounded-xl border border-red-500/25 bg-red-500/5 px-4 py-3.5"
+ className="flex gap-3 rounded-lg border border-red-500/25 bg-red-500/5 px-4 py-3.5"
>
<HugeiconsIcon
icon={AlertCircleIcon}
diff --git a/studio/frontend/src/features/settings/components/desktop-repair-control.tsx b/studio/frontend/src/features/settings/components/desktop-repair-control.tsx
index 44f57ea2c87..6fe1e4bff91 100644
--- a/studio/frontend/src/features/settings/components/desktop-repair-control.tsx
+++ b/studio/frontend/src/features/settings/components/desktop-repair-control.tsx
@@ -53,7 +53,7 @@ export function DesktopRepairControl(): ReactElement | null {
variant="outline"
size="sm"
onClick={() => setConfirmOpen(true)}
- className="text-destructive hover:text-destructive hover:border-destructive/60"
+ className="text-destructive hover:text-destructive"
>
{t("settings.general.repairInstall.action")}
</Button>
diff --git a/studio/frontend/src/features/settings/components/documents-rag-section.tsx b/studio/frontend/src/features/settings/components/documents-rag-section.tsx
index 66f5ca7302d..422222f65c3 100644
--- a/studio/frontend/src/features/settings/components/documents-rag-section.tsx
+++ b/studio/frontend/src/features/settings/components/documents-rag-section.tsx
@@ -541,7 +541,7 @@ function StatusHint({ text }: { text: string }): ReactElement {
<button
type="button"
aria-label={text}
- className="flex shrink-0 items-center rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="flex shrink-0 items-center rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<HugeiconsIcon icon={InformationCircleIcon} className="size-[calc(10px*var(--ui-space-scale,1))]" />
</button>
diff --git a/studio/frontend/src/features/settings/components/key-reveal-card.tsx b/studio/frontend/src/features/settings/components/key-reveal-card.tsx
index f9bd88bd162..20461b54f55 100644
--- a/studio/frontend/src/features/settings/components/key-reveal-card.tsx
+++ b/studio/frontend/src/features/settings/components/key-reveal-card.tsx
@@ -56,7 +56,7 @@ export function KeyRevealCard({
</div>
<div
className={cn(
- "flex w-full items-center gap-3 rounded-md border border-border bg-muted/40 px-3 py-2.5 font-mono text-sm transition-colors",
+ "flex w-full items-center gap-3 rounded-full border border-border bg-muted/40 px-3 py-2.5 font-mono text-sm transition-colors",
"has-[input:focus-visible]:ring-1 has-[input:focus-visible]:ring-ring",
copied && "border-emerald-500/40 bg-emerald-500/10",
)}
diff --git a/studio/frontend/src/features/settings/components/keyless-api-access-section.tsx b/studio/frontend/src/features/settings/components/keyless-api-access-section.tsx
index be5536f3925..68de5141f0c 100644
--- a/studio/frontend/src/features/settings/components/keyless-api-access-section.tsx
+++ b/studio/frontend/src/features/settings/components/keyless-api-access-section.tsx
@@ -186,7 +186,7 @@ export function KeylessApiAccessSection({
return (
<section
data-settings-label="Keyless API access"
- className="overflow-hidden rounded-lg border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
<div className="flex items-center justify-between gap-4 bg-muted/30 p-4">
<div className="flex min-w-0 items-start gap-3">
diff --git a/studio/frontend/src/features/settings/components/lan-access-section.tsx b/studio/frontend/src/features/settings/components/lan-access-section.tsx
index bdca316eb2a..54d29a5f32b 100644
--- a/studio/frontend/src/features/settings/components/lan-access-section.tsx
+++ b/studio/frontend/src/features/settings/components/lan-access-section.tsx
@@ -55,6 +55,7 @@ import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useEffect, useId, useRef, useState } from "react";
import QRCode from "react-qr-code";
import { SettingsRow } from "./settings-row";
+import { LineBox } from "@/components/ui/line-box";
type LanAccessOperation = "start" | "stop" | "auto" | "port" | "addresses";
type PortMode = "automatic" | "custom";
@@ -157,7 +158,7 @@ function LanUrlQrButton({ url }: { url: string }) {
Scan from a device on the same network to open this address.
</DialogDescription>
</DialogHeader>
- <div className="mx-auto mt-2 rounded-md bg-white p-3">
+ <div className="mx-auto mt-2 rounded-lg bg-white p-3">
<QRCode value={url} size={192} />
</div>
<code className="block break-all text-center font-mono text-xs text-muted-foreground">
@@ -224,9 +225,9 @@ function LanUrlPanel({ status }: { status: LanAccessStatus | null }) {
{status.urls.map((url) => (
<div key={url} className="flex flex-col gap-1">
<div className="flex items-center gap-2">
- <code className="block w-full min-w-0 break-all rounded-md border border-border bg-muted/40 px-3 py-2 font-mono text-xs text-foreground">
+ <LineBox as="code" className="block w-full min-w-0 break-all border border-border bg-muted/40 px-3 py-2 font-mono text-xs text-foreground">
{url}
- </code>
+ </LineBox>
{single ? null : <LanUrlActions url={url} copyLabel="Copy" />}
</div>
{stale.has(url) ? (
@@ -454,7 +455,7 @@ export function LanAccessSection() {
return (
<section
data-settings-label="LAN access"
- className="overflow-hidden rounded-lg border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
<div className="flex items-center justify-between gap-4 bg-muted/30 p-4">
<div className="flex min-w-0 items-start gap-3">
diff --git a/studio/frontend/src/features/settings/components/mcp-access-section.tsx b/studio/frontend/src/features/settings/components/mcp-access-section.tsx
index a4e2493fa8f..6d12a926c88 100644
--- a/studio/frontend/src/features/settings/components/mcp-access-section.tsx
+++ b/studio/frontend/src/features/settings/components/mcp-access-section.tsx
@@ -145,7 +145,7 @@ export function McpAccessSection({
return (
<section
data-settings-label={t("settings.apiKeys.mcp.title")}
- className="overflow-hidden rounded-lg border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
<div className="flex items-start gap-3 bg-muted/30 p-4">
<div className="flex size-8 shrink-0 items-center justify-center rounded-md border border-border/70 bg-muted/40">
diff --git a/studio/frontend/src/features/settings/components/media-api-examples.tsx b/studio/frontend/src/features/settings/components/media-api-examples.tsx
index f8bad552f88..cffa75f7027 100644
--- a/studio/frontend/src/features/settings/components/media-api-examples.tsx
+++ b/studio/frontend/src/features/settings/components/media-api-examples.tsx
@@ -168,7 +168,7 @@ export function MediaApiExamples({
<p className="mb-2 text-xs leading-relaxed text-muted-foreground">
{t("settings.apiKeys.mediaApi.description")}
</p>
- <div className="min-w-0 max-w-full overflow-hidden rounded-lg border border-border bg-muted/20">
+ <div className="min-w-0 max-w-full overflow-hidden rounded-xl border border-border bg-muted/20">
<div className="flex min-w-0 flex-wrap items-center justify-between gap-x-2 gap-y-1 border-b border-border px-2 py-1.5">
<div className="isolate flex min-w-0 flex-wrap items-center gap-0.5">
{MEDIA_API_KINDS.map((id) => (
@@ -234,7 +234,7 @@ export function MediaApiExamples({
<button
type="button"
onClick={handleCopy}
- className="absolute right-2 top-2 z-10 flex items-center gap-1 rounded border border-border bg-background/80 px-1.5 py-1 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="btn-fill absolute right-2 top-2 z-10 flex items-center gap-1 rounded-full px-1.5 py-1 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
aria-label={t("settings.apiKeys.copySnippet")}
>
<HugeiconsIcon
diff --git a/studio/frontend/src/features/settings/components/monitor-link.tsx b/studio/frontend/src/features/settings/components/monitor-link.tsx
index b12e3ed1a2e..78446fd80ba 100644
--- a/studio/frontend/src/features/settings/components/monitor-link.tsx
+++ b/studio/frontend/src/features/settings/components/monitor-link.tsx
@@ -88,7 +88,7 @@ export function MonitorLink(): ReactElement {
</button>
{/* Where the panel's own "stop opening this" gets turned back on. */}
- <div className="flex items-center justify-between gap-3 rounded-lg px-1 py-1">
+ <div className="flex items-center justify-between gap-3 rounded-md px-1 py-1">
<span className="flex min-w-0 flex-col">
<span className="text-sm text-foreground">
{t("settings.resources.liveMonitor.autoOpen")}
diff --git a/studio/frontend/src/features/settings/components/recent-dictations-view.tsx b/studio/frontend/src/features/settings/components/recent-dictations-view.tsx
index 60a98a5c5de..46efc889efc 100644
--- a/studio/frontend/src/features/settings/components/recent-dictations-view.tsx
+++ b/studio/frontend/src/features/settings/components/recent-dictations-view.tsx
@@ -230,7 +230,7 @@ export function RecentDictationsView({
{selected ? (
<div className="flex min-h-0 flex-col gap-4">
- <article className="rounded-lg border border-border/60 bg-muted/20 p-4">
+ <article className="rounded-xl border border-border/60 bg-muted/20 p-4">
<p className="whitespace-pre-wrap break-words text-sm leading-relaxed text-foreground select-text">
{selected.text}
</p>
@@ -268,7 +268,7 @@ export function RecentDictationsView({
setPendingDelete({ kind: "one", dictation: selected });
}
}
- className="text-destructive hover:border-destructive/60 hover:text-destructive"
+ className="text-destructive hover:text-destructive"
>
<HugeiconsIcon icon={Delete02Icon} className="mr-1.5 size-3.5" />
{t("settings.voice.recents.delete")}
@@ -325,7 +325,7 @@ export function RecentDictationsView({
variant="outline"
size="sm"
onClick={() => setPendingDelete({ kind: "all" })}
- className="shrink-0 text-destructive hover:border-destructive/60 hover:text-destructive"
+ className="shrink-0 text-destructive hover:text-destructive"
>
<HugeiconsIcon icon={Delete02Icon} className="mr-1.5 size-3.5" />
{t("settings.voice.recents.clear")}
@@ -510,7 +510,7 @@ export function RecentDictationsView({
{pendingDelete?.kind === "one" && pendingDelete.dictation.chatId ? (
<AlertDialogAction
variant="outline"
- className="text-destructive hover:border-destructive/60 hover:text-destructive"
+ className="text-destructive hover:text-destructive"
onClick={(event) => {
// Close only through state so the dismissal can't race a
// click on whatever ends up under the pointer.
diff --git a/studio/frontend/src/features/settings/components/remote-access-section.tsx b/studio/frontend/src/features/settings/components/remote-access-section.tsx
index 1556cfae5fa..91e13bdebd4 100644
--- a/studio/frontend/src/features/settings/components/remote-access-section.tsx
+++ b/studio/frontend/src/features/settings/components/remote-access-section.tsx
@@ -10,6 +10,7 @@ import {
DialogTitle,
DialogTrigger,
} from "@/components/ui/dialog";
+import { LineBox } from "@/components/ui/line-box";
import { Switch } from "@/components/ui/switch";
import { usePlatformStore } from "@/config/env";
import { useLoginMode } from "@/features/auth/account-session";
@@ -140,7 +141,7 @@ function RemoteUrlQrButton({ url }: { url: string }) {
Scan to open the remote URL in your phone’s browser.
</DialogDescription>
</DialogHeader>
- <div className="mx-auto mt-2 rounded-md bg-white p-3">
+ <div className="mx-auto mt-2 rounded-lg bg-white p-3">
<QRCode value={url} size={192} />
</div>
<code className="block break-all text-center font-mono text-xs text-muted-foreground">
@@ -187,9 +188,12 @@ function RemoteUrlPanel({ url }: { url: string | null }) {
<CopyRemoteUrlButton url={url} />
</div>
</div>
- <code className="block w-full break-all rounded-md border border-border bg-muted/40 px-3 py-2 font-mono text-xs text-foreground">
+ <LineBox
+ as="code"
+ className="block w-full break-all border border-border bg-muted/40 px-3 py-2 font-mono text-xs text-foreground"
+ >
{url}
- </code>
+ </LineBox>
<span className="text-xs text-muted-foreground leading-snug">
{multi
? "Anyone with this URL reaches the sign-in page, and every account and API key works here. Signing in as the owner gives full control, including running code on this computer through tools."
@@ -371,7 +375,7 @@ export function RemoteAccessSection() {
return (
<section
data-settings-label="Remote access"
- className="overflow-hidden rounded-lg border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
<div className="flex items-center justify-between gap-4 bg-muted/30 p-4">
<div className="flex min-w-0 items-start gap-3">
diff --git a/studio/frontend/src/features/settings/components/remote-lan-summary.tsx b/studio/frontend/src/features/settings/components/remote-lan-summary.tsx
index 6050528e538..f8083a5a72c 100644
--- a/studio/frontend/src/features/settings/components/remote-lan-summary.tsx
+++ b/studio/frontend/src/features/settings/components/remote-lan-summary.tsx
@@ -125,7 +125,7 @@ export function RemoteLanSummary() {
return (
<section
data-settings-label={t("settings.remoteLan.title")}
- className="overflow-hidden rounded-lg border border-border/70"
+ className="overflow-hidden rounded-xl border border-border/70"
>
<div className="flex items-center justify-between gap-4 bg-muted/30 p-4">
<div className="flex min-w-0 items-start gap-3">
diff --git a/studio/frontend/src/features/settings/components/settings-row.tsx b/studio/frontend/src/features/settings/components/settings-row.tsx
index 1f5a1bb768b..68b638d8db2 100644
--- a/studio/frontend/src/features/settings/components/settings-row.tsx
+++ b/studio/frontend/src/features/settings/components/settings-row.tsx
@@ -67,7 +67,7 @@ export function SettingsRow({
<button
type="button"
aria-label={hint}
- className="ml-1.5 inline-flex align-baseline rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="ml-1.5 inline-flex align-baseline rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{/* Sized off the token, not size-3.5: the label beside it is
scaled by the UI font size preference, and a fixed 14px
diff --git a/studio/frontend/src/features/settings/components/sidebar-menu-customizer.tsx b/studio/frontend/src/features/settings/components/sidebar-menu-customizer.tsx
index 257de2e7833..582eb15e817 100644
--- a/studio/frontend/src/features/settings/components/sidebar-menu-customizer.tsx
+++ b/studio/frontend/src/features/settings/components/sidebar-menu-customizer.tsx
@@ -41,7 +41,7 @@ const ITEM_META: Record<
function FixedRow({ icon, label }: { icon: IconSvgElement; label: string }) {
return (
- <div className="flex h-9 items-center gap-2.5 rounded-lg px-2 text-muted-foreground/70">
+ <div className="flex h-9 items-center gap-2.5 rounded-md px-2 text-muted-foreground/70">
{/* Spacer where the drag handle sits on movable rows. */}
<span className="size-4" aria-hidden="true" />
<HugeiconsIcon icon={icon} strokeWidth={1.75} className="size-4" />
@@ -71,7 +71,7 @@ function MovableRow({ item }: { item: SidebarMenuItemPref }) {
boxShadow: "0 4px 16px rgb(0 0 0 / 0.18)",
zIndex: 10,
}}
- className="relative flex h-9 items-center gap-2.5 rounded-lg px-2"
+ className="relative flex h-9 items-center gap-2.5 rounded-md px-2"
>
<button
type="button"
@@ -121,7 +121,7 @@ export function SidebarMenuCustomizer() {
);
const patch = useAppearanceCustomStore((s) => s.patch);
return (
- <div className="flex flex-col rounded-xl border border-border/70 p-1.5">
+ <div className="flex flex-col rounded-lg border border-border/70 p-1">
<FixedRow icon={Settings02Icon} label={t("shell.navigation.settings")} />
<Reorder.Group
axis="y"
diff --git a/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx b/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx
index 2d76a98d746..c146b9abf1d 100644
--- a/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx
+++ b/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx
@@ -48,7 +48,7 @@ const ITEM_META: Record<
function FixedRow({ icon, label }: { icon: IconSvgElement; label: string }) {
return (
- <div className="flex h-9 items-center gap-2.5 rounded-lg px-2 text-muted-foreground/70">
+ <div className="flex h-9 items-center gap-2.5 rounded-md px-2 text-muted-foreground/70">
{/* Spacer where the drag handle sits on movable rows. */}
<span className="size-4" aria-hidden="true" />
<HugeiconsIcon icon={icon} strokeWidth={1.75} className="size-4" />
@@ -89,7 +89,7 @@ function MovableRow({
boxShadow: "0 4px 16px rgb(0 0 0 / 0.18)",
zIndex: 10,
}}
- className="relative flex h-9 items-center gap-2.5 rounded-lg px-2"
+ className="relative flex h-9 items-center gap-2.5 rounded-md px-2"
>
<button
type="button"
@@ -149,7 +149,7 @@ export function SidebarNavCustomizer() {
!sidebarNavRowPinned(item, sidebarNavAuto, { projectsSectionShowing }),
).length;
return (
- <div className="flex flex-col rounded-xl border border-border/70 p-1.5">
+ <div className="flex flex-col rounded-lg border border-border/70 p-1">
<FixedRow icon={PencilEdit02Icon} label={t("shell.navigation.newChat")} />
<Reorder.Group
axis="y"
diff --git a/studio/frontend/src/features/settings/components/update-studio-instructions.tsx b/studio/frontend/src/features/settings/components/update-studio-instructions.tsx
index 435b22dc793..4b1529d6b73 100644
--- a/studio/frontend/src/features/settings/components/update-studio-instructions.tsx
+++ b/studio/frontend/src/features/settings/components/update-studio-instructions.tsx
@@ -90,7 +90,7 @@ function CopyableCommand({
};
return (
- <div className="flex min-w-0 items-stretch overflow-hidden rounded-md border border-border bg-muted/40">
+ <div className="flex min-w-0 items-stretch overflow-hidden rounded-full border border-border bg-muted/40">
<input
type="text"
readOnly={true}
diff --git a/studio/frontend/src/features/settings/components/uploaded-files-dialog.tsx b/studio/frontend/src/features/settings/components/uploaded-files-dialog.tsx
index d4c70694026..b2c6433e61f 100644
--- a/studio/frontend/src/features/settings/components/uploaded-files-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/uploaded-files-dialog.tsx
@@ -528,7 +528,7 @@ export function UploadedFilesView() {
return (
<div className="flex flex-col gap-4">
{ragFiles.status === "error" ? (
- <div className="flex flex-wrap items-center justify-between gap-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-sm">
+ <div className="flex flex-wrap items-center justify-between gap-2 rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2 text-sm">
<span>RAG documents unavailable: {ragFiles.error}</span>
<button
type="button"
@@ -540,7 +540,7 @@ export function UploadedFilesView() {
</div>
) : null}
{chatFiles.status === "error" ? (
- <div className="flex flex-wrap items-center justify-between gap-2 rounded-md border border-destructive/30 bg-destructive/5 px-3 py-2 text-sm">
+ <div className="flex flex-wrap items-center justify-between gap-2 rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2 text-sm">
<span>Chat attachments unavailable: {chatFiles.error}</span>
<button
type="button"
@@ -577,8 +577,7 @@ export function UploadedFilesView() {
className="group flex flex-wrap items-center gap-x-3 gap-y-1 border-b border-border/40 px-1 py-2.5 text-sm last:border-0 sm:flex-nowrap"
>
{/* Clicking the file jumps to its chat; files without one
- open directly. The theme scales rounded-md up to a near
- circle at this size, so the thumb pins a small radius. */}
+ open directly. */}
<button
type="button"
onClick={() =>
@@ -589,7 +588,7 @@ export function UploadedFilesView() {
}
className="group/name flex min-w-0 flex-1 basis-[calc(100%-5rem)] items-center gap-2.5 overflow-hidden text-left sm:basis-auto"
>
- <span className="flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-[7px] border border-border/50 bg-muted/40">
+ <span className="flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-sm border border-border/50 bg-muted/40">
{row.thumb}
</span>
<span className="flex min-w-0 flex-1 flex-col">
@@ -600,7 +599,7 @@ export function UploadedFilesView() {
{row.name}
</span>
{row.typeLabel ? (
- <span className="shrink-0 rounded-md bg-[rgb(0_0_0_/_calc(0.06*var(--contrast-wash-gain,1)))] px-1.5 py-px text-ui-9 font-medium uppercase tracking-wide text-muted-foreground dark:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]">
+ <span className="shrink-0 rounded-full bg-[rgb(0_0_0_/_calc(0.06*var(--contrast-wash-gain,1)))] px-1.5 py-px text-ui-9 font-medium uppercase tracking-wide text-muted-foreground dark:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]">
{row.typeLabel}
</span>
) : null}
@@ -674,7 +673,7 @@ export function UploadedFilesView() {
type="button"
disabled={loadingMore}
onClick={() => void loadChatPage(chatNextOffset, true)}
- className="rounded-md border border-border px-3 py-1.5 text-sm font-medium hover:bg-muted disabled:cursor-wait disabled:opacity-60"
+ className="btn-fill rounded-full px-3 py-1.5 text-sm font-medium disabled:cursor-wait disabled:opacity-60"
>
{loadingMore ? "Loading..." : "Load more chat attachments"}
</button>
diff --git a/studio/frontend/src/features/settings/components/usage-examples.tsx b/studio/frontend/src/features/settings/components/usage-examples.tsx
index 70b010350e7..345a40c8f9f 100644
--- a/studio/frontend/src/features/settings/components/usage-examples.tsx
+++ b/studio/frontend/src/features/settings/components/usage-examples.tsx
@@ -907,7 +907,7 @@ export function UsageExamples({
<h2 className="settings-heading mb-2 text-sm font-semibold">
{t("settings.apiKeys.usageExamples")}
</h2>
- <div className="min-w-0 max-w-full overflow-hidden rounded-lg border border-border bg-muted/20">
+ <div className="min-w-0 max-w-full overflow-hidden rounded-xl border border-border bg-muted/20">
{/* No model-auto-switch row: ModelAutoSwitchSection renders that setting just below. */}
{cloudflareUrl ? (
<div className="flex min-w-0 items-center justify-between gap-2 border-b border-border px-2 py-1.5">
@@ -928,7 +928,7 @@ export function UsageExamples({
{/* Inline on the baseline, like a glyph after the label. */}
<button
type="button"
- className="ml-1.5 inline-flex align-baseline rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="ml-1.5 inline-flex align-baseline rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
aria-label={t("settings.apiKeys.secureHttpsHint")}
>
{/* Follows the UI font size, like the SettingsRow hint
@@ -950,7 +950,7 @@ export function UsageExamples({
type="button"
onClick={handleCopyUrl}
className={cn(
- "flex min-w-0 items-center gap-1 rounded px-1.5 py-1 text-ui-11 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
+ "flex min-w-0 items-center gap-1 rounded-full px-1.5 py-1 text-ui-11 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
!useTunnel && "opacity-50",
)}
title={cloudflareUrl}
@@ -1038,7 +1038,7 @@ export function UsageExamples({
<button
type="button"
onClick={handleCopy}
- className="absolute right-2 top-2 z-10 flex items-center gap-1 rounded border border-border bg-background/80 px-1.5 py-1 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="btn-fill absolute right-2 top-2 z-10 flex items-center gap-1 rounded-full px-1.5 py-1 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
aria-label={t("settings.apiKeys.copySnippet")}
>
<HugeiconsIcon
@@ -1110,7 +1110,7 @@ export function UsageExamples({
</div>
<div className="relative mt-0.5 min-w-0">
<code
- className="block min-w-0 overflow-x-auto rounded border border-border bg-muted/30 px-2 py-1.5 pr-14 font-mono text-ui-11 text-foreground"
+ className="block min-w-0 overflow-x-auto rounded-full border border-border bg-muted/30 px-2 py-1.5 pr-14 font-mono text-ui-11 text-foreground"
data-reload-snapshot-sensitive={apiKey ? "" : undefined}
>
{agentCommand}
@@ -1118,7 +1118,7 @@ export function UsageExamples({
<button
type="button"
onClick={handleCopyAgent}
- className="absolute right-1.5 top-1/2 flex -translate-y-1/2 items-center gap-1 rounded border border-border bg-background/80 px-1.5 py-0.5 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="btn-fill absolute right-1.5 top-1/2 flex -translate-y-1/2 items-center gap-1 rounded-full px-1.5 py-0.5 text-ui-11 text-muted-foreground backdrop-blur transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
aria-label={t("settings.apiKeys.copySnippet")}
>
<HugeiconsIcon
@@ -1150,7 +1150,7 @@ export function UsageExamples({
href={link.href}
target="_blank"
rel="noreferrer"
- className="inline-flex items-center gap-0.5 rounded font-medium text-foreground underline decoration-border underline-offset-2 transition-colors hover:decoration-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="inline-flex items-center gap-0.5 rounded-full font-medium text-foreground underline decoration-border underline-offset-2 transition-colors hover:decoration-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{link.label}
<HugeiconsIcon icon={ArrowUpRight01Icon} className="size-3" />
diff --git a/studio/frontend/src/features/settings/settings-dialog.tsx b/studio/frontend/src/features/settings/settings-dialog.tsx
index db1ce2f5384..7f4aab678cb 100644
--- a/studio/frontend/src/features/settings/settings-dialog.tsx
+++ b/studio/frontend/src/features/settings/settings-dialog.tsx
@@ -507,9 +507,8 @@ export function SettingsDialog() {
// iPad-portrait widths where a fixed width overflows. Height caps
// the same way so short viewports don't get a clipped dialog.
"settings-surface !max-w-[min(960px,calc(100vw-2rem))] h-[min(820px,calc(100dvh-var(--studio-window-chrome-top,0px)-2rem))] w-[min(960px,calc(100vw-2rem))] p-0 overflow-hidden",
- // Soft shadow, no outline ring. Pin --radius to the light value so
- // corner rounding matches in dark mode.
- "shadow-border rounded-xl ring-0 [--radius:1.1rem]",
+ // Soft shadow, no outline ring.
+ "shadow-border rounded-3xl ring-0",
// Same chrome-subtracted height the shared DialogContent uses at this
// breakpoint: a plain h-dvh wins tailwind-merge and would hang the surface
// (and its overflow-hidden bottom edge) below the window. 0px on web.
diff --git a/studio/frontend/src/features/settings/tabs/about-tab.tsx b/studio/frontend/src/features/settings/tabs/about-tab.tsx
index 958b2cef03e..bd5882aaf28 100644
--- a/studio/frontend/src/features/settings/tabs/about-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/about-tab.tsx
@@ -300,7 +300,7 @@ export function AboutTab() {
variant="outline"
size="sm"
onClick={() => setShutdownOpen(true)}
- className="text-destructive hover:text-destructive hover:border-destructive/60"
+ className="text-destructive hover:text-destructive"
>
<HugeiconsIcon icon={Cancel01Icon} className="size-3.5 mr-1.5" />
{t("settings.about.shutDown")}
diff --git a/studio/frontend/src/features/settings/tabs/accounts-tab.tsx b/studio/frontend/src/features/settings/tabs/accounts-tab.tsx
index f44518d8aeb..7579156224c 100644
--- a/studio/frontend/src/features/settings/tabs/accounts-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/accounts-tab.tsx
@@ -261,7 +261,7 @@ function OwnerAccountsTab() {
<table className="w-full table-fixed border-separate border-spacing-x-0 border-spacing-y-1 text-left text-xs">
<thead className="text-muted-foreground">
<tr className="[&>th]:bg-muted/40">
- <th scope="col" className="rounded-l-xl py-2 pl-5 pr-3 font-normal">
+ <th scope="col" className="rounded-l-full py-2 pl-5 pr-3 font-normal">
{t("settings.accounts.username")}
</th>
<th
@@ -273,7 +273,7 @@ function OwnerAccountsTab() {
<th scope="col" className="w-24 py-2 font-normal">
{t("settings.accounts.status")}
</th>
- <th scope="col" className="w-12 rounded-r-xl py-2">
+ <th scope="col" className="w-12 rounded-r-full py-2">
<span className="sr-only">
{t("settings.accounts.actions")}
</span>
@@ -287,7 +287,7 @@ function OwnerAccountsTab() {
className="[&>td]:transition-colors hover:[&>td]:bg-muted/40 focus-within:[&>td]:bg-muted/40"
data-testid={`account-${account.username}`}
>
- <td className="rounded-l-xl py-3 pl-3 pr-3">
+ <td className="rounded-l-md py-3 pl-3 pr-3">
<div className="flex items-center gap-2.5">
<UserAvatar
name={account.username}
@@ -344,7 +344,7 @@ function OwnerAccountsTab() {
: t("settings.accounts.inactive")}
</span>
</td>
- <td className="rounded-r-xl py-3 pr-3 text-right">
+ <td className="rounded-r-md py-3 pr-3 text-right">
{account.role !== "owner" && (
<DropdownMenu>
<DropdownMenuTrigger asChild>
@@ -511,7 +511,7 @@ function OwnerAccountsTab() {
{setup ? (
<>
<code
- className="block select-all break-all rounded-lg border border-border/60 bg-muted/30 px-4 py-3 font-mono text-sm leading-relaxed"
+ className="block select-all break-all rounded-full border border-border/60 bg-muted/30 px-4 py-3 font-mono text-sm leading-relaxed"
data-testid="account-setup-code"
>
{setup.setup_code}
diff --git a/studio/frontend/src/features/settings/tabs/agents-tab.tsx b/studio/frontend/src/features/settings/tabs/agents-tab.tsx
index 258c50f093c..6ecc536087c 100644
--- a/studio/frontend/src/features/settings/tabs/agents-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/agents-tab.tsx
@@ -88,6 +88,7 @@ import {
type ExampleOs,
useSettingsPanelPrefsStore,
} from "../stores/settings-panel-prefs-store";
+import { LineBox } from "@/components/ui/line-box";
const DOCS_URL = UNSLOTH_START_DOCS_URL;
const FLAGS_DOCS_URL = `${DOCS_URL}#flags--options`;
@@ -371,19 +372,20 @@ function CopyableCode({
return (
<div className="relative min-w-0">
- <code
+ <LineBox
+ as="code"
className={cn(
- "block min-w-0 whitespace-pre-wrap rounded-lg border border-border bg-background/70 py-2.5 pr-9 pl-4 font-mono text-ui-11 leading-relaxed text-foreground dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))]",
+ "block min-w-0 whitespace-pre-wrap border border-border bg-background/70 py-2.5 pr-9 pl-4 font-mono text-ui-11 leading-relaxed text-foreground dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))]",
breakAll ? "break-all" : "break-words",
)}
>
{value}
- </code>
+ </LineBox>
<button
type="button"
onClick={onCopy}
aria-label={copyLabel}
- className="absolute top-1.5 right-1.5 flex size-6 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="absolute top-1.5 right-1.5 flex size-6 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-accent hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
<HugeiconsIcon
icon={copied ? Tick02Icon : Copy01Icon}
@@ -1112,7 +1114,7 @@ export function AgentsTab() {
target="_blank"
rel="noopener noreferrer"
title={t("settings.agents.docsLabel")}
- className="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="inline-flex shrink-0 items-center gap-1 rounded-full px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{t("settings.agents.docs")}
<HugeiconsIcon icon={ArrowUpRight01Icon} className="size-3" />
@@ -1137,7 +1139,7 @@ export function AgentsTab() {
target="_blank"
rel="noopener noreferrer"
title={t("settings.agents.readDocs")}
- className="rounded bg-muted px-1 py-0.5 font-mono text-[0.85em] text-foreground underline decoration-border decoration-dotted underline-offset-2 transition-colors hover:decoration-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring dark:bg-[rgb(255_255_255_/_calc(0.08*var(--contrast-wash-gain,1)))]"
+ className="rounded-full bg-muted px-1 py-0.5 font-mono text-[0.85em] text-foreground underline decoration-border decoration-dotted underline-offset-2 transition-colors hover:decoration-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring dark:bg-[rgb(255_255_255_/_calc(0.08*var(--contrast-wash-gain,1)))]"
>
unsloth start
</a>{" "}
@@ -1220,7 +1222,7 @@ export function AgentsTab() {
aria-label={t("settings.agents.agentDocs", {
agent: selectedAgentDetails.name,
})}
- className="inline-flex items-center gap-1 rounded px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="inline-flex items-center gap-1 rounded-full px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{t("settings.agents.docs")}
<HugeiconsIcon icon={ArrowUpRight01Icon} className="size-3" />
@@ -1237,7 +1239,7 @@ export function AgentsTab() {
>
<SelectTrigger
aria-label={t("settings.agents.agent")}
- className="w-full rounded-lg"
+ className="w-full rounded-full"
>
<SelectValue>
<span className="flex min-w-0 items-center gap-2">
@@ -1313,7 +1315,7 @@ export function AgentsTab() {
aria-label={t("settings.agents.model")}
aria-expanded={modelPickerOpen}
title={selectedModel}
- className="flex h-9 w-full items-center justify-between gap-2 rounded-lg border border-border bg-background px-3 text-left transition-colors hover:bg-accent/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]"
+ className="flex h-9 w-full items-center justify-between gap-2 rounded-full border border-border bg-background px-3 text-left transition-colors hover:bg-accent/50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]"
>
<span className="min-w-0 truncate font-mono text-xs">
{labelFor(selectedModel)}
@@ -1417,7 +1419,7 @@ export function AgentsTab() {
>
<SelectTrigger
aria-label={t("settings.agents.quantization")}
- className="w-full rounded-lg font-mono text-xs"
+ className="w-full rounded-full font-mono text-xs"
>
<SelectValue
placeholder={
@@ -1500,7 +1502,7 @@ export function AgentsTab() {
href={FLAGS_DOCS_URL}
target="_blank"
rel="noopener noreferrer"
- className="rounded text-foreground underline decoration-border decoration-dotted underline-offset-2 transition-colors hover:decoration-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="rounded-full text-foreground underline decoration-border decoration-dotted underline-offset-2 transition-colors hover:decoration-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{t("settings.agents.configurationDocs")}
</a>{" "}
diff --git a/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx b/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
index 54eb24bb29a..19acdc51310 100644
--- a/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
@@ -165,12 +165,12 @@ export function ApiKeysTab() {
{t("settings.apiKeys.accessTokens")}
</h2>
{actionError ? (
- <div className="mb-2 rounded-md border border-destructive/20 bg-destructive/5 p-3 text-xs text-destructive">
+ <div className="mb-2 rounded-lg border border-destructive/20 bg-destructive/5 p-3 text-xs text-destructive">
{actionError}
</div>
) : null}
{error ? (
- <div className="rounded-md border border-destructive/20 bg-destructive/5 p-3 text-xs text-destructive">
+ <div className="rounded-lg border border-destructive/20 bg-destructive/5 p-3 text-xs text-destructive">
{error}
</div>
) : loading ? (
diff --git a/studio/frontend/src/features/settings/tabs/browser-agent-settings.tsx b/studio/frontend/src/features/settings/tabs/browser-agent-settings.tsx
index 9bd7e5cceb8..70b6abb9fc8 100644
--- a/studio/frontend/src/features/settings/tabs/browser-agent-settings.tsx
+++ b/studio/frontend/src/features/settings/tabs/browser-agent-settings.tsx
@@ -149,7 +149,7 @@ function PermissionsTable() {
</Button>
}
>
- <div className="mt-2 flex flex-col rounded-lg border border-border/80 px-3 py-1">
+ <div className="mt-2 flex flex-col rounded-xl border border-border/80 px-3 py-1">
{row(t("browser.agentSettings.default"), permissions.defaults, null)}
{sites.map((site) => row(site, permissions.sites[site] ?? DEFAULT_AGENT_RULE, site))}
{draft !== null ? (
diff --git a/studio/frontend/src/features/settings/tabs/browser-tab.tsx b/studio/frontend/src/features/settings/tabs/browser-tab.tsx
index cc66d705c23..215709a8443 100644
--- a/studio/frontend/src/features/settings/tabs/browser-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/browser-tab.tsx
@@ -106,7 +106,7 @@ function DownloadSiteRows() {
description={t("browser.downloadSitesSettingDescription")}
below={
origins.length > 0 ? (
- <ul className="flex w-full flex-col divide-y divide-border/60 rounded-lg border border-border/80">
+ <ul className="flex w-full flex-col divide-y divide-border/60 rounded-xl border border-border/80">
{origins.map((origin) => (
<li key={origin} className="flex items-center gap-3 py-1.5 pl-3 pr-1.5">
<span className="min-w-0 flex-1 truncate text-sm text-foreground">{origin}</span>
diff --git a/studio/frontend/src/features/settings/tabs/data-tab.tsx b/studio/frontend/src/features/settings/tabs/data-tab.tsx
index dad2d453abb..981c493abca 100644
--- a/studio/frontend/src/features/settings/tabs/data-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/data-tab.tsx
@@ -860,7 +860,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
data-settings-label={t(`settings.data.${label}`)}
aria-label={t(`settings.data.${label}`)}
onClick={() => setSubpage(page)}
- className="flex min-w-0 items-center justify-between gap-2 rounded-xl border border-border/60 px-3 py-2.5 text-sm transition-colors hover:bg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
+ className="btn-fill flex min-w-0 items-center justify-between gap-2 rounded-full px-3 py-2.5 text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
<span className="flex min-w-0 items-center gap-2">
<HugeiconsIcon
@@ -1043,7 +1043,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
<DropdownMenuTrigger asChild={true}>
{/* Fixed width so switching actions never resizes the row. */}
<Button
- variant="outline"
+ variant="picker"
size="sm"
disabled={count === 0}
className="w-44 justify-between"
diff --git a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
index 76cfe037c3e..2bf28d9d6d9 100644
--- a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
@@ -732,7 +732,7 @@ export function DebuggingTab() {
onScroll={onScroll}
data-testid="debug-log-pane"
className={cn(
- "h-[min(26rem,45vh)] w-full overflow-auto [overflow-anchor:none] scroll-rounded rounded-xl border border-border/60 bg-muted/20 px-3.5 py-3 font-mono text-ui-11 leading-[1.55] text-foreground/90 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.04*var(--contrast-wash-gain,1)))]",
+ "h-[min(26rem,45vh)] w-full overflow-auto [overflow-anchor:none] scroll-rounded rounded-lg border border-border/60 bg-muted/20 px-3.5 py-3 font-mono text-ui-11 leading-[1.55] text-foreground/90 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.04*var(--contrast-wash-gain,1)))]",
wrap ? "whitespace-pre-wrap break-words" : "whitespace-pre",
!text && "text-muted-foreground",
)}
diff --git a/studio/frontend/src/features/settings/tabs/general-tab.tsx b/studio/frontend/src/features/settings/tabs/general-tab.tsx
index 0c923dc3419..e8775161ea2 100644
--- a/studio/frontend/src/features/settings/tabs/general-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/general-tab.tsx
@@ -592,7 +592,7 @@ export function GeneralTab() {
<button
type="button"
onClick={() => setShowToken((s) => !s)}
- className="absolute right-1.5 top-1/2 flex size-5 -translate-y-1/2 items-center justify-center rounded text-muted-foreground transition-colors hover:text-foreground"
+ className="absolute right-1.5 top-1/2 flex size-5 -translate-y-1/2 items-center justify-center rounded-full text-muted-foreground transition-colors hover:text-foreground"
aria-label={
showToken
? t("settings.general.hideToken")
@@ -795,7 +795,7 @@ export function GeneralTab() {
variant="outline"
size="sm"
onClick={() => setRevokePreviewOpen(true)}
- className="text-destructive hover:text-destructive hover:border-destructive/60"
+ className="text-destructive hover:text-destructive"
>
{t("settings.general.previewSharing.revokeAction")}
</Button>
@@ -899,7 +899,7 @@ export function GeneralTab() {
variant="outline"
size="sm"
onClick={() => setConfirmOpen(true)}
- className="text-destructive hover:text-destructive hover:border-destructive/60"
+ className="text-destructive hover:text-destructive"
>
{t("settings.general.resetPreferences.action")}
</Button>
diff --git a/studio/frontend/src/features/settings/tabs/library-tab.tsx b/studio/frontend/src/features/settings/tabs/library-tab.tsx
index 062386d0bdb..e1e29597354 100644
--- a/studio/frontend/src/features/settings/tabs/library-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/library-tab.tsx
@@ -184,7 +184,7 @@ function StorageSection() {
<p className="pb-3 text-sm text-muted-foreground">{t("settings.library.storageEmpty")}</p>
)}
{storage.categories.length > 0 && (
- <div className="mb-3 flex flex-col overflow-hidden rounded-xl border border-border/60">
+ <div className="mb-3 flex flex-col overflow-hidden rounded-lg border border-border/60">
{storage.categories.map((entry) => (
<button
key={entry.category}
diff --git a/studio/frontend/src/features/settings/tabs/resources-tab.tsx b/studio/frontend/src/features/settings/tabs/resources-tab.tsx
index f5602a2c12a..079d3e53c82 100644
--- a/studio/frontend/src/features/settings/tabs/resources-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/resources-tab.tsx
@@ -1144,7 +1144,7 @@ export function ResourcesTab() {
? t("settings.resources.storage.openAction")
: t("settings.resources.storage.copyAction")
}
- className="absolute right-1.5 top-1/2 flex size-5 -translate-y-1/2 items-center justify-center rounded text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
+ className="absolute right-1.5 top-1/2 flex size-5 -translate-y-1/2 items-center justify-center rounded-full text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
>
{isTauri ? (
<FolderOpenIcon className="size-3.5" />
diff --git a/studio/frontend/src/features/settings/tabs/sandbox-tab.tsx b/studio/frontend/src/features/settings/tabs/sandbox-tab.tsx
index 6e7fc792614..5541713587f 100644
--- a/studio/frontend/src/features/settings/tabs/sandbox-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/sandbox-tab.tsx
@@ -2,7 +2,6 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import { SegmentedPill } from "@/components/segmented-control";
-import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Spinner } from "@/components/ui/spinner";
@@ -28,7 +27,7 @@ import { ShieldIcon } from "@/lib/shield-cog-icon";
import { cn } from "@/lib/utils";
import { ArrowUpRight01Icon, Refresh01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { useCallback, useEffect, useId, useRef, useState } from "react";
+import { type ReactNode, useCallback, useEffect, useId, useRef, useState } from "react";
import { toast } from "sonner";
import {
type HostPrepJob,
@@ -102,20 +101,25 @@ function ToolRow({
);
return (
<SettingsRow label={label} description={description}>
- <Badge
- variant="outline"
- // Grey and sized like the dropdown pills.
- className="h-8 gap-1.5 border-transparent bg-muted px-3 text-sm text-foreground [&>svg]:size-3.5!"
- >
+ <SandboxStatus>
{view.isolated ? <HugeiconsIcon icon={ShieldIcon} strokeWidth={1.75} /> : null}
{view.isolated
? t("settings.sandbox.osIsolation", { backend: view.backendLabel })
: t("settings.sandbox.softwareSafeguards")}
- </Badge>
+ </SandboxStatus>
</SettingsRow>
);
}
+// A read-only value, not a control: plain text, so it is not mistaken for a button.
+function SandboxStatus({ children }: { children: ReactNode }) {
+ return (
+ <span className="inline-flex shrink-0 items-center gap-1.5 text-sm text-muted-foreground [&>svg]:size-3.5">
+ {children}
+ </span>
+ );
+}
+
function MemoryLimitRow({
memory,
saving,
@@ -343,7 +347,7 @@ export function SandboxTab() {
target="_blank"
rel="noreferrer"
title={t("settings.sandbox.docsLabel")}
- className="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
+ className="inline-flex shrink-0 items-center gap-1 rounded-full px-1.5 py-0.5 text-ui-11 font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{t("settings.sandbox.docs")}
<HugeiconsIcon icon={ArrowUpRight01Icon} className="size-3" />
@@ -731,7 +735,7 @@ function OsSandboxSections() {
>
{t("settings.sandbox.setupCommandHint")}
</span>
- <pre className="max-w-[calc(360px*var(--ui-space-scale,1))] whitespace-pre-wrap break-all rounded-md bg-muted px-2 py-1.5 text-left font-mono text-ui-11">
+ <pre className="max-w-[calc(360px*var(--ui-space-scale,1))] whitespace-pre-wrap break-all rounded-lg bg-muted px-2 py-1.5 text-left font-mono text-ui-11">
{setupRow.command}
</pre>
<Button
@@ -821,13 +825,10 @@ function OsSandboxSections() {
label={t("settings.sandbox.builtinLabel")}
description={t("settings.sandbox.builtinDescription")}
>
- <Badge
- variant="outline"
- className="h-8 gap-1.5 border-transparent bg-muted px-3 text-sm text-foreground [&>svg]:size-3.5!"
- >
+ <SandboxStatus>
<HugeiconsIcon icon={ShieldIcon} strokeWidth={1.75} />
{t("settings.sandbox.builtinInUse")}
- </Badge>
+ </SandboxStatus>
</SettingsRow>
) : null}
{view.builtinUpdate ? (
diff --git a/studio/frontend/src/features/settings/tabs/voice-tab.tsx b/studio/frontend/src/features/settings/tabs/voice-tab.tsx
index 367534bb0b0..ef293e1f1ca 100644
--- a/studio/frontend/src/features/settings/tabs/voice-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/voice-tab.tsx
@@ -344,8 +344,7 @@ function SttModelPicker({
) : (
items.map((model) => {
// A custom repo's name is its id: one-line rows keep a pill
- // shape, two-line rows use a squarer radius. Not rounded-sm: the
- // theme's --radius makes that 13.6px, too round at this height.
+ // shape, two-line rows use the row radius.
const twoLines = sttModelSource(model) !== sttModelName(model);
const size = sttModelSize(model) || folderSizes.get(model);
return (
@@ -355,7 +354,7 @@ function SttModelPicker({
onClick={() => void selectModel(model)}
aria-selected={model === value}
className={`flex w-full items-center justify-between gap-3 px-2.5 py-1.5 text-left transition-colors hover:bg-muted ${
- twoLines ? "rounded-[10px]" : "rounded-full"
+ twoLines ? "rounded-md" : "rounded-full"
} ${model === value ? "bg-accent font-medium" : ""}`}
>
<span className="min-w-0 flex-1 truncate">
diff --git a/studio/frontend/src/features/studio/historical-training-view.tsx b/studio/frontend/src/features/studio/historical-training-view.tsx
index 38e66d2ef36..3f5b7c49ecb 100644
--- a/studio/frontend/src/features/studio/historical-training-view.tsx
+++ b/studio/frontend/src/features/studio/historical-training-view.tsx
@@ -179,7 +179,7 @@ export function HistoricalTrainingView({
if (loading) {
return (
- <div className="rounded-xl border bg-card p-8 text-sm text-muted-foreground">
+ <div className="rounded-2xl border bg-card p-8 text-sm text-muted-foreground">
{t("studio.history.loadingRun")}
</div>
);
@@ -187,7 +187,7 @@ export function HistoricalTrainingView({
if (error || !detail) {
return (
- <div className="rounded-xl border border-destructive/30 bg-destructive/5 p-8 text-sm text-red-500">
+ <div className="rounded-2xl border border-destructive/30 bg-destructive/5 p-8 text-sm text-red-500">
{error ?? t("studio.history.runNotFound")}
</div>
);
diff --git a/studio/frontend/src/features/studio/history-card-grid.tsx b/studio/frontend/src/features/studio/history-card-grid.tsx
index b3a818b3d79..5063b0b0c6b 100644
--- a/studio/frontend/src/features/studio/history-card-grid.tsx
+++ b/studio/frontend/src/features/studio/history-card-grid.tsx
@@ -638,7 +638,7 @@ export function HistoryCardGrid({
{!isRunning && (
<button
type="button"
- className="absolute right-3 top-3 z-10 rounded-md p-1 text-muted-foreground/50 opacity-0 transition-opacity hover:bg-destructive/10 hover:text-destructive group-hover:opacity-100 focus-visible:opacity-100 pointer-coarse:opacity-100"
+ className="absolute right-3 top-3 z-10 rounded-full p-1 text-muted-foreground/50 opacity-0 transition-opacity hover:bg-destructive/10 hover:text-destructive group-hover:opacity-100 focus-visible:opacity-100 pointer-coarse:opacity-100"
aria-label={t("studio.history.deleteRun")}
onClick={() => setDeleteTarget(run.id)}
>
@@ -668,7 +668,7 @@ export function HistoryCardGrid({
{["first", "second", "third"].map((skeletonId) => (
<div
key={`skeleton-${skeletonId}`}
- className="h-40 animate-pulse rounded-xl border bg-muted/30"
+ className="h-40 animate-pulse rounded-2xl border bg-muted/30"
/>
))}
</div>
diff --git a/studio/frontend/src/features/studio/sections/charts-section.tsx b/studio/frontend/src/features/studio/sections/charts-section.tsx
index 4e8e04bab89..f7103181c08 100644
--- a/studio/frontend/src/features/studio/sections/charts-section.tsx
+++ b/studio/frontend/src/features/studio/sections/charts-section.tsx
@@ -76,7 +76,7 @@ export function ChartsSection({
{SKELETON_KEYS.map((key) => (
<div
key={key}
- className="h-[calc(280px*var(--ui-space-scale,1))] 4xl:h-[calc(360px*var(--ui-space-scale,1))] rounded-xl border bg-muted/30 animate-pulse"
+ className="h-[calc(280px*var(--ui-space-scale,1))] 4xl:h-[calc(360px*var(--ui-space-scale,1))] rounded-2xl border bg-muted/30 animate-pulse"
/>
))}
</div>
diff --git a/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsx b/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsx
index ac7e0b5f067..3ce585f4a10 100644
--- a/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-preview-dialog-mapping.tsx
@@ -106,7 +106,7 @@ export function DatasetMappingCard({
return (
<div
className={cn(
- "rounded-xl corner-squircle ring-1 px-5 py-4 mb-4",
+ "rounded-lg corner-squircle ring-1 px-5 py-4 mb-4",
mappingOk
? "ring-emerald-200/70 bg-emerald-50/70 text-emerald-950 dark:ring-emerald-900/50 dark:bg-emerald-950/30 dark:text-emerald-50"
: "ring-amber-200/70 bg-amber-50/70 text-amber-950 dark:ring-amber-900/50 dark:bg-amber-950/30 dark:text-amber-50",
@@ -115,7 +115,7 @@ export function DatasetMappingCard({
<div className="flex items-start gap-3">
<div
className={cn(
- "rounded-xl corner-squircle p-2 shrink-0",
+ "rounded-md corner-squircle p-2 shrink-0",
mappingOk ? "bg-emerald-500/15" : "bg-amber-500/15",
)}
>
@@ -180,7 +180,7 @@ export function DatasetMappingCard({
size="sm"
onClick={onAiAssist}
disabled={isAiLoading}
- className="cursor-pointer bg-white/60 dark:bg-transparent"
+ className="cursor-pointer"
>
{isAiLoading ? (
<>
diff --git a/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx b/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx
index f2903638be4..d21d315ee7e 100644
--- a/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx
@@ -479,7 +479,7 @@ export function DatasetPreviewDialog({
key={`${colName}:${sourcePath}`}
src={src}
alt={`preview-${index}`}
- className="h-16 w-auto max-w-40 rounded-md border object-contain bg-muted"
+ className="h-16 w-auto max-w-40 rounded-lg border object-contain bg-muted"
width={width}
height={height}
loading="lazy"
@@ -566,7 +566,7 @@ export function DatasetPreviewDialog({
{/* Header */}
<DialogHeader className="px-6 max-sm:px-4 pt-5 pb-4 shrink-0">
<div className="flex items-center gap-3 pr-10">
- <div className="rounded-xl corner-squircle p-2 ring-1 ring-indigo-200 bg-indigo-50 text-indigo-600 dark:ring-indigo-800 dark:bg-indigo-950 dark:text-indigo-400 shrink-0">
+ <div className="rounded-md corner-squircle p-2 ring-1 ring-indigo-200 bg-indigo-50 text-indigo-600 dark:ring-indigo-800 dark:bg-indigo-950 dark:text-indigo-400 shrink-0">
<HugeiconsIcon icon={Database02Icon} className="size-4" />
</div>
<DialogTitle className="font-heading text-lg font-semibold tracking-tight">
@@ -580,7 +580,7 @@ export function DatasetPreviewDialog({
{/* Loading */}
{loading && (
<div className="py-24 flex flex-col items-center justify-center gap-3">
- <div className="rounded-2xl corner-squircle bg-primary/5 p-4">
+ <div className="rounded-xl corner-squircle bg-primary/5 p-4">
<Spinner className="size-5 text-primary" />
</div>
<p className="text-sm text-muted-foreground font-medium">
@@ -599,7 +599,7 @@ export function DatasetPreviewDialog({
{/* Error */}
{error && (
<div className="py-20 flex flex-col items-center justify-center gap-3">
- <div className="rounded-2xl corner-squircle bg-destructive/10 p-3">
+ <div className="rounded-lg corner-squircle bg-destructive/10 p-3">
<HugeiconsIcon
icon={AlertCircleIcon}
className="size-5 text-destructive"
@@ -618,7 +618,7 @@ export function DatasetPreviewDialog({
{!loading && !error && data && (
<>
{/* Metadata card */}
- <div className="rounded-xl corner-squircle ring-1 ring-border/60 bg-muted/30 px-5 py-4 mb-4 space-y-2">
+ <div className="rounded-lg corner-squircle ring-1 ring-border/60 bg-muted/30 px-5 py-4 mb-4 space-y-2">
<MetaRow label="Source" value={sourceLabel} />
<MetaRow
label="Format"
diff --git a/studio/frontend/src/features/studio/sections/dataset-selection.tsx b/studio/frontend/src/features/studio/sections/dataset-selection.tsx
index 7471720fe66..9a6a5c777df 100644
--- a/studio/frontend/src/features/studio/sections/dataset-selection.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-selection.tsx
@@ -211,7 +211,7 @@ function SelectedDatasetCard({
return (
<div className="flex flex-col items-stretch gap-3 rounded-lg border bg-muted/40 px-3.5 py-3 @md/train-section:flex-row @md/train-section:items-center">
<div className="flex min-w-0 items-center gap-3">
- <div className="shrink-0 rounded-md bg-indigo-500/10 p-1.5">
+ <div className="shrink-0 rounded-sm bg-indigo-500/10 p-1.5">
<HugeiconsIcon
icon={FileAttachmentIcon}
className="size-4 text-indigo-500"
diff --git a/studio/frontend/src/features/studio/sections/dataset-upload.tsx b/studio/frontend/src/features/studio/sections/dataset-upload.tsx
index 5279fde1dc4..177638b42df 100644
--- a/studio/frontend/src/features/studio/sections/dataset-upload.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-upload.tsx
@@ -64,7 +64,7 @@ export function DatasetUploadField({ uploads }: { uploads: DatasetUploads }) {
onDragOver={uploads.handleDatasetDragOver}
onDragLeave={() => uploads.setIsDatasetDragOver(false)}
className={cn(
- "group relative flex h-9 w-full select-none items-center justify-center gap-2 rounded-[12px] border border-dashed px-3 text-center transition-colors",
+ "group relative flex h-9 w-full select-none items-center justify-center gap-2 rounded-full border border-dashed px-3 text-center transition-colors",
"border-[color-mix(in_oklab,var(--foreground)_calc(15%*var(--contrast-edge-gain,1)),transparent)] dark:border-[rgb(255_255_255_/_calc(0.15*var(--contrast-edge-gain,1)))]",
"hover:border-[color-mix(in_oklab,var(--foreground)_calc(30%*var(--contrast-edge-gain,1)),transparent)] hover:bg-[color-mix(in_oklab,var(--foreground)_calc(2%*var(--contrast-wash-gain,1)),transparent)] dark:hover:border-[rgb(255_255_255_/_calc(0.3*var(--contrast-edge-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.025*var(--contrast-wash-gain,1)))]",
PICKER_FOCUS_VISIBLE_CLASS,
diff --git a/studio/frontend/src/features/studio/sections/document-upload-redirect-dialog.tsx b/studio/frontend/src/features/studio/sections/document-upload-redirect-dialog.tsx
index 88c7ce5d58b..7a626f953f2 100644
--- a/studio/frontend/src/features/studio/sections/document-upload-redirect-dialog.tsx
+++ b/studio/frontend/src/features/studio/sections/document-upload-redirect-dialog.tsx
@@ -46,7 +46,7 @@ export function DocumentUploadRedirectDialog({
>
<DialogHeader className="gap-3">
<div className="flex items-center gap-2">
- <div className="flex size-10 items-center justify-center rounded-2xl border border-border/70 bg-muted/30">
+ <div className="flex size-10 items-center justify-center rounded-md border border-border/70 bg-muted/30">
<HugeiconsIcon
icon={DocumentAttachmentIcon}
className="size-5 text-foreground/90"
@@ -66,7 +66,7 @@ export function DocumentUploadRedirectDialog({
</div>
</DialogHeader>
- <div className="corner-squircle rounded-2xl border border-border/70 bg-muted/20 p-4">
+ <div className="corner-squircle rounded-xl border border-border/70 bg-muted/20 p-4">
<p className="text-sm font-medium text-foreground">
{t("studio.dataset.documentRedirect.nextStepTitle")}
</p>
diff --git a/studio/frontend/src/features/studio/sections/lora-params-section.tsx b/studio/frontend/src/features/studio/sections/lora-params-section.tsx
index dac781af1eb..7b136ea226c 100644
--- a/studio/frontend/src/features/studio/sections/lora-params-section.tsx
+++ b/studio/frontend/src/features/studio/sections/lora-params-section.tsx
@@ -265,7 +265,7 @@ export function LoraParamsSection(): ReactElement | null {
disabled={unsupportedOnMlx || needsVisionOff}
aria-pressed={store.loraVariant === option.value}
onClick={() => store.setLoraVariant(option.value)}
- className={`flex-1 corner-squircle rounded-[14px] border px-3 py-2 text-left transition-colors cursor-pointer disabled:cursor-not-allowed disabled:opacity-60 ${selectableOptionStateClassName(store.loraVariant === option.value)}`}
+ className={`flex-1 corner-squircle rounded-md border px-3 py-2 text-left transition-colors cursor-pointer disabled:cursor-not-allowed disabled:opacity-60 ${selectableOptionStateClassName(store.loraVariant === option.value)}`}
>
<p className="text-xs font-medium">{option.label}</p>
<p className="text-ui-10 text-muted-foreground">
diff --git a/studio/frontend/src/features/studio/sections/offload-panel.tsx b/studio/frontend/src/features/studio/sections/offload-panel.tsx
index 5430c34b220..fad57c5b902 100644
--- a/studio/frontend/src/features/studio/sections/offload-panel.tsx
+++ b/studio/frontend/src/features/studio/sections/offload-panel.tsx
@@ -100,7 +100,7 @@ const CELL = {
function Stat({ label, value }: { label: string; value: string }): ReactElement {
return (
- <div className="flex flex-col gap-0.5 rounded-xl bg-muted/50 px-3 py-2">
+ <div className="flex flex-col gap-0.5 rounded-lg bg-muted/50 px-3 py-2">
<span className="text-ui-11 text-muted-foreground">{label}</span>
<span className="font-mono text-sm">{value}</span>
</div>
diff --git a/studio/frontend/src/features/studio/sections/params-section-controls.tsx b/studio/frontend/src/features/studio/sections/params-section-controls.tsx
index 3799f14f6f1..ba805d11b97 100644
--- a/studio/frontend/src/features/studio/sections/params-section-controls.tsx
+++ b/studio/frontend/src/features/studio/sections/params-section-controls.tsx
@@ -85,7 +85,7 @@ export function ParamsSliderRow({
max={max}
step={step}
// w-12 fits 11px mono, not the 16px coarse-pointer focus-zoom floor.
- className="w-12 pointer-coarse:w-16 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-lg px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"
+ className="w-12 pointer-coarse:w-16 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-full px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"
/>
</div>
</ParamsRow>
diff --git a/studio/frontend/src/features/studio/sections/params-section.tsx b/studio/frontend/src/features/studio/sections/params-section.tsx
index c058aed9ecd..fb2deae30b3 100644
--- a/studio/frontend/src/features/studio/sections/params-section.tsx
+++ b/studio/frontend/src/features/studio/sections/params-section.tsx
@@ -255,7 +255,7 @@ export function ParamsSection({
max={useEpochs ? epochsSliderMax : maxStepsSliderMax}
step={1}
// Same floor: a step count needs more room at 16px.
- className="w-14 pointer-coarse:w-20 shrink-0 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-lg px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"
+ className="w-14 pointer-coarse:w-20 shrink-0 text-right font-mono text-xs font-medium bg-muted/50 border border-border rounded-full px-1.5 py-0.5 focus:outline-none focus:ring-1 focus:ring-ring [&::-webkit-inner-spin-button]:appearance-none"
/>
</div>
</div>
diff --git a/studio/frontend/src/features/studio/sections/progress-section.tsx b/studio/frontend/src/features/studio/sections/progress-section.tsx
index fe5a98064eb..b5284f21f87 100644
--- a/studio/frontend/src/features/studio/sections/progress-section.tsx
+++ b/studio/frontend/src/features/studio/sections/progress-section.tsx
@@ -375,7 +375,7 @@ export function ProgressSection({
)}
{data.error && (
- <p className="rounded-2xl border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-red-500 leading-relaxed">
+ <p className="rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2 text-xs text-red-500 leading-relaxed">
{data.error}
</p>
)}
@@ -383,7 +383,7 @@ export function ProgressSection({
{data.warnings.length > 0 && (
<div
aria-live="polite"
- className="flex gap-2 rounded-2xl border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-xs leading-relaxed text-amber-700 dark:text-amber-300"
+ className="flex gap-2 rounded-lg border border-amber-500/30 bg-amber-500/5 px-3 py-2 text-xs leading-relaxed text-amber-700 dark:text-amber-300"
>
<HugeiconsIcon
icon={Alert02Icon}
@@ -486,7 +486,7 @@ function LiveGpuPanel({
onChange={(e) => setSelectedGpu(Number(e.target.value))}
// At the 16px coarse-pointer floor a 24px box clips descenders, and a long
// device name widens the row past the viewport.
- className="h-6 cursor-pointer rounded-md border border-border bg-popover px-1.5 py-0.5 text-ui-11 text-popover-foreground outline-none hover:bg-muted focus:border-ring transition-colors font-medium appearance-none pointer-coarse:h-auto pointer-coarse:min-w-0 pointer-coarse:max-w-full"
+ className="h-6 cursor-pointer rounded-full border border-border bg-popover px-1.5 py-0.5 text-ui-11 text-popover-foreground outline-none hover:bg-muted focus:border-ring transition-colors font-medium appearance-none pointer-coarse:h-auto pointer-coarse:min-w-0 pointer-coarse:max-w-full"
title="Select GPU"
>
{gpus.map((device, index) => (
@@ -734,7 +734,7 @@ function MilestoneCallout({
}
return (
- <div className="corner-squircle rounded-2xl border border-border/60 bg-muted/30 px-3 py-2.5">
+ <div className="corner-squircle rounded-lg border border-border/60 bg-muted/30 px-3 py-2.5">
<div className="flex items-start justify-between gap-3">
<div className="min-w-0">
{!showCompletedHint && (
@@ -833,7 +833,7 @@ function GpuStat({
}
return (
- <div className="corner-squircle flex flex-col gap-2 rounded-2xl border border-border/50 bg-background/60 p-3">
+ <div className="corner-squircle flex flex-col gap-2 rounded-lg border border-border/50 bg-background/60 p-3">
<div className="flex items-center justify-between text-xs">
<span className="flex items-center gap-1.5 text-muted-foreground">
{icon}
diff --git a/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx b/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx
index 670f806dfb2..0414a24c598 100644
--- a/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx
+++ b/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx
@@ -127,7 +127,7 @@ function SampleCard({
}
};
return (
- <div className="flex flex-col gap-2 rounded-xl border bg-card p-3">
+ <div className="flex flex-col gap-2 rounded-lg border bg-card p-3">
<div className="flex flex-wrap items-center gap-2 text-xs">
{label ? <span className="font-medium">{label}</span> : null}
<span className="text-muted-foreground">
@@ -189,7 +189,7 @@ function MaskingSummary({
{data.masking.response_part ? (
<span className="text-muted-foreground">
{t("studio.dataset.tokenPreview.responseMarker")}{" "}
- <code className="rounded bg-muted px-1 py-0.5 font-mono">
+ <code className="rounded-sm bg-muted px-1 py-0.5 font-mono">
{JSON.stringify(data.masking.response_part)}
</code>
</span>
@@ -404,7 +404,7 @@ function TokenPreviewContent() {
<DialogContent className="sm:max-w-4xl w-[90vw] max-sm:w-[calc(100vw-1rem)] max-h-[88dvh] flex flex-col gap-0 p-0 overflow-hidden rounded-3xl corner-squircle">
<DialogHeader className="px-6 max-sm:px-4 pt-5 pb-3 shrink-0">
<div className="flex items-center gap-3 pr-10">
- <div className="rounded-xl corner-squircle p-2 ring-1 ring-emerald-200 bg-emerald-50 text-emerald-600 dark:ring-emerald-800 dark:bg-emerald-950 dark:text-emerald-400 shrink-0">
+ <div className="rounded-md corner-squircle p-2 ring-1 ring-emerald-200 bg-emerald-50 text-emerald-600 dark:ring-emerald-800 dark:bg-emerald-950 dark:text-emerald-400 shrink-0">
<TextSelectIcon className="size-4" />
</div>
<div className="min-w-0">
diff --git a/studio/frontend/src/features/studio/training-start-overlay.tsx b/studio/frontend/src/features/studio/training-start-overlay.tsx
index 3f8de83434e..d2b8931668b 100644
--- a/studio/frontend/src/features/studio/training-start-overlay.tsx
+++ b/studio/frontend/src/features/studio/training-start-overlay.tsx
@@ -277,7 +277,7 @@ function ResourceRow({
) : null}
{state.cachePath ? (
<div
- className="truncate rounded bg-muted/50 px-2 py-1 text-ui-10 text-muted-foreground/70"
+ className="truncate rounded-full bg-muted/50 px-2 py-1 text-ui-10 text-muted-foreground/70"
title={state.cachePath}
>
{formatCachePath(state.cachePath)}
diff --git a/studio/frontend/src/features/studio/wizard/config-actions.tsx b/studio/frontend/src/features/studio/wizard/config-actions.tsx
index beb799a6e66..cbb77c27c91 100644
--- a/studio/frontend/src/features/studio/wizard/config-actions.tsx
+++ b/studio/frontend/src/features/studio/wizard/config-actions.tsx
@@ -139,7 +139,7 @@ export function ConfigActions() {
<Button
variant="outline"
size="sm"
- className="h-9 cursor-pointer rounded-lg"
+ className="h-9 cursor-pointer rounded-full"
onClick={() => void handleLoadConfig()}
>
<HugeiconsIcon icon={CloudUploadIcon} className="size-3.5" />
@@ -155,7 +155,7 @@ export function ConfigActions() {
<Button
variant="outline"
size="sm"
- className="h-9 cursor-pointer rounded-lg"
+ className="h-9 cursor-pointer rounded-full"
onClick={handleSaveConfig}
>
<HugeiconsIcon icon={Archive04Icon} className="size-3.5" />
@@ -171,7 +171,7 @@ export function ConfigActions() {
<Button
variant="outline"
size="sm"
- className="h-9 cursor-pointer rounded-lg"
+ className="h-9 cursor-pointer rounded-full"
onClick={handleResetConfig}
disabled={!selectedModel}
>
diff --git a/studio/frontend/src/features/studio/wizard/start-training-cta.tsx b/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
index 205419b7392..d48a3f0ca98 100644
--- a/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
+++ b/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
@@ -137,7 +137,7 @@ export function StartTrainingCta() {
<Button
size="lg"
className={cn(
- "h-11 w-full justify-center rounded-xl text-ui-13p5 font-semibold tracking-tight",
+ "h-11 w-full justify-center rounded-full text-ui-13p5 font-semibold tracking-tight",
"bg-primary text-primary-foreground shadow-sm",
"hover:bg-primary/90",
"disabled:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] disabled:text-muted-foreground disabled:shadow-none dark:disabled:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]",
@@ -172,7 +172,7 @@ export function StartTrainingCta() {
<button
type="button"
onClick={ensureModelDefaultsLoaded}
- className="inline-flex shrink-0 items-center gap-1 rounded-md px-1.5 py-0.5 font-medium text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring"
+ className="inline-flex shrink-0 items-center gap-1 rounded-full px-1.5 py-0.5 font-medium text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring"
>
<HugeiconsIcon
icon={Refresh01Icon}
diff --git a/studio/frontend/src/features/studio/wizard/training-wizard.tsx b/studio/frontend/src/features/studio/wizard/training-wizard.tsx
index cfd09fec77c..98c43be3d4e 100644
--- a/studio/frontend/src/features/studio/wizard/training-wizard.tsx
+++ b/studio/frontend/src/features/studio/wizard/training-wizard.tsx
@@ -206,7 +206,7 @@ function TrainingMethodSelect() {
side="bottom"
align="start"
sideOffset={8}
- className="rounded-[14px] ring-0"
+ className="rounded-xl ring-0"
>
{TRAINING_METHOD_ORDER.filter(
(method) =>
@@ -287,7 +287,7 @@ function TrainAsSelect() {
side="bottom"
align="start"
sideOffset={8}
- className="rounded-[14px] ring-0"
+ className="rounded-xl ring-0"
>
{["language", "decision"].map((option) => (
<SelectItem key={option} value={option}>
@@ -337,7 +337,7 @@ function CheckpointSelect({
side="bottom"
align="start"
sideOffset={8}
- className="rounded-[14px] ring-0"
+ className="rounded-xl ring-0"
>
{checkpoints.map((checkpoint) => (
<SelectItem key={checkpoint.name} value={checkpoint.name}>
diff --git a/studio/frontend/src/features/tour/components/guided-tour.tsx b/studio/frontend/src/features/tour/components/guided-tour.tsx
index e29874b12a5..2639001c133 100644
--- a/studio/frontend/src/features/tour/components/guided-tour.tsx
+++ b/studio/frontend/src/features/tour/components/guided-tour.tsx
@@ -255,7 +255,7 @@ export function GuidedTour({
<SpotlightOverlay rect={spotlightRect} vw={vw} vh={vh} maskId={maskId} />
{spotlightRect && (
<motion.div
- className="fixed z-[51] pointer-events-none rounded-[22px] ring-1 ring-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]"
+ className="fixed z-[51] pointer-events-none rounded-2xl ring-1 ring-[rgb(255_255_255_/_calc(0.1*var(--contrast-edge-gain,1)))]"
initial={false}
animate={{
left: spotlightRect.x,
@@ -293,7 +293,7 @@ export function GuidedTour({
// Plain rounded, no corner-squircle: at this radius superellipse(2)
// hugs the corner about twice as tightly as the arc, which reads as a
// boxed-in card rather than a rounded one.
- "relative overflow-hidden rounded-[28px]",
+ "relative overflow-hidden rounded-3xl",
"bg-white/95 text-foreground ring-1 ring-[rgb(0_0_0_/_calc(0.1*var(--contrast-edge-gain,1)))] dark:bg-zinc-900/96 dark:text-zinc-100 dark:ring-[rgb(255_255_255_/_calc(0.12*var(--contrast-edge-gain,1)))]",
"shadow-[0_30px_120px_rgba(0,0,0,0.35)]",
)}
@@ -317,7 +317,7 @@ export function GuidedTour({
/>
{/* Rounded to match the card. A square-cornered rectangle here reads as a
second, boxier outline whenever it is not clipped to the card's radius. */}
- <div className="absolute inset-x-0 top-0 h-20 rounded-t-[28px] bg-gradient-to-b from-control-accent/18 via-control-accent/6 to-transparent dark:from-control-accent/24 dark:via-control-accent/12" />
+ <div className="absolute inset-x-0 top-0 h-20 rounded-t-3xl bg-gradient-to-b from-control-accent/18 via-control-accent/6 to-transparent dark:from-control-accent/24 dark:via-control-accent/12" />
<div className="absolute -left-14 -top-16 size-44 rounded-full bg-control-accent/20 blur-2xl dark:bg-control-accent/26" />
<div className="absolute -right-14 -bottom-16 size-44 rounded-full bg-cyan-300/18 blur-2xl dark:bg-cyan-300/24" />
@@ -363,7 +363,7 @@ export function GuidedTour({
<div className="flex items-center gap-2">
<Button
variant="outline"
- className="border-[rgb(0_0_0_/_calc(0.1*var(--contrast-edge-gain,1)))] bg-white/70 text-foreground hover:bg-white hover:text-foreground dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.07*var(--contrast-wash-gain,1)))] dark:text-zinc-100 dark:hover:bg-[rgb(255_255_255_/_calc(0.12*var(--contrast-wash-gain,1)))]"
+ className="text-foreground hover:text-foreground dark:text-zinc-100"
disabled={idx === 0}
onClick={() => setIdx((i) => Math.max(0, i - 1))}
>
diff --git a/studio/frontend/src/features/tour/components/spotlight-overlay.tsx b/studio/frontend/src/features/tour/components/spotlight-overlay.tsx
index c93846ec41f..74b3f4e4f58 100644
--- a/studio/frontend/src/features/tour/components/spotlight-overlay.tsx
+++ b/studio/frontend/src/features/tour/components/spotlight-overlay.tsx
@@ -13,7 +13,7 @@ type SpotlightOverlayProps = {
export function SpotlightOverlay({ rect, vw, vh, maskId }: SpotlightOverlayProps) {
const hole = rect ?? { x: vw / 2 - 140, y: vh / 2 - 90, w: 280, h: 180 };
- const r = 22;
+ const r = 24;
return (
<svg
diff --git a/studio/frontend/src/features/train-model-picker/components/train-model-picker-lists.tsx b/studio/frontend/src/features/train-model-picker/components/train-model-picker-lists.tsx
index 40670713f80..bd384b12eaf 100644
--- a/studio/frontend/src/features/train-model-picker/components/train-model-picker-lists.tsx
+++ b/studio/frontend/src/features/train-model-picker/components/train-model-picker-lists.tsx
@@ -145,7 +145,7 @@ export function TrainModelDeviceList({
{model.path}
</TooltipContent>
</Tooltip>
- <span className="ml-2 shrink-0 rounded-[6px] border border-border/60 px-1.5 py-0.5 text-ui-10 font-medium leading-none text-muted-foreground">
+ <span className="ml-2 shrink-0 rounded-full border border-border/60 px-1.5 py-0.5 text-ui-10 font-medium leading-none text-muted-foreground">
{model.sourceLabel}
</span>
</SelectablePickerItem>
@@ -272,7 +272,7 @@ export function TrainModelHubList({
</Tooltip>
<span className="ml-auto flex shrink-0 items-center gap-1.5">
{exceeds && (
- <span className="rounded bg-red-50 px-1.5 py-0.5 text-ui-9 font-semibold text-red-700 dark:bg-red-950 dark:text-red-400">
+ <span className="rounded-full bg-red-50 px-1.5 py-0.5 text-ui-9 font-semibold text-red-700 dark:bg-red-950 dark:text-red-400">
{t("studio.modelPicker.vramOomBadge")}
</span>
)}
diff --git a/studio/frontend/src/features/video/reference-picker.tsx b/studio/frontend/src/features/video/reference-picker.tsx
index 33b8e023b13..b11fe808ade 100644
--- a/studio/frontend/src/features/video/reference-picker.tsx
+++ b/studio/frontend/src/features/video/reference-picker.tsx
@@ -133,7 +133,7 @@ export function ReferenceMediaPicker({
return (
<div
className={cn(
- "flex items-center gap-2 rounded-[10px] border border-border bg-muted/30 px-2.5",
+ "flex items-center gap-2 rounded-full border border-border bg-muted/30 px-2.5",
compact ? "h-8" : "h-11",
)}
>
@@ -175,7 +175,7 @@ export function ReferenceMediaPicker({
onClick={() => inputRef.current?.click()}
{...dragHandlers}
className={cn(
- "flex w-full items-center justify-center gap-1.5 rounded-[10px] border border-dashed text-ui-11 transition-colors",
+ "flex w-full items-center justify-center gap-1.5 rounded-full border border-dashed text-ui-11 transition-colors",
compact ? "h-8" : "h-11",
dragging
? "border-primary/60 bg-primary/5 text-foreground"
diff --git a/studio/frontend/src/features/video/video-page.tsx b/studio/frontend/src/features/video/video-page.tsx
index cc9370d7100..282e48849b2 100644
--- a/studio/frontend/src/features/video/video-page.tsx
+++ b/studio/frontend/src/features/video/video-page.tsx
@@ -609,7 +609,7 @@ function ResolvedBadge({
const badge = (
<span
className={cn(
- "shrink-0 rounded-sm px-1 py-px text-ui-9 font-medium uppercase tracking-wider",
+ "shrink-0 rounded-full px-1 py-px text-ui-9 font-medium uppercase tracking-wider",
info.tone === "warn"
? "bg-destructive/15 text-destructive"
: "bg-muted text-muted-foreground",
@@ -646,7 +646,7 @@ function LoadedBuildSummary({ status }: { status: VideoStatus | null }) {
if (!status?.loaded) return null;
const offload = status.offload_policy ?? "none";
return (
- <div className="flex flex-col gap-1 rounded-md border border-border/60 px-2.5 py-2 text-ui-11">
+ <div className="flex flex-col gap-1 rounded-lg border border-border/60 px-2.5 py-2 text-ui-11">
<div className="flex items-center gap-1 pb-0.5 text-xs font-medium text-muted-foreground">
Loaded build
<InfoHint>
@@ -3905,9 +3905,7 @@ function VideoGenerator({
if (!open) cancelH3TaskChoice();
}}
>
- {/* Squarer than the shared dialog's rounded-4xl: at this width the default reads as a lozenge
- rather than a panel. */}
- <DialogContent className="max-w-lg rounded-2xl">
+ <DialogContent className="max-w-lg rounded-3xl">
<DialogHeader>
<DialogTitle>Choose how MiniMax H3 should generate</DialogTitle>
<DialogDescription>
@@ -4167,7 +4165,7 @@ function VideoGenerator({
<span className="text-ui-11 text-muted-foreground/70">
Picture {index + 1}
</span>
- <div className="relative h-24 overflow-hidden rounded-[10px] border border-border bg-muted/30">
+ <div className="relative h-24 overflow-hidden rounded-lg border border-border bg-muted/30">
<button
type="button"
aria-label={`Edit crop for picture ${index + 1}`}
@@ -4258,7 +4256,7 @@ function VideoGenerator({
muted={true}
preload="metadata"
src={entry.video.dataUrl}
- className="max-h-36 w-full rounded-[10px] bg-black object-contain"
+ className="max-h-36 w-full rounded-lg bg-black object-contain"
/>
<div className="grid grid-cols-2 gap-2">
<div className="grid gap-1 text-ui-11 text-muted-foreground">
@@ -4750,14 +4748,14 @@ function VideoGenerator({
className="max-h-full max-w-full object-contain shadow-sm"
/>
{selected.has_audio && (
- <div className="absolute left-4 top-4 flex items-center gap-1 rounded-lg bg-background/80 px-2 py-1 text-ui-11 font-medium shadow-lg ring-1 ring-border backdrop-blur">
+ <div className="absolute left-4 top-4 flex items-center gap-1 rounded-full bg-background/80 px-2 py-1 text-ui-11 font-medium shadow-lg ring-1 ring-border backdrop-blur">
<HugeiconsIcon icon={Volume02Icon} className="size-3.5" />
Audio
</div>
)}
{/* Actions grouped in one glass toolbar so they stay legible over any clip. */}
{/* No button borders: focus returning from a menu would draw one. Keyboard focus tints instead. */}
- <div className="absolute bottom-4 right-4 flex items-center gap-0.5 rounded-xl bg-background/80 p-1 shadow-lg ring-1 ring-border backdrop-blur [&_[data-slot=button]]:border-0 [&_[data-slot=button]:focus-visible]:bg-muted">
+ <div className="absolute bottom-4 right-4 flex items-center gap-0.5 rounded-full bg-background/80 p-1 shadow-lg ring-1 ring-border backdrop-blur [&_[data-slot=button]]:border-0 [&_[data-slot=button]:focus-visible]:bg-muted">
{/* Not a click on the clip itself: Chrome's ⋮ menu, WebKit's centred play button and the
first click of a double-click to fullscreen all land on the frame, above the controls. */}
<Button
@@ -4874,7 +4872,7 @@ function VideoGenerator({
{/* In-progress generation: a placeholder tile at the front so past clips stay browsable while
the new one renders. */}
{busy === "generating" && (
- <div className="flex size-16 shrink-0 animate-pulse items-center justify-center overflow-hidden rounded-[10px] bg-muted/50 ring-2 ring-primary/30">
+ <div className="flex size-16 shrink-0 animate-pulse items-center justify-center overflow-hidden rounded-lg bg-muted/50 ring-2 ring-primary/30">
{livePreviewSrc ? (
<img src={livePreviewSrc} alt="" className="size-full object-cover" />
) : (
@@ -4904,7 +4902,7 @@ function VideoGenerator({
<button
type="button"
onClick={() => setSelectedId(video.id)}
- className="relative flex size-full flex-col justify-end overflow-hidden rounded-[10px] bg-muted/40 outline-none ring-1 ring-transparent transition-shadow hover:ring-border focus-visible:ring-2 focus-visible:ring-ring"
+ className="relative flex size-full flex-col justify-end overflow-hidden rounded-lg bg-muted/40 outline-none ring-1 ring-transparent transition-shadow hover:ring-border focus-visible:ring-2 focus-visible:ring-ring"
>
{thumbnailById[video.id] ? (
<img
@@ -4933,7 +4931,7 @@ function VideoGenerator({
</span>
{/* Selection marker on a non-focusable overlay. */}
{video.id === selected?.id && (
- <span className="pointer-events-none absolute inset-0 z-20 rounded-[10px] border border-border bg-white/35 dark:border-[rgb(255_255_255_/_calc(0.25*var(--contrast-edge-gain,1)))] dark:bg-white/20" />
+ <span className="pointer-events-none absolute inset-0 z-20 rounded-lg border border-border bg-white/35 dark:border-[rgb(255_255_255_/_calc(0.25*var(--contrast-edge-gain,1)))] dark:bg-white/20" />
)}
</button>
</TooltipTrigger>
@@ -4986,7 +4984,7 @@ function VideoGenerator({
<button
type="button"
onClick={() => setClearConfirmOpen(true)}
- className="flex h-16 w-16 shrink-0 flex-col items-center justify-center gap-1 rounded-[10px] text-muted-foreground ring-1 ring-border transition-colors hover:text-destructive hover:ring-destructive/40"
+ className="btn-fill flex h-16 w-16 shrink-0 flex-col items-center justify-center gap-1 rounded-lg text-muted-foreground transition-colors hover:text-destructive"
>
<HugeiconsIcon icon={Delete02Icon} className="size-4" />
<span className="text-ui-9 font-medium">Clear all</span>
diff --git a/studio/frontend/src/hooks/use-single-line.ts b/studio/frontend/src/hooks/use-single-line.ts
new file mode 100644
index 00000000000..fc5014e7aa3
--- /dev/null
+++ b/studio/frontend/src/hooks/use-single-line.ts
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
+
+import { useCallback, useEffect, useRef, useState } from "react";
+
+function fitsOneLine(el: HTMLElement): boolean {
+ const style = getComputedStyle(el);
+ const fontSize = Number.parseFloat(style.fontSize) || 16;
+ const lineHeight = Number.parseFloat(style.lineHeight) || fontSize * 1.2;
+ const content =
+ el.clientHeight -
+ (Number.parseFloat(style.paddingTop) || 0) -
+ (Number.parseFloat(style.paddingBottom) || 0);
+ return content < lineHeight * 1.5;
+}
+
+/**
+ * Whether the element's text currently fits on one line, tracked across resizes. A box that is
+ * usually one line but can wrap (a command, a URL) is a pill on one line and a 16px box once
+ * wrapped; CSS cannot tell the two apart.
+ */
+export function useSingleLine<T extends HTMLElement>(): [
+ (node: T | null) => void,
+ boolean,
+] {
+ const [single, setSingle] = useState(true);
+ const observer = useRef<ResizeObserver | null>(null);
+
+ const ref = useCallback((node: T | null) => {
+ observer.current?.disconnect();
+ observer.current = null;
+ if (!node || typeof ResizeObserver === "undefined") {
+ return;
+ }
+ const update = () => setSingle(fitsOneLine(node));
+ update();
+ observer.current = new ResizeObserver(update);
+ observer.current.observe(node);
+ }, []);
+
+ useEffect(() => () => observer.current?.disconnect(), []);
+
+ return [ref, single];
+}
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index 3759e174b25..c16287da2cc 100644
--- a/studio/frontend/src/index.css
+++ b/studio/frontend/src/index.css
@@ -15,6 +15,21 @@
@custom-variant dark (&:is(.dark *));
+/* A clickable button's fill: the segmented toggles' track (.hub-tab-toggle in hub.css), so a filled
+ button and a toggle are the same grey in both themes, panels included. No border. */
+@utility btn-fill {
+ background-color: color-mix(in srgb, var(--foreground) calc(5% * var(--contrast-wash-gain, 1)), transparent);
+ &:hover {
+ background-color: color-mix(in srgb, var(--foreground) calc(8% * var(--contrast-wash-gain, 1)), transparent);
+ }
+ &:where(.dark *) {
+ background-color: var(--hub-tab-track);
+ }
+ &:where(.dark *):hover {
+ background-color: color-mix(in srgb, var(--foreground) calc(10% * var(--contrast-wash-gain, 1)), transparent);
+ }
+}
+
@layer components {
/* The custom Windows/Linux titlebar stays above modal backdrops so native
window actions remain usable. Repeat the standard backdrop over the surface
@@ -282,7 +297,6 @@
--chart-3: oklch(0.7014 0.1193 197.5897);
--chart-4: oklch(0.6926 0.1112 346.5775);
--chart-5: oklch(0.7497 0.1003 85.0057);
- --radius: 1.1rem;
/* White sidebar against the warm off-white page; the tone difference is
the separator now that the right-edge divider is gone. */
--sidebar-base: #ffffff;
@@ -520,8 +534,6 @@
--sidebar-border-base: #3a3a3a;
--sidebar-ring: #dfdfdf;
--destructive-foreground: oklch(1 0 0);
- /* Match light's radius so every rounded-* element is the same in both themes. */
- --radius: 1.1rem;
--font-sans: "Inter Variable", ui-sans-serif, sans-serif, system-ui;
--font-serif: Source Serif 4, serif;
--font-mono: JetBrains Mono, monospace;
@@ -1973,7 +1985,7 @@ html[data-chat-font] .aui-root {
/* Settings search: brief highlight on the row a result jumped to. */
.settings-search-hit {
animation: settings-search-hit 1.6s ease-out;
- border-radius: 12px;
+ border-radius: var(--radius-md);
}
@keyframes settings-search-hit {
0%,
@@ -1985,6 +1997,27 @@ html[data-chat-font] .aui-root {
}
}
+@theme {
+ /* One radius scale for the whole app, fixed so no theme or region shifts it. Tiers nest
+ concentrically (outer = inner + inset), as the composer (28px around an 18px send circle
+ at a 10px inset) and the + menu (21px around 12px rows at a 9px gutter) do. Anything one
+ line tall is rounded-full.
+ sm 8px tiny tiles and swatches
+ md 12px rows in menus and lists, tiles inside a card (bare `rounded` too)
+ lg 16px compact multi-line boxes: code blocks, thumbnails
+ xl 21px menus, popovers, textareas, boxes inside a card or dialog
+ 2xl 24px cards and panels
+ 3xl 28px composer, dialogs, sheets, large floating surfaces */
+ --radius-sm: 8px;
+ --radius-md: 12px;
+ --radius-lg: 16px;
+ --radius-xl: 21px;
+ --radius-2xl: 24px;
+ --radius-3xl: 28px;
+ --radius-4xl: 32px;
+ --radius: 12px;
+}
+
@theme inline {
/* Named so they sort after lg/xl. 3xl = 1920px, 4xl = 2560px. */
--breakpoint-3xl: 120rem;
@@ -2092,16 +2125,8 @@ html[data-chat-font] .aui-root {
--color-card: var(--card);
--color-foreground: var(--foreground);
--color-background: var(--background);
- --radius-sm: calc(var(--radius) - 4px);
- --radius-md: calc(var(--radius) - 2px);
- --radius-lg: var(--radius);
- --radius-xl: calc(var(--radius) + 4px);
- --radius-2xl: calc(var(--radius) + 8px);
- --radius-3xl: calc(var(--radius) + 12px);
- --radius-4xl: calc(var(--radius) + 16px);
--font-mono: var(--font-mono);
--font-serif: var(--font-serif);
- --radius: 1.1rem;
--tracking-tighter: 0em;
--tracking-tight: 0em;
--tracking-wide: calc(var(--tracking-normal) + 0.025em);
@@ -2396,7 +2421,7 @@ html[data-chat-font] .aui-root {
/* Pinned/Projects/Recents header actions. They sit in the label's flex row,
not over a pill, so they reveal on the header's hover. */
.sidebar-header-action {
- @apply inline-flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md opacity-0 pointer-events-none outline-none transition-opacity duration-150;
+ @apply inline-flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-full opacity-0 pointer-events-none outline-none transition-opacity duration-150;
color: inherit;
}
.group\/sidebar-header:hover .sidebar-header-action,
@@ -2568,7 +2593,7 @@ html[data-chat-font] .aui-root {
/* Larger panel text containers (system prompt preview button and
chat-template textarea) share the same treatment. */
.panel-text-surface {
- @apply rounded-[20px] transition-colors;
+ @apply rounded-xl transition-colors;
border: 1px solid var(--border);
background-color: var(--background);
}
@@ -2817,7 +2842,7 @@ html[data-chat-font] .aui-root {
height: calc(36px * var(--ui-space-scale, 1));
padding: 0 calc(0.75rem * var(--ui-space-scale, 1)) !important;
gap: calc(9.5px * var(--ui-space-scale, 1)) !important;
- border-radius: 12px;
+ border-radius: var(--radius-md);
font-weight: 500;
font-size: calc(0.9375rem * var(--ui-font-scale, 1));
line-height: calc(1.25rem * var(--ui-font-scale, 1));
@@ -2962,8 +2987,6 @@ html[data-chat-font] .aui-root {
/* Chat search box: borderless, soft Gemini-style elevation. */
.chat-search-surface {
border: none;
- /* Pin to the dark --radius so rounded-3xl corners stay consistent. */
- --radius: 0.625rem;
/* Prominent, wide ChatGPT-style elevation. */
box-shadow: 0 24px 70px -16px rgba(0, 0, 0, 0.28),
0 8px 24px -12px rgba(0, 0, 0, 0.18);
@@ -3014,10 +3037,8 @@ html[data-chat-font] .aui-root {
var(--menu-soft-spread) var(--menu-soft-shadow);
}
- /* Model selector: drop the inset edge ring, keep the soft drop shadow.
- Pin --radius to the light value so the corners match in both themes. */
+ /* Model selector: drop the inset edge ring, keep the soft drop shadow. */
.unsloth-model-selector-menu.menu-soft-surface {
- --radius: 1.25rem;
box-shadow: 0 var(--menu-soft-offset-y) var(--menu-soft-blur)
var(--menu-soft-spread) var(--menu-soft-shadow);
}
@@ -3063,18 +3084,48 @@ html[data-chat-font] .aui-root {
margin-block: 2px;
}
- /* List menus: one radius in both themes, slightly tighter than --radius-lg
- and matching the sidebar buttons. !important beats per-menu rounded-*. */
+ /* A menu's corner is its 12px row radius plus its gutter, so the hover nests in the corner:
+ 16px around the standard 4px gutter. !important beats per-menu rounded-*. */
[data-slot="dropdown-menu-content"],
[data-slot="dropdown-menu-sub-content"],
[data-slot="select-content"],
[data-slot="combobox-content"] {
- border-radius: 14px !important;
+ border-radius: var(--radius-lg) !important;
}
- /* Account menu: a touch rounder than standard list menus. */
+ /* The account menu's 10px gutter. */
[data-slot="dropdown-menu-content"].app-user-menu.menu-soft-surface-up {
- border-radius: 18px !important;
+ border-radius: calc(var(--radius-md) + 10px) !important;
+ }
+
+ /* The model picker keeps the corners it was designed with: the scale it had before the fixed
+ tiers (derived from a 1.25rem base) and its 1.25rem surface. */
+ .unsloth-model-selector-menu {
+ --radius: 1.1rem;
+ --radius-sm: calc(1.25rem - 4px);
+ --radius-md: calc(1.25rem - 2px);
+ --radius-lg: 1.25rem;
+ --radius-xl: calc(1.25rem + 4px);
+ --radius-2xl: calc(1.25rem + 8px);
+ --radius-3xl: calc(1.25rem + 12px);
+ --radius-4xl: calc(1.25rem + 16px);
+ }
+ .unsloth-model-selector-menu[data-slot] {
+ border-radius: 1.25rem !important;
+ }
+ /* Its outline buttons keep their border. */
+ html:not(.dark) .unsloth-model-selector-menu .btn-fill {
+ border-color: var(--border);
+ background-color: var(--background);
+ }
+ html:not(.dark) .unsloth-model-selector-menu .btn-fill:hover {
+ background-color: color-mix(in oklab, var(--accent) 50%, transparent);
+ }
+ html.dark .unsloth-model-selector-menu .btn-fill {
+ background-color: rgb(255 255 255 / calc(0.06 * var(--contrast-wash-gain, 1)));
+ }
+ html.dark .unsloth-model-selector-menu .btn-fill:hover {
+ background-color: rgb(255 255 255 / calc(0.1 * var(--contrast-wash-gain, 1)));
}
/* Every dropdown/menu/select/popover: borderless, chatbox shadow in light,
@@ -3190,7 +3241,7 @@ html[data-chat-font] .aui-root {
}
.chat-composer-surface {
- @apply relative flex w-full flex-col rounded-[32px] bg-background dark:bg-card px-1 pt-2 outline-none transition-shadow;
+ @apply relative flex w-full flex-col rounded-3xl bg-background dark:bg-card px-1 pt-2 outline-none transition-shadow;
container-type: inline-size;
font-family: var(--font-sans);
background-clip: padding-box;
@@ -3352,7 +3403,7 @@ html[data-chat-font] .aui-root {
/* 28px corner: the send circle sits at an even 10px inset inside it. */
.unsloth-composer-surface {
- @apply relative flex w-full flex-col rounded-[28px] bg-background dark:bg-card p-2.5 outline-none transition-shadow;
+ @apply relative flex w-full flex-col rounded-3xl bg-background dark:bg-card p-2.5 outline-none transition-shadow;
container-type: inline-size;
font-family: var(--font-sans);
background-clip: padding-box;
@@ -3581,7 +3632,7 @@ html[data-chat-font] .aui-root {
.unsloth-composer-surface {
- border-radius: 1.5rem;
+ border-radius: var(--radius-2xl);
}
/* 32px to 28px for every control, and 36px to 28px for plus and send,
@@ -3803,9 +3854,8 @@ html[data-chat-font] .aui-root {
/* Soft elevation; [data-slot] outranks the component ring-1, dropping the border. */
.unsloth-plus-menu[data-slot] {
/* Concentric with the item hover boxes: container radius =
- item radius (12px) + side gutter (9px), so the curves run parallel.
- !important beats the global 14px dropdown radius. */
- border-radius: 21px !important;
+ item radius (12px) + side gutter (9px), so the curves run parallel. */
+ border-radius: var(--radius-xl) !important;
padding-top: calc(0.5rem * var(--ui-space-scale, 1));
padding-bottom: calc(0.5rem * var(--ui-space-scale, 1));
/* Side gutter ~matches the 0.5rem top/bottom padding so the hover box
@@ -3815,14 +3865,6 @@ html[data-chat-font] .aui-root {
box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.16);
}
- /* Width does not change the concentric radius; the MCP menu uses the same
- item radius + gutter, so it keeps the same container radius. */
- .unsloth-plus-menu.mcp-menu[data-slot] {
- border-radius: 22px !important;
- }
-
- /* One-line menus keep the standard menu shape (same radius as multi-line),
- so a lone row doesn't balloon into a fully rounded pill. */
.dark .unsloth-plus-menu[data-slot] {
background-color: var(--card);
@@ -3901,9 +3943,7 @@ html[data-chat-font] .aui-root {
) {
@apply gap-3 pl-3 pr-3 py-2 text-ui-14;
cursor: pointer;
- /* Pin hover-box radius so dark matches light (container radius minus the
- side gutter keeps the curves concentric). */
- border-radius: 12px;
+ border-radius: var(--radius-md);
}
.unsloth-plus-menu :is(
@@ -3916,8 +3956,8 @@ html[data-chat-font] .aui-root {
/* A sidebar row's menu, one step down from the composer menus this shares a look with.
It carries the most rows of any menu in the app and was running tall. */
.unsloth-plus-menu.sidebar-row-menu[data-slot] {
- /* Concentric as above: item radius (10px) + side gutter (8px). */
- border-radius: 18px !important;
+ /* 12px rows + this menu's 8px gutter. */
+ border-radius: calc(var(--radius-md) + 8px) !important;
padding-top: calc(0.375rem * var(--ui-space-scale, 1));
padding-bottom: calc(0.375rem * var(--ui-space-scale, 1));
padding-left: calc(8px * var(--ui-space-scale, 1));
@@ -3933,7 +3973,6 @@ html[data-chat-font] .aui-root {
[data-slot="context-menu-sub-trigger"]
) {
@apply gap-2.5 pl-2.5 pr-2.5 py-1.5 text-ui-13;
- border-radius: 10px;
}
/* A heading opens its group: more room above it than below, so it reads with the rows under it
@@ -3952,7 +3991,6 @@ html[data-chat-font] .aui-root {
[data-slot="dropdown-menu-radio-item"]
) {
@apply gap-2.5 pl-2.5 pr-9;
- border-radius: 10px;
}
/* Tick rows hover like the rows beside them, not with the component's accent. */
@@ -4291,13 +4329,13 @@ html[data-chat-font] .aui-root {
margin-top: calc(1rem * var(--ui-space-scale, 1));
border-top: 1px solid var(--color-border);
padding-top: calc(0.75rem * var(--ui-space-scale, 1));
- border-radius: 1.5rem 1.5rem 0 0;
+ border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.aui-reasoning-code-last {
border-bottom: 1px solid var(--color-border);
padding-bottom: calc(0.75rem * var(--ui-space-scale, 1));
- border-bottom-left-radius: 1.5rem;
- border-bottom-right-radius: 1.5rem;
+ border-bottom-left-radius: var(--radius-lg);
+ border-bottom-right-radius: var(--radius-lg);
}
.aui-reasoning-code-fragment .aui-reasoning-code-lines,
.aui-reasoning-code-fragment code {
@@ -4337,7 +4375,7 @@ html[data-chat-font] .aui-root {
[data-streamdown="code-block"] {
gap: calc(0.25rem * var(--ui-space-scale, 1));
padding: calc(0.75rem * var(--ui-space-scale, 1)) calc(1rem * var(--ui-space-scale, 1));
- border-radius: 1.5rem;
+ border-radius: var(--radius-lg);
/* Wide lines must scroll inside the thread column, not widen past the composer (flex min-width:auto). */
max-width: 100%;
min-width: 0;
@@ -5044,7 +5082,7 @@ html[data-chat-font] .aui-root {
z-index: 60;
display: flex;
align-items: center;
- border-radius: 10px;
+ border-radius: 9999px;
pointer-events: none;
will-change: transform;
}
@@ -5053,7 +5091,7 @@ html[data-chat-font] .aui-root {
--row-ghost-surface: var(--sidebar);
display: flex;
align-items: center;
- border-radius: 10px;
+ border-radius: 9999px;
will-change: transform;
}
@@ -5770,7 +5808,7 @@ html.force-reduced-motion .sidebar-section-drop-line {
gap: calc(14px * var(--ui-space-scale, 1));
width: min(66%, 18rem);
padding: calc(1.5rem * var(--ui-space-scale, 1));
- border-radius: 1.5rem;
+ border-radius: var(--radius-2xl);
}
.generated-image-loading-dot {
@@ -6038,52 +6076,16 @@ html.force-reduced-motion .sidebar-section-drop-line {
@layer components {
.elevated-card {
border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
- border-radius: 20px;
+ border-radius: var(--radius-2xl);
box-shadow: 0 0 60px 8px
color-mix(in srgb, var(--foreground) 5%, transparent);
}
- @media (min-width: 640px) {
- .elevated-card {
- border-radius: 28px;
- }
- }
-
- @media (min-width: 1024px) {
- .elevated-card {
- border-radius: 32px;
- }
- }
-
.dark .elevated-card {
border-color: transparent;
box-shadow: none;
}
- /* rounded-* compile to var(--radius) (@theme inline), so the step goes on --radius. */
- .api-rounding {
- --radius: calc(1.1rem - 2px);
- }
-
- .api-rounding .elevated-card,
- .api-rounding.elevated-card {
- border-radius: 18px;
- }
-
- @media (min-width: 640px) {
- .api-rounding .elevated-card,
- .api-rounding.elevated-card {
- border-radius: 25px;
- }
- }
-
- @media (min-width: 1024px) {
- .api-rounding .elevated-card,
- .api-rounding.elevated-card {
- border-radius: 29px;
- }
- }
-
.dark .elevated-card.elevated-card-dark-border {
border-color: color-mix(in srgb, var(--border) 70%, transparent);
}
@@ -6246,7 +6248,7 @@ html[data-find-bar-open] [data-sonner-toaster][data-y-position="top"] {
--studio-chat-header-height: 0px;
--studio-chat-scroller-top: 0px;
height: auto;
- border-radius: 28px;
+ border-radius: var(--radius-3xl);
background-color: var(--dock-surface);
box-shadow:
0 0 0 1px color-mix(in oklab, var(--foreground) 8%, transparent),
@@ -6284,8 +6286,8 @@ html[data-find-bar-open] [data-sonner-toaster][data-y-position="top"] {
.chat-full-view-dock .aui-thread-composer-dock {
background-color: var(--dock-surface);
- border-bottom-left-radius: 28px;
- border-bottom-right-radius: 28px;
+ border-bottom-left-radius: var(--radius-3xl);
+ border-bottom-right-radius: var(--radius-3xl);
}
.chat-full-view-dock .aui-thread-viewport {
@@ -6418,7 +6420,7 @@ html[data-find-bar-open] [data-sonner-toaster][data-y-position="top"] {
.unsloth-files-panel {
/* pt-3.5: the 28px Add files pill sits in the 32px header row, so this keeps it 16px from the top edge. */
- @apply relative mb-2 flex w-full flex-col gap-5 overflow-hidden rounded-[24px] px-4 pt-3.5 pb-6;
+ @apply relative mb-2 flex w-full flex-col gap-5 overflow-hidden rounded-2xl px-4 pt-3.5 pb-6;
container: files-panel / inline-size;
font-family: var(--font-sans);
background-color: #ffffff;
@@ -6511,11 +6513,8 @@ html[data-find-bar-open] [data-sonner-toaster][data-y-position="top"] {
.unsloth-files-panel-action {
/* pt-px: centred by its line box, the cap-height text sits half a pixel high. */
- @apply inline-flex h-7 shrink-0 items-center rounded-full border px-3 pt-px text-ui-12 text-foreground transition-colors disabled:pointer-events-none disabled:opacity-50;
- border-color: color-mix(in oklab, var(--foreground) 14%, transparent);
-}
-.unsloth-files-panel-action:hover {
- background-color: color-mix(in oklab, var(--foreground) 6%, transparent);
+ @apply inline-flex h-7 shrink-0 items-center rounded-full px-3 pt-px text-ui-12 text-foreground transition-colors disabled:pointer-events-none disabled:opacity-50;
+ @apply btn-fill;
}
.unsloth-files-add-card:disabled {
@apply pointer-events-none opacity-50;
diff --git a/studio/frontend/tests/audio-source-input.test.ts b/studio/frontend/tests/audio-source-input.test.ts
index 15e47512e7b..128a4782db5 100644
--- a/studio/frontend/tests/audio-source-input.test.ts
+++ b/studio/frontend/tests/audio-source-input.test.ts
@@ -227,7 +227,7 @@ test("the whole card is the drop target, with every way in", () => {
}
assert.match(
card,
- /corner-squircle grid gap-3 rounded-lg bg-card p-4 ring-1/,
+ /corner-squircle grid gap-3 rounded-2xl bg-card p-4 ring-1/,
);
assert.doesNotMatch(card, /shadow-/);
assert.ok(
diff --git a/studio/frontend/tests/context-menu-item-radius.test.ts b/studio/frontend/tests/context-menu-item-radius.test.ts
index 93e8c64ba06..2f45b016c9e 100644
--- a/studio/frontend/tests/context-menu-item-radius.test.ts
+++ b/studio/frontend/tests/context-menu-item-radius.test.ts
@@ -6,7 +6,7 @@ import test from "node:test";
import { readText } from "./helpers/kit.ts";
-const RECTANGLE_RADIUS = /rounded-\[11px\]/;
+const RECTANGLE_RADIUS = /\brounded-md\b/;
const PILL_RADIUS = /\brounded-(?:full|xl)\b/;
function functionBody(source: string, name: string): string {
diff --git a/studio/frontend/tests/dialog-scrollbar-corners.test.ts b/studio/frontend/tests/dialog-scrollbar-corners.test.ts
index 1850635731f..3d52962b115 100644
--- a/studio/frontend/tests/dialog-scrollbar-corners.test.ts
+++ b/studio/frontend/tests/dialog-scrollbar-corners.test.ts
@@ -44,13 +44,13 @@ test("scroll-rounded insets the track in Chromium and WebKit and clips in Firefo
test("dialogs and inline rounded scrollers use it", () => {
for (const [file, needle] of [
- ["components/ui/dialog.tsx", "overflow-y-auto scroll-rounded rounded-4xl"],
- ["components/ui/alert-dialog.tsx", "overflow-y-auto scroll-rounded rounded-4xl"],
- ["features/settings/tabs/debugging-tab.tsx", "scroll-rounded rounded-xl"],
+ ["components/ui/dialog.tsx", "overflow-y-auto scroll-rounded rounded-3xl"],
+ ["components/ui/alert-dialog.tsx", "overflow-y-auto scroll-rounded rounded-3xl"],
+ ["features/settings/tabs/debugging-tab.tsx", "scroll-rounded rounded-lg"],
["features/api-monitor/api-monitor-page.tsx", "scroll-rounded rounded-lg"],
["features/export/components/export-run-panel.tsx", "scroll-rounded rounded-lg"],
["features/chat/components/research-activity-panel.tsx", "scroll-rounded rounded-xl"],
- ["features/rag/components/knowledge-base-dialog.tsx", "scroll-rounded rounded-md border"],
+ ["features/rag/components/knowledge-base-dialog.tsx", "scroll-rounded rounded-xl border"],
["components/tauri/log-details.tsx", "scroll-rounded rounded-lg"],
] as const) {
assert.ok(readSrc(file).includes(needle), `${file}: ${needle}`);
@@ -59,7 +59,7 @@ test("dialogs and inline rounded scrollers use it", () => {
test("command dialogs keep their shadow in Firefox", () => {
const command = readSrc("components/ui/command.tsx");
- assert.match(command, /rounded-4xl! max-sm:rounded-none! top-1\/3 translate-y-0 overflow-hidden p-0/);
+ assert.match(command, /rounded-3xl! max-sm:rounded-none! top-1\/3 translate-y-0 overflow-hidden p-0/);
const search = readSrc("features/chat/components/chat-search-dialog.tsx");
assert.match(search, /<CommandDialog[\s\S]*className="chat-search-surface /);
assert.doesNotMatch(search, /className="chat-search-surface [^"]*overflow-(y-)?(auto|scroll)/);
@@ -69,7 +69,7 @@ test("recipe dialogs scroll an inner viewport, keeping their shadow", () => {
const shared = readSrc("features/recipe-studio/dialogs/shared/recipe-dialog-content.tsx");
assert.match(shared, /overlayClassName="bg-transparent"/);
assert.match(shared, /"corner-squircle flex max-h-\[[^"]*\] flex-col overflow-hidden p-0 sm:max-w-2xl shadow-border"/);
- assert.match(shared, /"grid min-h-0 gap-6 overflow-y-auto overflow-x-hidden scroll-rounded rounded-4xl px-7 pt-8 pb-7"/);
+ assert.match(shared, /"grid min-h-0 gap-6 overflow-y-auto overflow-x-hidden scroll-rounded rounded-3xl px-7 pt-8 pb-7"/);
for (const file of ["config-dialog", "import-dialog", "processors-dialog", "preview-dialog"]) {
const source = readSrc(`features/recipe-studio/dialogs/${file}.tsx`);
assert.match(source, /<RecipeDialogContent\b/, file);
@@ -80,12 +80,12 @@ test("recipe dialogs scroll an inner viewport, keeping their shadow", () => {
test("shadowed menus scroll an inner viewport, not their rounded surface", () => {
const contextMenu = readSrc("components/ui/context-menu.tsx");
assert.equal(contextMenu.match(/data-slot="context-menu-viewport"/g)?.length, 2);
- assert.doesNotMatch(contextMenu, /rounded-2xl p-1 shadow-2xl[^"]*overflow-y-auto/);
+ assert.doesNotMatch(contextMenu, /rounded-xl [^"]*shadow-2xl[^"]*overflow-y-auto/);
const thread = readSrc("components/assistant-ui/thread.tsx");
- assert.match(thread, /aui-action-bar-more-content[^"]*flex flex-col overflow-hidden rounded-\[21px\]/);
+ assert.match(thread, /aui-action-bar-more-content[^"]*flex flex-col overflow-hidden rounded-xl/);
const preview = readSrc("features/recipe-studio/dialogs/preview-dialog.tsx");
- assert.match(preview, /overflow-hidden rounded-2xl border border-destructive\/30 bg-destructive\/5 py-3 shadow-border">\s*<div className="max-h-38 space-y-2 overflow-y-auto px-4 py-1">/);
- assert.doesNotMatch(preview, /scroll-rounded rounded-2xl border border-destructive/);
+ assert.match(preview, /overflow-hidden rounded-lg border border-destructive\/30 bg-destructive\/5 py-3 shadow-border">\s*<div className="max-h-38 space-y-2 overflow-y-auto px-4 py-1">/);
+ assert.doesNotMatch(preview, /scroll-rounded rounded-(lg|xl) border border-destructive/);
const presets = readSrc("features/generation-presets/media-generation-preset-control.tsx");
assert.match(presets, /gap-0 overflow-hidden rounded-xl border-border\/70 p-0 shadow-xl/);
assert.match(presets, /max-h-48 min-h-0 overflow-y-auto overscroll-contain p-2/);
diff --git a/studio/frontend/tests/hub-uploader-filter.test.ts b/studio/frontend/tests/hub-uploader-filter.test.ts
index 4de691090c9..c6eda37fbc0 100644
--- a/studio/frontend/tests/hub-uploader-filter.test.ts
+++ b/studio/frontend/tests/hub-uploader-filter.test.ts
@@ -36,7 +36,7 @@ test("the range notes are hover tooltips beside Parameters and Context length",
test("the Hub's menus take the composer + menu's shape", () => {
const css = readSrc("features/hub/hub.css");
- assert.match(css, /\.hub-composer-menu\[data-slot\] \{\s*border-radius: 21px !important;/);
+ assert.match(css, /\.hub-composer-menu\[data-slot\] \{\s*border-radius: var\(--radius-xl\) !important;/);
assert.match(readSrc("features/hub/catalog/hub-option-menu.tsx"), /hub-composer-menu/);
assert.match(popover, /hub-composer-menu/);
assert.match(popover, /<div aria-hidden=\{true\} className="mx-3 h-px shrink-0 bg-border" \/>/);
diff --git a/studio/frontend/tests/igpu-carveout-toast.test.ts b/studio/frontend/tests/igpu-carveout-toast.test.ts
index 4b833c770f2..411a50bcd70 100644
--- a/studio/frontend/tests/igpu-carveout-toast.test.ts
+++ b/studio/frontend/tests/igpu-carveout-toast.test.ts
@@ -66,7 +66,7 @@ test("the action is styled down from sonner's filled default", () => {
?.actionButton;
assert.equal(classes, IGPU_CARVEOUT_ACTION_CLASS);
assert.match(classes ?? "", /!justify-self-end/);
- assert.match(classes ?? "", /!bg-transparent/);
+ assert.match(classes ?? "", /!border-0/);
});
test("a second load replaces the notice rather than stacking one over it", () => {
diff --git a/studio/frontend/tests/projects-page-rows.test.ts b/studio/frontend/tests/projects-page-rows.test.ts
index b4e5b708717..f5d7b3e5f9e 100644
--- a/studio/frontend/tests/projects-page-rows.test.ts
+++ b/studio/frontend/tests/projects-page-rows.test.ts
@@ -276,10 +276,10 @@ test("a row is a container, and each of its controls is its own button", () => {
}
assert.match(
PAGE,
- /className="group\/project-row relative flex items-center gap-3 rounded-xl px-5 py-4 text-left transition-colors duration-150 hover:bg-muted\/70 dark:hover:bg-\[rgb\(255_255_255_\/_calc\(0\.055\*var\(--contrast-wash-gain,1\)\)\)\]"/,
+ /className="group\/project-row relative flex items-center gap-3 rounded-md px-5 py-4 text-left transition-colors duration-150 hover:bg-muted\/70 dark:hover:bg-\[rgb\(255_255_255_\/_calc\(0\.055\*var\(--contrast-wash-gain,1\)\)\)\]"/,
);
assert.match(
PAGE,
- /className="group\/chat-row flex items-center gap-3 rounded-xl py-1\.5 pl-2 pr-5 text-left text-sm/,
+ /className="group\/chat-row flex items-center gap-3 rounded-full py-1\.5 pl-2 pr-5 text-left text-sm/,
);
});
diff --git a/studio/frontend/tests/settings-code-boxes.test.ts b/studio/frontend/tests/settings-code-boxes.test.ts
index 4973bc394b5..3e4c9595885 100644
--- a/studio/frontend/tests/settings-code-boxes.test.ts
+++ b/studio/frontend/tests/settings-code-boxes.test.ts
@@ -21,7 +21,7 @@ const highlightedCode = USAGE.slice(
);
test("command boxes wrap long commands instead of scrolling under the copy button", () => {
- const pre = commandBlock.match(/<pre className="([^"]+)"/)?.[1] ?? "";
+ const pre = commandBlock.match(/<pre\s[^>]*?className="([^"]+)"/)?.[1] ?? "";
const code = commandBlock.match(/<code className="([^"]+)"/)?.[1] ?? "";
assert.doesNotMatch(pre, /overflow-x-auto/);
assert.match(pre, /\bpr-11\b/);
diff --git a/studio/frontend/tests/skills-dialog-edge-scrollbar.test.ts b/studio/frontend/tests/skills-dialog-edge-scrollbar.test.ts
index 3afb5bab82e..393238d1c82 100644
--- a/studio/frontend/tests/skills-dialog-edge-scrollbar.test.ts
+++ b/studio/frontend/tests/skills-dialog-edge-scrollbar.test.ts
@@ -12,7 +12,7 @@ const DIALOG = await readFile(
const DIALOG_UI = await readFile(new URL("../src/components/ui/dialog.tsx", import.meta.url), "utf8");
test("the Skills list and editor scroll on the dialog's right edge", () => {
- assert.match(DIALOG_UI, /rounded-4xl px-7 pt-8 pb-7/);
+ assert.match(DIALOG_UI, /rounded-3xl px-7 pt-8 pb-7/);
const scrollers = [...DIALOG.matchAll(/className="hover-scrollbar [^"]*"/g)].map((m) => m[0]);
assert.equal(scrollers.length, 2);
for (const scroller of scrollers) {
diff --git a/studio/frontend/tests/titlebar-modal-layering.test.ts b/studio/frontend/tests/titlebar-modal-layering.test.ts
index 7119da0dc63..f45742a4563 100644
--- a/studio/frontend/tests/titlebar-modal-layering.test.ts
+++ b/studio/frontend/tests/titlebar-modal-layering.test.ts
@@ -99,7 +99,7 @@ test("the pinned sidebar edge is drawn with borders, not a box over the chat", (
/right-0[^"]*h-\[calc\(100dvh|h-\[calc\(100dvh[^"]*right-0/,
"a full-height box from the sidebar edge to the window edge covered the chat, so the compositor could not hit-test a wheel and every desktop scroll waited on the main thread",
);
- assert.match(decoration, /pinned && "rounded-tl-\[12px\] border-l"/);
+ assert.match(decoration, /pinned && "rounded-tl-md border-l"/);
assert.match(
decoration,
/className="absolute top-\[12px\] h-\[calc\(100dvh-var\(--studio-custom-titlebar-height\)-12px\)\] w-0 border-l border-sidebar-edge dark:border-transparent"\s*style=\{\{ left: cornerLeft \}\}/,