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: neutral grey tints instead of green ones (#14938)

Michael Hana77db843a8a5
diff --git a/studio/frontend/src/components/advanced-disclosure.tsx b/studio/frontend/src/components/advanced-disclosure.tsx
index de307836318..99d424dba40 100644
--- a/studio/frontend/src/components/advanced-disclosure.tsx
+++ b/studio/frontend/src/components/advanced-disclosure.tsx
@@ -1,11 +1,11 @@
// 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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import type { ReactNode } from "react";
import { Settings02Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { ChevronDown } from "lucide-react";
import { cn } from "@/lib/utils";
@@ -45,7 +45,8 @@ export function AdvancedDisclosure({
<span className="min-w-0 flex-1 text-ui-13 font-medium leading-[1.25] tracking-nav text-foreground">
Advanced
</span>
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn(
"size-4 shrink-0 text-muted-foreground transition-transform",
open && "rotate-180",
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index f5530df8c5e..41f4d3453c0 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import {
Sidebar,
SidebarContent,
@@ -151,7 +152,7 @@ import {
} from "@/components/ui/tooltip";
import { Tooltip as TooltipPrimitive } from "radix-ui";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
-import { ArrowRightIcon, ChevronDown, Copy, GitBranchIcon, Moon } from "lucide-react";
+import { ArrowRightIcon, Copy, GitBranchIcon, Moon } from "lucide-react";
import { ForkIcon } from "@/lib/fork-icon";
import {
Link,
@@ -401,7 +402,7 @@ const SELECT_WITH_META =
// zoom or UI scale instead of rounding differently per row.
// DROP_CUE_CLASS: the carried row's copy covers the spot it is aimed at, so the drag draws each
// cue's border again above it.
-const DROP_CUE_BASE = `${DROP_CUE_CLASS} before:pointer-events-none before:absolute before:inset-x-2 before:z-10 before:h-0 before:border-t-[1.5px] before:border-primary before:content-['']`;
+const DROP_CUE_BASE = `${DROP_CUE_CLASS} before:pointer-events-none before:absolute before:inset-x-2 before:z-10 before:h-0 before:border-t-[1.5px] before:border-foreground before:content-['']`;
const DROP_CUE_TOP = `${DROP_CUE_BASE} before:top-0`;
// bottom-px: on the last row, DROP_ROW_HIT's extra pixel is clipped by the list.
const DROP_CUE_BOTTOM = `${DROP_CUE_BASE} before:bottom-px`;
@@ -410,7 +411,7 @@ const DROP_CUE_BOTTOM = `${DROP_CUE_BASE} before:bottom-px`;
const DROP_CUE_IN_FOLDER = "before:left-[calc(39px*var(--ui-space-scale,1))]";
// A row dropped onto a folder or section joins it, so the whole target is tinted and outlined,
// with the same border as the line. Kept inside the box for the same clipping reason.
-const DROP_INTO_CUE = `${DROP_CUE_CLASS} before:pointer-events-none before:absolute before:inset-x-1 before:inset-y-0 before:rounded-2xl before:bg-primary/8 before:border-[1.5px] before:border-primary before:content-['']`;
+const DROP_INTO_CUE = `${DROP_CUE_CLASS} before:pointer-events-none before:absolute before:inset-x-1 before:inset-y-0 before:rounded-2xl before:bg-wash-8 before:border-[1.5px] before:border-foreground before:content-['']`;
// "Move to": the whole submenu stays inside the window, and each group's list scrolls past about
// seven rows, the next one half showing, so a long list of projects keeps the Sections group, and
// each group's Remove, in reach. No scrollbar: it would take its width out of the rows' right
@@ -424,7 +425,7 @@ const MOVE_TO_LIST =
// Most projects, and most sections, a "Move to" lists: the most recent, so a long list stays light.
const MOVE_TO_MAX = 12;
// Folder rows match their hover pill.
-const DROP_INTO_ROW_CUE = `${DROP_CUE_CLASS} before:pointer-events-none before:absolute before:inset-x-0 before:top-0 before:bottom-px before:rounded-full before:bg-primary/8 before:border-[1.5px] before:border-primary before:content-['']`;
+const DROP_INTO_ROW_CUE = `${DROP_CUE_CLASS} before:pointer-events-none before:absolute before:inset-x-0 before:top-0 before:bottom-px before:rounded-full before:bg-wash-8 before:border-[1.5px] before:border-foreground before:content-['']`;
/** Reports while it is mounted, so a folder row ProgressiveRows has not drawn reads nothing. */
function MountedFolder({
id,
@@ -470,7 +471,7 @@ function landedOrder(
// A closed section has no body to light, so its header takes the tint.
const DROP_INTO_HEADER_CUE =
- "rounded-full bg-primary/8 outline-solid outline-[length:1.5px] outline-primary -outline-offset-[1.5px]";
+ "rounded-full bg-wash-8 outline-solid outline-[length:1.5px] outline-foreground -outline-offset-[1.5px]";
// The sort a list is on and its setter: a reorder switches a sorted list to Manual, or the
// sort would undo the drop.
@@ -836,7 +837,8 @@ function MediaNavDisclosure({
)}
>
<span className="sidebar-row-action-glyph">
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn(
"size-3.5 transition-transform duration-200",
!expanded && "-rotate-90",
@@ -4684,7 +4686,7 @@ export function AppSidebar() {
>
<CollapsibleTrigger className="cursor-pointer flex min-w-0 flex-1 items-center gap-1 group/sb-collap">
Pinned
- <ChevronDown className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
</CollapsibleTrigger>
{/* Pinning is the grouping, so no organize half and no "+". */}
{renderSidebarHeaderMenu({
@@ -4822,7 +4824,7 @@ export function AppSidebar() {
>
<CollapsibleTrigger className="cursor-pointer flex min-w-0 flex-1 items-center gap-1 group/sb-collap">
<span className="min-w-0 truncate">{section.name}</span>
- <ChevronDown className="size-3.5 shrink-0 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 shrink-0 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
</CollapsibleTrigger>
{/* As Recents has, a chat started here is filed here. */}
<button
@@ -4944,7 +4946,7 @@ export function AppSidebar() {
>
<CollapsibleTrigger className="cursor-pointer flex min-w-0 flex-1 items-center gap-1 group/sb-collap">
{t("shell.navigation.projects")}
- <ChevronDown className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
</CollapsibleTrigger>
<button
type="button"
@@ -6465,7 +6467,7 @@ export function AppSidebar() {
>
<CollapsibleTrigger className="cursor-pointer flex min-w-0 flex-1 items-center gap-1 group/sb-collap">
{t("shell.navigation.recents")}
- <ChevronDown className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
</CollapsibleTrigger>
{/* Starts a chat outside any project, whatever page is open. */}
<button
@@ -6543,7 +6545,7 @@ export function AppSidebar() {
<SidebarGroupLabel className={cn("sidebar-sticky-label sidebar-sticky-label-following", headerInset, scrolled && "is-scrolled")} asChild>
<CollapsibleTrigger className="cursor-pointer flex w-full items-center gap-1 group/sb-collap">
{t("shell.navigation.recents")}
- <ChevronDown className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 opacity-0 transition-[transform,opacity] duration-200 group-hover/sb-section:opacity-100 group-hover/sb-collap:opacity-100 group-focus-visible/sb-collap:opacity-100 data-[state=open]:rotate-0 [[data-state=closed]_&]:rotate-[-90deg] [[data-state=closed]_&]:opacity-100" />
</CollapsibleTrigger>
</SidebarGroupLabel>
<CollapsibleContent>
diff --git a/studio/frontend/src/components/assistant-ui/attachment.tsx b/studio/frontend/src/components/assistant-ui/attachment.tsx
index 4b2eaf751d4..985c4c6f021 100644
--- a/studio/frontend/src/components/assistant-ui/attachment.tsx
+++ b/studio/frontend/src/components/assistant-ui/attachment.tsx
@@ -4,6 +4,7 @@
"use client";
// Avatar removed — caused circular crop on image thumbnails
+import { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import {
AttachmentCardPreview,
attachmentPreview,
@@ -60,7 +61,7 @@ import {
TextAlignLeft01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { ChevronRightIcon, PlusIcon, XIcon } from "lucide-react";
+import { PlusIcon, XIcon } from "lucide-react";
import {
createContext,
type FC,
@@ -432,7 +433,7 @@ const PastedTextAttachmentUI: FC<{
{canInline ? (
<span className="hidden items-center gap-0.5 underline underline-offset-2 group-hover:inline-flex">
Show in text field
- <ChevronRightIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3" />
</span>
) : null}
</span>
diff --git a/studio/frontend/src/components/assistant-ui/markdown-text.tsx b/studio/frontend/src/components/assistant-ui/markdown-text.tsx
index efd0cdb7533..0ad3ec32b95 100644
--- a/studio/frontend/src/components/assistant-ui/markdown-text.tsx
+++ b/studio/frontend/src/components/assistant-ui/markdown-text.tsx
@@ -355,7 +355,7 @@ const MarkdownImage = memo(function MarkdownImage(props: ComponentProps<"img">)
});
const LINK_CLASS =
- "text-primary underline underline-offset-2 decoration-primary/40 hover:decoration-primary transition-colors cursor-pointer";
+ "text-foreground underline underline-offset-2 decoration-foreground/40 hover:decoration-foreground transition-colors cursor-pointer";
/** A link in an answer; a file the chat's tools wrote opens the file rather than routing the app to its path. */
function MarkdownLink({ href, children, ...props }: ComponentProps<"a">) {
diff --git a/studio/frontend/src/components/assistant-ui/reasoning.tsx b/studio/frontend/src/components/assistant-ui/reasoning.tsx
index 9d4a08fb5fa..f0368dcf5ca 100644
--- a/studio/frontend/src/components/assistant-ui/reasoning.tsx
+++ b/studio/frontend/src/components/assistant-ui/reasoning.tsx
@@ -5,6 +5,7 @@
/* eslint-disable react-refresh/only-export-components */
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { CodeHighlightModeContext } from "@/components/assistant-ui/code-highlight-context";
import {
MarkdownText,
@@ -65,7 +66,6 @@ import {
} from "@assistant-ui/react";
import { copyToClipboard } from "@/lib/copy-to-clipboard";
import { type VariantProps, cva } from "class-variance-authority";
-import { ChevronDownIcon } from "lucide-react";
import { Tick02Icon } from "@/lib/tick-icon";
import { Copy01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -246,7 +246,8 @@ function ReasoningTrigger({
{foldedSummary}
</span>
) : null}
- <ChevronDownIcon
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
data-slot="reasoning-trigger-chevron"
className={cn(
"aui-reasoning-trigger-chevron size-3.5 shrink-0",
@@ -611,7 +612,8 @@ function ReasoningTail({
className="mt-2 inline-flex cursor-pointer items-center gap-1.5 font-medium text-muted-foreground text-xs transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
{expanded ? "Collapse thinking" : "Expand thinking"}
- <ChevronDownIcon
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
aria-hidden={true}
className={cn(
"size-3.5 shrink-0 transition-transform duration-200 ease-out",
diff --git a/studio/frontend/src/components/assistant-ui/search-image.tsx b/studio/frontend/src/components/assistant-ui/search-image.tsx
index e2969018520..0312233b774 100644
--- a/studio/frontend/src/components/assistant-ui/search-image.tsx
+++ b/studio/frontend/src/components/assistant-ui/search-image.tsx
@@ -166,7 +166,7 @@ export function SearchImageThumb({
);
}}
className={cn(
- "group inline-flex shrink-0 flex-col overflow-hidden rounded-lg border border-border bg-muted/40 text-left no-underline transition-colors hover:border-primary/50",
+ "group inline-flex shrink-0 flex-col overflow-hidden rounded-lg border border-border bg-muted/40 text-left no-underline transition-colors hover:border-wash-50",
size === "card" ? "max-w-[320px]" : "size-16",
className,
)}
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index a13ff26fb17..49956beb174 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { createPortal } from "react-dom";
import {
canQueueTextAttachment,
@@ -438,7 +439,6 @@ import { useNavigate } from "@tanstack/react-router";
import {
ArrowDownIcon,
ArrowUpIcon,
- ChevronDownIcon,
Columns2Icon,
SlidersHorizontalIcon,
HeadphonesIcon,
@@ -2030,8 +2030,7 @@ const ForkContinuationRule: FC = () => {
}}
className={cn(
labelClass,
- // An answer link's colour, underlined on hover only.
- "cursor-pointer rounded-sm text-primary underline decoration-transparent underline-offset-2 transition-colors hover:decoration-primary focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2",
+ "cursor-pointer rounded-sm text-foreground underline decoration-foreground/40 underline-offset-2 transition-colors hover:decoration-foreground focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2",
)}
>
{label}
@@ -6511,7 +6510,7 @@ const ReasoningToggle: FC<{ side?: "top" | "bottom" }> = ({
{isEffort ? `Thinking · ${effortLabel}` : "Thinking"}
</span>
) : null}
- <ChevronDownIcon strokeWidth={1.5} className="unsloth-thinking-caret size-[calc(15px*var(--ui-space-scale,1))]" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={1.5} className="unsloth-thinking-caret size-[calc(15px*var(--ui-space-scale,1))]" />
</button>
)}
>
@@ -7740,7 +7739,7 @@ const ComposerRightControls: FC<{
}
side="bottom"
type="submit"
- variant="default"
+ variant="primary"
size="icon"
// Stay clickable while docs index so a click can queue the send;
// disabled only once a send is parked.
@@ -7764,7 +7763,7 @@ const ComposerRightControls: FC<{
tooltip="Resume queue"
side="bottom"
type="button"
- variant="default"
+ variant="primary"
size="icon"
onClick={onResumeClick}
className="aui-composer-send ml-1.5 size-9 rounded-full"
@@ -7776,7 +7775,7 @@ const ComposerRightControls: FC<{
) : queueEntry?.dispatched && !queueEntry.paused ? (
<Button
type="button"
- variant="default"
+ variant="primary"
size="icon"
className="aui-composer-cancel ml-1.5 size-9 rounded-full"
aria-label="Stop queued message"
@@ -7789,7 +7788,7 @@ const ComposerRightControls: FC<{
tooltip={followUpTooltip}
side="bottom"
type="button"
- variant="default"
+ variant="primary"
size="icon"
disabled={disabled || queueDisabled}
onClick={onQueueClick}
@@ -7804,7 +7803,7 @@ const ComposerRightControls: FC<{
{isResearchActive ? (
<Button
type="button"
- variant="default"
+ variant="primary"
size="icon"
className="aui-composer-cancel ml-1.5 size-9 rounded-full"
aria-label={researchStopping ? "Stopping research" : "Stop research"}
@@ -7825,7 +7824,7 @@ const ComposerRightControls: FC<{
<ComposerPrimitive.Cancel asChild={true}>
<Button
type="button"
- variant="default"
+ variant="primary"
size="icon"
className="aui-composer-cancel size-9 rounded-full"
aria-label="Stop generating"
@@ -7841,7 +7840,7 @@ const ComposerRightControls: FC<{
tooltip={followUpTooltip}
side="bottom"
type="button"
- variant="default"
+ variant="primary"
size="icon"
onClick={onQueueClick}
className="aui-composer-send size-9 rounded-full"
@@ -8373,8 +8372,8 @@ const DiffusionCanvas: FC = () => {
const stepLabel =
canvas.total > 0 ? `step ${canvas.step + 1}/${canvas.total}` : "denoising";
return (
- <div className="aui-diffusion-canvas my-1.5 overflow-hidden rounded-lg border border-primary/20 bg-primary/[0.03]">
- <div className="flex items-center gap-2 border-b border-primary/10 px-3 py-1.5 text-ui-11 font-medium text-primary/80">
+ <div className="aui-diffusion-canvas my-1.5 overflow-hidden rounded-lg border border-wash-20 bg-wash-3">
+ <div className="flex items-center gap-2 border-b border-wash-10 px-3 py-1.5 text-ui-11 font-medium text-foreground/80">
<span className="inline-block size-1.5 animate-pulse rounded-full bg-primary" />
<span>Denoising</span>
<span className="opacity-60">
diff --git a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
index 38ff9bf0b8e..90484baf484 100644
--- a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
@@ -3,6 +3,8 @@
"use client";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import {
Collapsible,
CollapsibleContent,
@@ -43,7 +45,6 @@ import {
} from "@assistant-ui/react";
import {
AlertCircleIcon,
- ChevronDownIcon,
LoaderIcon,
WrenchIcon,
XCircleIcon,
@@ -270,7 +271,8 @@ function ToolFallbackTrigger({
</span>
)}
</span>
- <ChevronDownIcon
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
data-slot="tool-fallback-trigger-chevron"
className={cn(
"aui-tool-fallback-trigger-chevron mr-1 size-3.5 shrink-0 self-center",
diff --git a/studio/frontend/src/components/assistant-ui/tool-group.tsx b/studio/frontend/src/components/assistant-ui/tool-group.tsx
index 98bb94d7f6b..5a2facbc0b0 100644
--- a/studio/frontend/src/components/assistant-ui/tool-group.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-group.tsx
@@ -1,5 +1,6 @@
"use client";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import {
memo,
useCallback,
@@ -24,7 +25,6 @@ import {
useToolPaneScope,
useUnresolvedToolPaneScope,
} from "@/features/chat/tool-output-scope";
-import { ChevronDownIcon } from "lucide-react";
import { Wrench01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { cva, type VariantProps } from "class-variance-authority";
@@ -207,7 +207,8 @@ function ToolGroupTrigger({
</span>
)}
</span>
- <ChevronDownIcon
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
data-slot="tool-group-trigger-chevron"
className={cn(
"aui-tool-group-trigger-chevron size-3.5 shrink-0",
diff --git a/studio/frontend/src/components/image-dropzone.tsx b/studio/frontend/src/components/image-dropzone.tsx
index 7937ef00d93..8bfc4f6d913 100644
--- a/studio/frontend/src/components/image-dropzone.tsx
+++ b/studio/frontend/src/components/image-dropzone.tsx
@@ -3,7 +3,7 @@
import type React from "react";
import { useCallback, useEffect, useRef, useState } from "react";
-import { Delete02Icon, ImageAdd02Icon, ImageCropIcon } from "@hugeicons/core-free-icons";
+import { Delete02Icon, ImageCropIcon, PlusSignIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { Button } from "@/components/ui/button";
@@ -257,12 +257,12 @@ export function ImageDropzone({
className={cn(
"flex h-28 w-full flex-col items-center justify-center gap-1 rounded-xl border border-dashed text-xs transition-colors",
dragging
- ? "border-primary/60 bg-primary/5 text-foreground"
+ ? "border-wash-30 bg-wash-3 dark:border-wash-60 dark:bg-wash-5 text-foreground"
: "border-border text-muted-foreground hover:border-[color-mix(in_oklab,var(--foreground)_calc(30%*var(--contrast-edge-gain,1)),transparent)] hover:text-foreground",
className,
)}
>
- <HugeiconsIcon icon={ImageAdd02Icon} className="size-5" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-5" />
<span>{label}</span>
<input
ref={inputRef}
diff --git a/studio/frontend/src/components/markdown/inert-components.ts b/studio/frontend/src/components/markdown/inert-components.ts
index b2aec9c4053..3ae4177bba4 100644
--- a/studio/frontend/src/components/markdown/inert-components.ts
+++ b/studio/frontend/src/components/markdown/inert-components.ts
@@ -7,7 +7,7 @@ import { type ComponentProps, createElement } from "react";
/** Links and task checkboxes as plain text, for markdown shown inside another control. */
export const INERT_MARKDOWN_COMPONENTS = {
a: ({ children }: ComponentProps<"a">) =>
- createElement("span", { className: "text-primary underline decoration-primary/40 underline-offset-2" }, children),
+ createElement("span", { className: "text-foreground underline decoration-foreground/40 underline-offset-2" }, children),
input: ({ type, checked }: ComponentProps<"input">) =>
type === "checkbox" ? createElement("span", { "aria-hidden": true }, checked ? "☑ " : "☐ ") : null,
};
diff --git a/studio/frontend/src/components/markdown/markdown-preview.tsx b/studio/frontend/src/components/markdown/markdown-preview.tsx
index ad2552fccb2..ecfadd36974 100644
--- a/studio/frontend/src/components/markdown/markdown-preview.tsx
+++ b/studio/frontend/src/components/markdown/markdown-preview.tsx
@@ -36,7 +36,7 @@ const MARKDOWN_COMPONENTS = {
<a
href={href}
rel="noopener noreferrer"
- className="cursor-pointer text-primary underline decoration-primary/40 underline-offset-2 transition-colors hover:decoration-primary"
+ className="cursor-pointer text-foreground underline decoration-foreground/40 underline-offset-2 transition-colors hover:decoration-foreground"
onClick={(event) => {
if (href && openLink(href)) {
event.preventDefault();
diff --git a/studio/frontend/src/components/media-size-controls.tsx b/studio/frontend/src/components/media-size-controls.tsx
index 84dc05e294d..b4e5a88d1b2 100644
--- a/studio/frontend/src/components/media-size-controls.tsx
+++ b/studio/frontend/src/components/media-size-controls.tsx
@@ -1,9 +1,9 @@
// 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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { ArrowLeftRightIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
-import { ChevronDown } from "lucide-react";
import { type ReactNode, useState } from "react";
import { Button } from "@/components/ui/button";
@@ -189,7 +189,7 @@ export function DimensionSelect({
aria-label={`${label} presets`}
className="-mr-1 shrink-0 cursor-pointer rounded-full p-1 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
- <ChevronDown className="size-4" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-4" />
</DropdownMenuTrigger>
<DropdownMenuContent
align="end"
diff --git a/studio/frontend/src/components/media-viewer.tsx b/studio/frontend/src/components/media-viewer.tsx
index eeddbcf5e68..47e81c67811 100644
--- a/studio/frontend/src/components/media-viewer.tsx
+++ b/studio/frontend/src/components/media-viewer.tsx
@@ -259,7 +259,7 @@ export function MediaViewer({
"flex h-10 shrink-0 cursor-pointer items-center gap-2 rounded-full px-4 text-sm font-medium text-foreground outline-none transition-colors focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default disabled:opacity-50",
FLOATING,
)
- : "mr-1 flex h-9 shrink-0 items-center gap-2 rounded-full bg-foreground px-4 text-sm font-medium text-background outline-none transition-opacity hover:opacity-90 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50"
+ : "mr-1 flex h-9 shrink-0 items-center gap-2 rounded-full bg-action px-4 text-sm font-medium text-background outline-none transition-opacity hover:opacity-90 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50"
}
>
<HugeiconsIcon icon={actions.primary.icon} strokeWidth={1.75} className="size-4" />
diff --git a/studio/frontend/src/components/negative-prompt-field.tsx b/studio/frontend/src/components/negative-prompt-field.tsx
index 0e6f73f231d..762ce1fa510 100644
--- a/studio/frontend/src/components/negative-prompt-field.tsx
+++ b/studio/frontend/src/components/negative-prompt-field.tsx
@@ -1,11 +1,12 @@
// 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 { ChevronDown } from "lucide-react";
import { InfoHint } from "@/components/ui/info-hint";
import { Textarea } from "@/components/ui/textarea";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { cn } from "@/lib/utils";
+import { HugeiconsIcon } from "@hugeicons/react";
/** Collapsible negative prompt, shared by the Images and Video Create panels. */
// Keep normal input below the unload request budget. Restored legacy recipes may be longer, and
@@ -51,7 +52,8 @@ export function NegativePromptField({
onClick={() => onOpenChange(!open)}
className="inline-flex"
>
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn(
"size-3 text-muted-foreground transition-transform",
open && "rotate-180",
diff --git a/studio/frontend/src/components/resource-picker/picker-shell.tsx b/studio/frontend/src/components/resource-picker/picker-shell.tsx
index af3b2e26d66..db887177851 100644
--- a/studio/frontend/src/components/resource-picker/picker-shell.tsx
+++ b/studio/frontend/src/components/resource-picker/picker-shell.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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { Input } from "@/components/ui/input";
import {
Popover,
@@ -15,9 +16,6 @@ import {
FolderSearchIcon,
Search01Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronRightIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import {
type KeyboardEvent,
@@ -384,7 +382,7 @@ export function PickerShell({
data-picker-values={JSON.stringify([activeQuery])}
onClick={onUseThis}
className={cn(
- "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]",
+ "mb-1 flex w-full items-center gap-2 rounded-md border border-dashed border-wash-30 bg-wash-4 px-2.5 py-2 text-left text-ui-12p5 transition-colors hover:bg-wash-8",
PICKER_OPTION_FOCUS_VISIBLE_CLASS,
)}
>
@@ -403,7 +401,8 @@ export function PickerShell({
{useThisLabel}
</span>
</span>
- <ChevronRightIcon
+ <HugeiconsIcon
+ icon={ChevronRightStandardIcon}
strokeWidth={1.5}
className="size-3.5 shrink-0 text-muted-foreground/70"
/>
diff --git a/studio/frontend/src/components/tauri/startup-screen.tsx b/studio/frontend/src/components/tauri/startup-screen.tsx
index 02cbf8a6766..503552e8287 100644
--- a/studio/frontend/src/components/tauri/startup-screen.tsx
+++ b/studio/frontend/src/components/tauri/startup-screen.tsx
@@ -157,6 +157,7 @@ function NotInstalledContent({
To install Unsloth, click Get Started.
</p>
<Button
+ variant="dark"
size="hero"
onClick={getStarted}
disabled={phase === "checking"}
@@ -218,7 +219,7 @@ function LongPathsExplainer({
<Button variant="muted" size="hero" onClick={onSkip}>
Skip
</Button>
- <Button size="hero" onClick={onContinue}>
+ <Button variant="dark" size="hero" onClick={onContinue}>
Continue
</Button>
</div>
@@ -347,7 +348,9 @@ function InstallErrorContent({
<p className="max-w-xs text-center text-xs text-muted-foreground">{error}</p>
)}
<DiagnosticsCopyActions onCopyDiagnostics={onCopyDiagnostics}>
- <Button size="hero" onClick={onRetryInstall}>Try Again</Button>
+ <Button variant="dark" size="hero" onClick={onRetryInstall}>
+ Try Again
+ </Button>
</DiagnosticsCopyActions>
</div>
</>
@@ -376,7 +379,9 @@ function RepairErrorContent({
<p className="max-w-md text-center text-xs text-muted-foreground">{error}</p>
)}
<DiagnosticsCopyActions onCopyDiagnostics={onCopyDiagnostics}>
- <Button size="hero" onClick={onRetry}>Retry</Button>
+ <Button variant="dark" size="hero" onClick={onRetry}>
+ Retry
+ </Button>
</DiagnosticsCopyActions>
</div>
</>
@@ -407,7 +412,7 @@ function NeedsElevationContent({
</div>
<div className="mt-4 flex gap-3">
<Button variant="muted" size="hero" onClick={onRetryInstall}>Cancel</Button>
- <Button size="hero" onClick={onApproveElevation}>Allow</Button>
+ <Button variant="dark" size="hero" onClick={onApproveElevation}>Allow</Button>
</div>
</div>
</>
@@ -438,7 +443,9 @@ function StoppedContent({ onStartServer }: { onStartServer: () => void }) {
<div className="mt-8 flex flex-col items-center gap-2">
<p className="text-sm font-medium text-foreground">Server stopped</p>
<div className="mt-4">
- <Button size="hero" onClick={onStartServer}>Start Server</Button>
+ <Button variant="dark" size="hero" onClick={onStartServer}>
+ Start Server
+ </Button>
</div>
</div>
</>
@@ -463,7 +470,9 @@ function ErrorContent({
<p className="max-w-md text-center text-xs text-muted-foreground">{error}</p>
)}
<DiagnosticsCopyActions onCopyDiagnostics={onCopyDiagnostics}>
- <Button size="hero" onClick={onRetry}>Retry</Button>
+ <Button variant="dark" size="hero" onClick={onRetry}>
+ Retry
+ </Button>
</DiagnosticsCopyActions>
</div>
</>
diff --git a/studio/frontend/src/components/tauri/update-screen.tsx b/studio/frontend/src/components/tauri/update-screen.tsx
index 2c1a98c075d..f988ef99f27 100644
--- a/studio/frontend/src/components/tauri/update-screen.tsx
+++ b/studio/frontend/src/components/tauri/update-screen.tsx
@@ -170,7 +170,7 @@ export function UpdateScreen({
{isError && (
<DiagnosticsCopyActions onCopyDiagnostics={onCopyDiagnostics}>
- <Button size="hero" onClick={onRetry}>
+ <Button variant="dark" size="hero" onClick={onRetry}>
Retry
</Button>
<Button variant="muted" size="hero" onClick={onSkipRestart}>
diff --git a/studio/frontend/src/components/ui/alert-dialog.tsx b/studio/frontend/src/components/ui/alert-dialog.tsx
index f09d459277e..e9efdfa18c3 100644
--- a/studio/frontend/src/components/ui/alert-dialog.tsx
+++ b/studio/frontend/src/components/ui/alert-dialog.tsx
@@ -174,7 +174,7 @@ function AlertDialogDescription({
function AlertDialogAction({
className,
- variant = "default",
+ variant = "dark",
size = "default",
...props
}: React.ComponentProps<typeof AlertDialogPrimitive.Action> &
diff --git a/studio/frontend/src/components/ui/breadcrumb.tsx b/studio/frontend/src/components/ui/breadcrumb.tsx
index 4475da2e9ec..287dcd32c54 100644
--- a/studio/frontend/src/components/ui/breadcrumb.tsx
+++ b/studio/frontend/src/components/ui/breadcrumb.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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { Slot } from "radix-ui";
import type * as React from "react";
@@ -8,9 +9,6 @@ import { cn } from "@/lib/utils";
import {
MoreHorizontalCircle01Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronRightIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
function Breadcrumb({ className, ...props }: React.ComponentProps<"nav">) {
@@ -91,7 +89,7 @@ function BreadcrumbSeparator({
className={cn("[&>svg]:size-3.5", className)}
{...props}
>
- {children ?? <ChevronRightIcon strokeWidth={2} />}
+ {children ?? <HugeiconsIcon icon={ChevronRightStandardIcon} strokeWidth={2} />}
</li>
);
}
diff --git a/studio/frontend/src/components/ui/button.tsx b/studio/frontend/src/components/ui/button.tsx
index b76564d6255..5120efb16f6 100644
--- a/studio/frontend/src/components/ui/button.tsx
+++ b/studio/frontend/src/components/ui/button.tsx
@@ -14,8 +14,9 @@ export const buttonVariants = cva(
{
variants: {
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",
+ default: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
+ dark: "bg-action text-background hover:bg-action/85",
+ primary: "bg-primary text-primary-foreground hover:bg-primary/80",
// Filled, not bordered: a border is reserved for fields and value pickers (`picker`).
outline:
"btn-fill hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground",
@@ -31,7 +32,7 @@ export const buttonVariants = cva(
muted: "bg-muted text-foreground hover:bg-muted/80",
destructive:
"bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30",
- link: "text-primary underline-offset-4 hover:underline",
+ link: "text-foreground underline-offset-4 hover:underline",
},
size: {
default:
diff --git a/studio/frontend/src/components/ui/data-table.tsx b/studio/frontend/src/components/ui/data-table.tsx
index 391007b2e65..f5ac317dc4d 100644
--- a/studio/frontend/src/components/ui/data-table.tsx
+++ b/studio/frontend/src/components/ui/data-table.tsx
@@ -92,7 +92,7 @@ export function DataTable<TData, TValue>({
idx % 2 === 0
? "bg-background"
: "bg-muted/20",
- "hover:bg-primary/[0.03]",
+ "hover:bg-wash-3",
getRowClassName?.(row.original, idx, row.id),
)}
onClick={() => onRowClick?.(row.original, idx, row.id)}
diff --git a/studio/frontend/src/components/ui/field.tsx b/studio/frontend/src/components/ui/field.tsx
index 2a24d1ace70..30d4899d44d 100644
--- a/studio/frontend/src/components/ui/field.tsx
+++ b/studio/frontend/src/components/ui/field.tsx
@@ -107,7 +107,7 @@ function FieldLabel({
<Label
data-slot="field-label"
className={cn(
- "has-data-checked:bg-primary/5 has-data-checked:border-ring-strong dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-xl has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4 group/field-label peer/field-label flex w-fit leading-snug",
+ "has-data-checked:bg-wash-5 has-data-checked:border-ring-strong dark:has-data-checked:bg-wash-10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-xl has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4 group/field-label peer/field-label flex w-fit leading-snug",
"has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
className,
)}
diff --git a/studio/frontend/src/components/ui/pagination.tsx b/studio/frontend/src/components/ui/pagination.tsx
index a3c98e82b99..f2f4662e2a6 100644
--- a/studio/frontend/src/components/ui/pagination.tsx
+++ b/studio/frontend/src/components/ui/pagination.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 { ChevronLeftStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
import type * as React from "react";
import { Button } from "@/components/ui/button";
@@ -8,10 +9,6 @@ import { cn } from "@/lib/utils";
import {
MoreHorizontalCircle01Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronLeftIcon,
- ChevronRightIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
function Pagination({ className, ...props }: React.ComponentProps<"nav">) {
@@ -81,7 +78,7 @@ function PaginationPrevious({
className={cn("pl-2!", className)}
{...props}
>
- <ChevronLeftIcon
+ <HugeiconsIcon icon={ChevronLeftStandardIcon}
strokeWidth={2}
data-icon="inline-start"
/>
@@ -102,7 +99,7 @@ function PaginationNext({
{...props}
>
<span className="hidden sm:block">Next</span>
- <ChevronRightIcon
+ <HugeiconsIcon icon={ChevronRightStandardIcon}
strokeWidth={2}
data-icon="inline-end"
/>
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 f4349952b24..5515beba759 100644
--- a/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
+++ b/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
@@ -49,9 +49,9 @@ import {
CursorPointer02Icon,
Delete02Icon,
FlashIcon,
- Key01Icon,
PauseIcon,
PlayIcon,
+ PlusSignIcon,
Refresh01Icon,
RemoveCircleIcon,
Search01Icon,
@@ -885,7 +885,7 @@ function QuickStart({
onClick={openApiSettings}
className="h-8 gap-1.5 rounded-full"
>
- <HugeiconsIcon icon={Key01Icon} strokeWidth={1.75} className="size-4" />
+ <HugeiconsIcon icon={PlusSignIcon} strokeWidth={1.75} className="size-4" />
Create an API key and see more examples
</Button>
</div>
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 664a33186d6..dabd89cd6f9 100644
--- a/studio/frontend/src/features/audio/components/audio-source-input.tsx
+++ b/studio/frontend/src/features/audio/components/audio-source-input.tsx
@@ -14,8 +14,8 @@ import {
Alert02Icon,
Cancel01Icon,
Mic01Icon,
+ PlusSignIcon,
StopIcon,
- Upload04Icon,
} from "@hugeicons/core-free-icons";
import { AiSpeechIcon } from "@/lib/hugeicons-derived";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -269,6 +269,7 @@ export function AudioSourceInput({
fileRef.current?.click();
}}
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add it again
</Button>
</div>
@@ -390,7 +391,7 @@ export function AudioSourceInput({
onClick={() => fileRef.current?.click()}
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" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-5" />
<span>Drop an audio file here, or choose one</span>
{hint ? <span className="text-ui-11p5">{hint}</span> : null}
</button>
diff --git a/studio/frontend/src/features/audio/components/stem-mixer.tsx b/studio/frontend/src/features/audio/components/stem-mixer.tsx
index 7371017f75f..afbc04fe1fa 100644
--- a/studio/frontend/src/features/audio/components/stem-mixer.tsx
+++ b/studio/frontend/src/features/audio/components/stem-mixer.tsx
@@ -12,9 +12,9 @@ import {
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
import { Slider } from "@/components/ui/slider";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { cn } from "@/lib/utils";
import {
- ArrowDown01Icon,
Download01Icon,
HeadphonesIcon,
PauseIcon,
@@ -182,7 +182,7 @@ export function StemMixer({
/>
Send to
<HugeiconsIcon
- icon={ArrowDown01Icon}
+ icon={ChevronDownStandardIcon}
strokeWidth={1.75}
data-icon="inline-end"
/>
@@ -256,7 +256,7 @@ export function StemMixer({
size="icon-xs"
aria-label={`Solo ${stem.label}`}
aria-pressed={level.solo}
- className="size-[calc(24px*var(--ui-space-scale,1))] text-muted-foreground aria-pressed:bg-foreground aria-pressed:text-background"
+ className="size-[calc(24px*var(--ui-space-scale,1))] text-muted-foreground aria-pressed:bg-action aria-pressed:text-background"
onClick={() =>
dispatch({ type: "toggleSolo", role: stem.role })
}
@@ -269,7 +269,7 @@ export function StemMixer({
size="icon-xs"
aria-label={`Mute ${stem.label}`}
aria-pressed={level.muted}
- className="size-[calc(24px*var(--ui-space-scale,1))] text-muted-foreground aria-pressed:bg-foreground aria-pressed:text-background"
+ className="size-[calc(24px*var(--ui-space-scale,1))] text-muted-foreground aria-pressed:bg-action aria-pressed:text-background"
onClick={() =>
dispatch({ type: "toggleMute", role: stem.role })
}
diff --git a/studio/frontend/src/features/audio/components/variation-history.tsx b/studio/frontend/src/features/audio/components/variation-history.tsx
index 515a33e5484..68e1a12da9d 100644
--- a/studio/frontend/src/features/audio/components/variation-history.tsx
+++ b/studio/frontend/src/features/audio/components/variation-history.tsx
@@ -1,8 +1,8 @@
// 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 { ChevronDownStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { cn } from "@/lib/utils";
-import { ArrowDown01Icon, ArrowRight01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import type { AudioGalleryClip } from "../api";
import { audioModelLabel, formatClipDuration } from "../audio-workspace-utils";
@@ -32,7 +32,7 @@ export function VariationGroupRow({
)}
>
<HugeiconsIcon
- icon={open ? ArrowDown01Icon : ArrowRight01Icon}
+ icon={open ? ChevronDownStandardIcon : ChevronRightStandardIcon}
className="size-3.5 shrink-0 text-muted-foreground"
/>
<span className="min-w-0 flex-1 truncate">{first.prompt}</span>
@@ -82,7 +82,7 @@ export function VariationChips({
className={cn(
"flex size-[calc(24px*var(--ui-space-scale,1))] items-center justify-center rounded-full font-mono text-ui-11p5 tabular-nums transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
current
- ? "bg-foreground text-background"
+ ? "bg-action text-background"
: "bg-muted text-muted-foreground hover:text-foreground",
)}
>
diff --git a/studio/frontend/src/features/audio/pages/transcribe-page.tsx b/studio/frontend/src/features/audio/pages/transcribe-page.tsx
index a86b7341266..3880c78888c 100644
--- a/studio/frontend/src/features/audio/pages/transcribe-page.tsx
+++ b/studio/frontend/src/features/audio/pages/transcribe-page.tsx
@@ -482,7 +482,7 @@ export function TranscribeFooter({
className="relative z-10 mx-auto h-11 px-8 disabled:bg-muted disabled:text-muted-foreground disabled:opacity-100"
onClick={running ? onStop : onTranscribe}
disabled={running ? stopping : busy !== null || blocker !== null}
- variant={running ? "destructive" : "default"}
+ variant={running ? "destructive" : "dark"}
aria-describedby={
blocker
? "transcribe-blocker"
diff --git a/studio/frontend/src/features/audio/pages/tts-workspace.tsx b/studio/frontend/src/features/audio/pages/tts-workspace.tsx
index 2ba49f501fc..e4e3a4b7a62 100644
--- a/studio/frontend/src/features/audio/pages/tts-workspace.tsx
+++ b/studio/frontend/src/features/audio/pages/tts-workspace.tsx
@@ -391,7 +391,7 @@ export function TtsFooter({
(musicNeedsDescription && !audioInstructions.trim()) ||
blocker !== null
}
- variant={generationPresentation ? "outline" : "default"}
+ variant={generationPresentation ? "outline" : "dark"}
aria-describedby={blocker ? "audio-generate-blocker" : undefined}
aria-keyshortcuts="Control+Enter Meta+Enter"
title={
diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsx
index 70c18014d22..fa381622803 100644
--- a/studio/frontend/src/features/auth/components/auth-form.tsx
+++ b/studio/frontend/src/features/auth/components/auth-form.tsx
@@ -554,6 +554,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
)}
<Button
+ variant="dark"
type="submit"
className="mx-auto flex w-fit px-4"
disabled={
diff --git a/studio/frontend/src/features/browser/agent/agent-bar.tsx b/studio/frontend/src/features/browser/agent/agent-bar.tsx
index 941dc24313c..6230948f129 100644
--- a/studio/frontend/src/features/browser/agent/agent-bar.tsx
+++ b/studio/frontend/src/features/browser/agent/agent-bar.tsx
@@ -22,7 +22,7 @@ export function AgentBar({ activeTabId }: { activeTabId: string | null }) {
<div
role={question ? "alertdialog" : "status"}
aria-live="polite"
- className="flex shrink-0 flex-wrap items-center gap-2 border-t border-border/70 bg-primary/5 px-3 py-1.5 text-ui-12"
+ className="flex shrink-0 flex-wrap items-center gap-2 border-t border-border/70 bg-wash-5 px-3 py-1.5 text-ui-12"
>
{question ? null : <Spinner className="size-3.5 text-primary" />}
<div className="min-w-0 flex-[1_1_12rem]">
diff --git a/studio/frontend/src/features/browser/annotate-layer.tsx b/studio/frontend/src/features/browser/annotate-layer.tsx
index 9ce0d14f0a7..4e95d2da758 100644
--- a/studio/frontend/src/features/browser/annotate-layer.tsx
+++ b/studio/frontend/src/features/browser/annotate-layer.tsx
@@ -685,7 +685,7 @@ export function AnnotateLayer({
{shownHover ? (
<div
className={cn(
- "absolute rounded-md border-[1.5px] border-primary/70 transition-[left,top,width,height,opacity] duration-150 ease-out group-data-[scrolling]/annotate:transition-none motion-reduce:transition-none",
+ "absolute rounded-md border-[1.5px] border-wash-70 transition-[left,top,width,height,opacity] duration-150 ease-out group-data-[scrolling]/annotate:transition-none motion-reduce:transition-none",
hoverBox && !area ? "opacity-100" : "opacity-0",
)}
style={shownHover}
@@ -693,7 +693,7 @@ export function AnnotateLayer({
) : null}
{area ? (
<div
- className="absolute rounded-md border-[1.5px] border-dashed border-primary/70 bg-primary/5"
+ className="absolute rounded-md border-[1.5px] border-dashed border-wash-70 bg-wash-5"
style={area}
/>
) : null}
@@ -755,7 +755,7 @@ function Mark({
return (
<>
<div
- className="absolute animate-in rounded-md border-[1.5px] border-dashed border-primary/60 bg-primary/5 fade-in-0 duration-150"
+ className="absolute animate-in rounded-md border-[1.5px] border-dashed border-wash-60 bg-wash-5 fade-in-0 duration-150"
style={box}
/>
<button
@@ -885,7 +885,7 @@ function CommentForm({
type="submit"
aria-label={t("browser.annotate.save")}
title={t("browser.annotate.save")}
- className="flex size-9 shrink-0 animate-in cursor-pointer items-center justify-center rounded-full bg-primary text-primary-foreground transition-opacity fade-in-0 zoom-in-75 duration-150 hover:opacity-90"
+ className="flex size-9 shrink-0 animate-in cursor-pointer items-center justify-center rounded-full bg-action text-background transition-opacity fade-in-0 zoom-in-75 duration-150 hover:opacity-90"
>
<HugeiconsIcon icon={Tick02Icon} strokeWidth={2} className="size-4.5" />
</button>
@@ -997,7 +997,7 @@ function AnnotateBar({
type="button"
onClick={onSend}
disabled={sendDisabled}
- 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"
+ className="h-9 cursor-pointer whitespace-nowrap rounded-full bg-action px-4 font-medium text-background transition-opacity hover:opacity-90 disabled:cursor-default disabled:opacity-50"
>
{t("browser.annotate.send")}
</button>
diff --git a/studio/frontend/src/features/browser/browser-panel.tsx b/studio/frontend/src/features/browser/browser-panel.tsx
index 2a7f2b8485f..3e45e27030a 100644
--- a/studio/frontend/src/features/browser/browser-panel.tsx
+++ b/studio/frontend/src/features/browser/browser-panel.tsx
@@ -57,7 +57,7 @@ import { FIND_SKIP_ATTRIBUTE, requestFind } from "@/features/find-in-page";
import { registerZoomScope } from "@/features/interface-zoom";
import { useLocale, useT } from "@/i18n";
import { isTauri } from "@/lib/api-base";
-import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
+import { ChevronDownStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { asPng, copyToClipboard, copyToClipboardFrom } from "@/lib/copy-to-clipboard";
import { openExternalLink } from "@/lib/open-link";
import { RefreshGlyph } from "@/lib/refresh-icon";
@@ -96,7 +96,6 @@ import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
import {
ArrowLeft,
ArrowRight,
- ChevronRight,
RotateCw,
ShieldCheck,
XIcon,
@@ -949,7 +948,7 @@ function SiteIdentity({ address, tab }: { address: string; tab: BrowserTab | und
<span className="flex-1">
{t(secure ? "browser.siteInfo.secure" : "browser.siteInfo.insecure")}
</span>
- <ChevronRight strokeWidth={2} className="size-4 shrink-0 text-muted-foreground rtl:-scale-x-100" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} strokeWidth={2} className="size-4 shrink-0 text-muted-foreground rtl:-scale-x-100" />
</button>
<button
type="button"
@@ -1434,7 +1433,7 @@ function AnnotatePageButton({ tab }: { tab: BrowserTab | undefined }) {
className={cn(
ANNOTATE_BUTTON,
annotating &&
- "bg-primary/12 text-primary hover:bg-primary/18 hover:text-primary dark:bg-primary/20 dark:hover:bg-primary/25",
+ "bg-wash-12 text-foreground hover:bg-wash-18 hover:text-foreground dark:bg-wash-20 dark:hover:bg-wash-25",
)}
>
<HugeiconsIcon icon={SquareDashedMousePointerIcon} strokeWidth={1.75} className={ANNOTATE_GLYPH} />
@@ -1660,7 +1659,7 @@ function BrowserFileToolbar({
className={cn(
ANNOTATE_BUTTON,
annotating &&
- "bg-primary/12 text-primary hover:bg-primary/18 hover:text-primary dark:bg-primary/20 dark:hover:bg-primary/25",
+ "bg-wash-12 text-foreground hover:bg-wash-18 hover:text-foreground dark:bg-wash-20 dark:hover:bg-wash-25",
)}
>
<HugeiconsIcon
diff --git a/studio/frontend/src/features/browser/downloads-button.tsx b/studio/frontend/src/features/browser/downloads-button.tsx
index e1fe31bbf70..b713412b2c4 100644
--- a/studio/frontend/src/features/browser/downloads-button.tsx
+++ b/studio/frontend/src/features/browser/downloads-button.tsx
@@ -267,7 +267,7 @@ function FinishedNotice({ finished, onDone }: { finished: FinishedDownload; onDo
<button
type="button"
onClick={run(open)}
- className="h-8 cursor-pointer rounded-full bg-foreground px-3.5 text-ui-13 text-background transition-opacity hover:opacity-85"
+ className="h-8 cursor-pointer rounded-full bg-action px-3.5 text-ui-13 text-background transition-opacity hover:opacity-85"
>
{t("browser.downloads.open")}
</button>
diff --git a/studio/frontend/src/features/browser/full-view-chat.tsx b/studio/frontend/src/features/browser/full-view-chat.tsx
index f901701d28a..ff90dc692c1 100644
--- a/studio/frontend/src/features/browser/full-view-chat.tsx
+++ b/studio/frontend/src/features/browser/full-view-chat.tsx
@@ -22,6 +22,7 @@ import {
BubbleChatIcon,
MinusSignIcon,
MoreHorizontalIcon,
+ PlusSignIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useEffect, useRef, useState } from "react";
@@ -95,6 +96,7 @@ export function FullViewChatBar({ title }: { title: string | undefined }) {
onClick={() => setChatDock(expanded ? "composer" : "expanded")}
className="flex h-8 min-w-0 cursor-pointer items-center gap-1.5 rounded-full px-2.5 text-ui-14 text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
+ <HugeiconsIcon icon={PlusSignIcon} className="size-4" />
<span className="min-w-0 truncate">
{title || t("browser.fullView.newChat")}
</span>
diff --git a/studio/frontend/src/features/browser/internal-pages.tsx b/studio/frontend/src/features/browser/internal-pages.tsx
index e7b1300c595..8fd536e164f 100644
--- a/studio/frontend/src/features/browser/internal-pages.tsx
+++ b/studio/frontend/src/features/browser/internal-pages.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 { ChevronDownStandardIcon, ChevronRightStandardIcon, ChevronUpStandardIcon } from "@/lib/chevron-icons";
import { Button } from "@/components/ui/button";
import { Calendar } from "@/components/ui/calendar";
import { Checkbox } from "@/components/ui/checkbox";
@@ -21,9 +22,6 @@ import { Tick02Icon } from "@/lib/tick-icon";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import {
- ArrowDown01Icon,
- ArrowRight01Icon,
- ArrowUp01Icon,
Cancel01Icon,
Delete02Icon,
FilterMailIcon,
@@ -337,7 +335,7 @@ function DayCard({ label, children }: { label: string; children: ReactNode }) {
>
<h2 className="text-ui-14 font-medium text-foreground">{label}</h2>
<HugeiconsIcon
- icon={open ? ArrowUp01Icon : ArrowDown01Icon}
+ icon={open ? ChevronUpStandardIcon : ChevronDownStandardIcon}
strokeWidth={2}
className="size-4 text-muted-foreground"
/>
@@ -358,11 +356,11 @@ function PageCrumbs({ current }: { current: string }) {
<button type="button" className={crumb} onClick={() => openSettings()}>
{t("settings.dialog.title")}
</button>
- <HugeiconsIcon icon={ArrowRight01Icon} strokeWidth={2} className="size-3.5 text-muted-foreground" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} strokeWidth={2} className="size-3.5 text-muted-foreground" />
<button type="button" className={crumb} onClick={() => openSettings("browser")}>
{t("browser.settingsTitle")}
</button>
- <HugeiconsIcon icon={ArrowRight01Icon} strokeWidth={2} className="size-3.5 text-muted-foreground" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} strokeWidth={2} className="size-3.5 text-muted-foreground" />
<span className="text-foreground" aria-current="page">
{current}
</span>
diff --git a/studio/frontend/src/features/browser/new-tab-page.tsx b/studio/frontend/src/features/browser/new-tab-page.tsx
index 3945bc71656..a3fad5ce455 100644
--- a/studio/frontend/src/features/browser/new-tab-page.tsx
+++ b/studio/frontend/src/features/browser/new-tab-page.tsx
@@ -1,11 +1,10 @@
// 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 { ChevronDownStandardIcon, ChevronUpStandardIcon } from "@/lib/chevron-icons";
import { useLocale, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import {
- ArrowDown01Icon,
- ArrowUp01Icon,
Cancel01Icon,
Clock01Icon,
StarIcon,
@@ -306,13 +305,13 @@ export function NewTabPage({ tabId }: { tabId: string }) {
<div className="flex items-center gap-1">
<PageButton
label={t("browser.recentNewer")}
- icon={ArrowUp01Icon}
+ icon={ChevronUpStandardIcon}
disabled={shownPage === 0}
onClick={() => setPage(shownPage - 1)}
/>
<PageButton
label={t("browser.recentOlder")}
- icon={ArrowDown01Icon}
+ icon={ChevronDownStandardIcon}
disabled={shownPage >= pages - 1}
onClick={() => setPage(shownPage + 1)}
/>
diff --git a/studio/frontend/src/features/browser/tab-view.tsx b/studio/frontend/src/features/browser/tab-view.tsx
index d9dde7363ec..adb1823be98 100644
--- a/studio/frontend/src/features/browser/tab-view.tsx
+++ b/studio/frontend/src/features/browser/tab-view.tsx
@@ -287,7 +287,7 @@ function PageError({
<Button type="button" variant={botCheck ? "ghost" : "outline"} size="sm" onClick={onRetry}>
{t("browser.error.retry")}
</Button>
- <Button type="button" variant={botCheck ? "default" : "ghost"} size="sm" onClick={() => openExternalLink(url)}>
+ <Button type="button" variant={botCheck ? "dark" : "ghost"} size="sm" onClick={() => openExternalLink(url)}>
{t("browser.openExternal")}
</Button>
</div>
diff --git a/studio/frontend/src/features/chat/artifacts/html-frame.tsx b/studio/frontend/src/features/chat/artifacts/html-frame.tsx
index be2ee16428b..53f840a0f11 100644
--- a/studio/frontend/src/features/chat/artifacts/html-frame.tsx
+++ b/studio/frontend/src/features/chat/artifacts/html-frame.tsx
@@ -61,7 +61,7 @@ const NOTICE =
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";
-const NOTICE_PRIMARY = `${NOTICE_BUTTON} bg-foreground text-background hover:bg-foreground hover:opacity-90`;
+const NOTICE_PRIMARY = `${NOTICE_BUTTON} bg-action text-background hover:bg-action hover:opacity-90`;
const NOTICE_SECONDARY = `${NOTICE_BUTTON} border-transparent bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] text-foreground hover:bg-[color-mix(in_oklab,var(--foreground)_calc(12%*var(--contrast-wash-gain,1)),transparent)] dark:bg-[color-mix(in_oklab,var(--foreground)_calc(8%*var(--contrast-wash-gain,1)),transparent)] dark:hover:bg-[color-mix(in_oklab,var(--foreground)_calc(12%*var(--contrast-wash-gain,1)),transparent)]`;
const NOTICE_CLOSE =
"size-5 rounded-full bg-popover text-popover-foreground hover:bg-muted hover:text-popover-foreground dark:bg-card dark:hover:bg-muted";
diff --git a/studio/frontend/src/features/chat/blender-mcp-setup.tsx b/studio/frontend/src/features/chat/blender-mcp-setup.tsx
index 0401ae2e7f2..5bfd1ecd51a 100644
--- a/studio/frontend/src/features/chat/blender-mcp-setup.tsx
+++ b/studio/frontend/src/features/chat/blender-mcp-setup.tsx
@@ -1,11 +1,12 @@
// 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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useEffect, useRef, useState } from "react";
import { Button } from "@/components/ui/button";
import { Checkbox } from "@/components/ui/checkbox";
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@/components/ui/collapsible";
-import { ChevronDown } from "lucide-react";
import { openLink } from "@/lib/open-link";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
@@ -165,7 +166,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
<Collapsible className="border-t pt-3">
<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" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} aria-hidden="true" className="size-4 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180 motion-reduce:transition-none" />
</CollapsibleTrigger>
<CollapsibleContent className="[--duration:200ms] motion-reduce:animate-none">
<div className="space-y-4 pt-4 text-sm leading-relaxed text-muted-foreground">
@@ -184,7 +185,7 @@ export function BlenderMcpSetup({ servers, disabled, onBusyChange }: {
<Collapsible className="border-t pt-3">
<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" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} aria-hidden="true" className="size-4 text-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-180 motion-reduce:transition-none" />
</CollapsibleTrigger>
<CollapsibleContent className="[--duration:200ms] motion-reduce:animate-none">
<div className="space-y-4 pt-4">
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 a7ffdbde3de..7b4d5f368b2 100644
--- a/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
+++ b/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
@@ -1213,7 +1213,7 @@ export function ChatMcpServersDialog({
{importing ? <Spinner /> : <UploadIcon className="size-3.5" />}
Import config
</Button>
- <Button size="sm" onClick={startCreate} disabled={importing}>
+ <Button variant="secondary" size="sm" onClick={startCreate} disabled={importing}>
<HugeiconsIcon icon={PlusSignIcon} className="size-3.5" />
Add server
</Button>
diff --git a/studio/frontend/src/features/chat/chat-page.tsx b/studio/frontend/src/features/chat/chat-page.tsx
index 574a979413b..e29f41bb193 100644
--- a/studio/frontend/src/features/chat/chat-page.tsx
+++ b/studio/frontend/src/features/chat/chat-page.tsx
@@ -2562,6 +2562,7 @@ function ProjectLanding({
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction
+ variant="destructive"
onClick={() => {
const target = confirmingDelete;
const deleteFiles = deleteFilesOnDelete;
@@ -2622,7 +2623,7 @@ function ProjectLanding({
/>
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
- <AlertDialogAction onClick={() => void commitProjectDelete()}>
+ <AlertDialogAction variant="destructive" onClick={() => void commitProjectDelete()}>
{deleteFilesOnDelete ? "Delete all" : "Delete"}
</AlertDialogAction>
</AlertDialogFooter>
diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
index 303182e5c32..74bbb46dd31 100644
--- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx
+++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
@@ -67,7 +67,7 @@ import { cornerInsets, watchChatSettingsInset } from "@/lib/toast-offset";
import { cn } from "@/lib/utils";
import { Edit03Icon, PanelRightIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { Braces, ChevronDown, ExternalLink } from "lucide-react";
+import { Braces, ExternalLink } from "lucide-react";
import { Tooltip as TooltipPrimitive } from "radix-ui";
import { type CSSProperties, Fragment, type ReactNode } from "react";
import {
@@ -371,7 +371,8 @@ function CollapsibleSection({
aria-label={open ? `Collapse ${label}` : `Expand ${label}`}
className="flex shrink-0 cursor-pointer items-center leading-none transition-colors hover:text-nav-fg"
>
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn("size-3.5", open ? "rotate-0" : "-rotate-90")}
/>
</button>
@@ -393,7 +394,8 @@ function CollapsibleSection({
aria-label={open ? `Collapse ${label}` : `Expand ${label}`}
className="flex shrink-0 cursor-pointer items-center leading-none transition-colors hover:text-nav-fg"
>
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn("size-3.5", open ? "rotate-0" : "-rotate-90")}
/>
</button>
@@ -407,7 +409,8 @@ function CollapsibleSection({
>
<span className="leading-none">{label}</span>
<span className="flex shrink-0 items-center leading-none">
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn("size-3.5", open ? "rotate-0" : "-rotate-90")}
/>
</span>
@@ -1293,7 +1296,7 @@ export function ChatSettingsPanel({
className={cn(
"!h-9 min-h-0 min-w-0 self-stretch !pl-3.5 !pr-2 py-0 text-ui-13 font-medium leading-9 text-nav-fg md:text-ui-13",
presetSaveState.isSaveReady &&
- "placeholder:text-primary/50",
+ "placeholder:text-foreground/50",
)}
aria-label="Inference preset name"
/>
@@ -1356,7 +1359,7 @@ export function ChatSettingsPanel({
className={cn(
"h-9 w-auto px-4 rounded-full text-ui-13 font-medium tracking-nav",
presetSaveState.isSaveReady &&
- "bg-primary text-primary-foreground hover:bg-primary/90",
+ "bg-secondary text-secondary-foreground hover:bg-secondary/80",
)}
title={presetSaveState.title}
aria-label={presetSaveState.title}
@@ -1367,7 +1370,7 @@ export function ChatSettingsPanel({
type="button"
onClick={() => deletePreset(activePreset)}
disabled={!(settingsHydrated && activeCustomPreset)}
- variant="outline"
+ variant="destructive"
size="sm"
className="h-9 w-auto px-4 rounded-full text-ui-13 font-medium tracking-nav text-muted-foreground"
title={
@@ -1779,7 +1782,8 @@ export function ChatSettingsPanel({
>
<Braces className="size-3.5" />
Variables
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn(
"size-3.5 transition-transform",
systemVariablesOpen && "rotate-180",
diff --git a/studio/frontend/src/features/chat/components/chat-header-menu.tsx b/studio/frontend/src/features/chat/components/chat-header-menu.tsx
index e22f753d7b1..c8519e13c0c 100644
--- a/studio/frontend/src/features/chat/components/chat-header-menu.tsx
+++ b/studio/frontend/src/features/chat/components/chat-header-menu.tsx
@@ -142,7 +142,7 @@ function TemporaryChatButton({
className={cn(
"flex size-[calc(30px*var(--ui-space-scale,1))] cursor-pointer items-center justify-center rounded-[10px] transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
temporary
- ? "bg-primary/10 text-primary hover:bg-primary/15"
+ ? "bg-wash-10 text-foreground hover:bg-wash-15"
: "text-nav-fg hover:bg-nav-surface-hover hover:text-black dark:hover:text-white",
)}
aria-label={label}
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 89d3aed7d09..024e0d0a6c4 100644
--- a/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
@@ -450,7 +450,7 @@ export function ChatSkillsDialog({
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
- <Button type="button" size="sm" onClick={openNew}>
+ <Button variant="secondary" type="button" size="sm" onClick={openNew}>
<HugeiconsIcon icon={PlusSignIcon} strokeWidth={2} />
{t("skills.newSkill")}
</Button>
@@ -646,7 +646,8 @@ export function ChatSkillsDialog({
<Button type="button" variant="ghost" disabled={creating} onClick={goLibrary}>
{t("common.cancel")}
</Button>
- <Button type="submit" form="skill-new-form" disabled={creating || !canCreate}>
+ <Button variant="secondary" type="submit" form="skill-new-form" disabled={creating || !canCreate}>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
{creating ? <Spinner /> : null}
{t("skills.create")}
</Button>
@@ -655,7 +656,7 @@ export function ChatSkillsDialog({
<>
<Button
type="button"
- variant="ghost"
+ variant="destructive"
disabled={pending !== null}
onClick={() => setConfirmingDelete(selected)}
aria-label={t("skills.delete", { name: selected.name })}
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 7c6f6b93ff2..fab9720120b 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
@@ -313,7 +313,7 @@ export function DeepResearchComposerButton({
<HugeiconsIcon
icon={ChevronDownStandardIcon}
strokeWidth={1.5}
- className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))] text-primary/70"
+ className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))] text-foreground/70"
/>
</button>
);
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 aaf76c151fc..e8986a496cb 100644
--- a/studio/frontend/src/features/chat/components/new-project-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/new-project-dialog.tsx
@@ -287,6 +287,7 @@ export function NewProjectDialog({
Cancel
</Button>
<Button
+ variant="dark"
type="button"
onClick={() => void commitCreate()}
disabled={
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 f46f5147bfc..8dc1ab0558f 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
@@ -467,7 +467,7 @@ export function OpenAICodeExecSection({
key={c.id}
className={`flex items-center gap-2 rounded-md border px-2 py-1.5 text-xs transition-colors ${
isActive
- ? "border-ring-strong bg-primary/5"
+ ? "border-ring-strong bg-wash-5"
: "border-border/60 hover:bg-muted/40"
} ${canActivate ? "cursor-pointer" : ""} ${
running ? "" : "opacity-60"
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 e23da435f23..158ddc9c177 100644
--- a/studio/frontend/src/features/chat/components/research-activity-panel.tsx
+++ b/studio/frontend/src/features/chat/components/research-activity-panel.tsx
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-only
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { Button } from "@/components/ui/button";
import {
Collapsible,
@@ -39,7 +40,6 @@ import {
ArrowDown,
ArrowUp,
Check,
- ChevronDown,
ExternalLink,
Pencil,
Plus,
@@ -367,7 +367,7 @@ const ActivityRow = memo(function ActivityRow({
className={cn(
"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",
+ "bg-wash-5 ring-1 ring-wash-10",
)}
>
{activity.input}
@@ -380,7 +380,7 @@ const ActivityRow = memo(function ActivityRow({
key={`${activity.id}-preview-${index}`}
className="flex gap-2 leading-relaxed"
>
- <span aria-hidden className="text-primary/70">
+ <span aria-hidden className="text-foreground/70">
·
</span>
<span className="min-w-0 break-words text-foreground/80">
@@ -427,7 +427,7 @@ const ActivityRow = memo(function ActivityRow({
className={cn(
activity.kind === "step" &&
activity.state !== "failed" &&
- "font-medium text-primary/75",
+ "font-medium text-foreground/75",
)}
>
{activity.detail}
@@ -489,7 +489,7 @@ const ActivityRow = memo(function ActivityRow({
<div
className={cn(
"relative pl-7 before:absolute before:left-[calc(7px*var(--ui-space-scale,1))] before:top-6 before:h-[calc(100%-12px)] before:w-px before:bg-border last:before:hidden",
- activity.kind === "step" && "before:bg-primary/20",
+ activity.kind === "step" && "before:bg-wash-20",
)}
>
<CollapsibleTrigger
@@ -517,7 +517,7 @@ const ActivityRow = memo(function ActivityRow({
})}
</time>
{hasDetails ? (
- <ChevronDown className="size-3.5 shrink-0 text-muted-foreground transition-transform group-data-[state=open]/activity:rotate-180" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 shrink-0 text-muted-foreground transition-transform group-data-[state=open]/activity:rotate-180" />
) : null}
</CollapsibleTrigger>
{hasDetails ? <CollapsibleContent>{content}</CollapsibleContent> : null}
@@ -584,7 +584,7 @@ function PlanReview({ runId }: { runId: string }): ReactElement | null {
return (
<>
- <section className="mx-4 mt-3 rounded-2xl border border-primary/20 bg-primary/[0.045] p-3">
+ <section className="mx-4 mt-3 rounded-2xl border border-wash-20 bg-wash-5 p-3">
<p className="font-heading text-sm font-medium">Research plan ready</p>
<p className="mt-1 line-clamp-2 break-words text-xs text-muted-foreground">
{run.plan.title}
@@ -767,6 +767,7 @@ function PlanReview({ runId }: { runId: string }): ReactElement | null {
Review later
</Button>
<Button
+ variant="dark"
disabled={
pending ||
!draft.title.trim() ||
@@ -930,7 +931,7 @@ export function ResearchActivityPanel({
</p>
{websiteLimitLabel ? (
<p
- className="mt-1 flex items-center gap-1 text-ui-10p5 font-medium text-primary/75"
+ className="mt-1 flex items-center gap-1 text-ui-10p5 font-medium text-foreground/75"
title={websiteLimitTitle}
>
<InternetGlyph className="size-3" />
diff --git a/studio/frontend/src/features/chat/components/research-message.tsx b/studio/frontend/src/features/chat/components/research-message.tsx
index 1f085759000..bab67c591f7 100644
--- a/studio/frontend/src/features/chat/components/research-message.tsx
+++ b/studio/frontend/src/features/chat/components/research-message.tsx
@@ -189,7 +189,7 @@ export function ResearchMessage(): ReactElement | null {
</p>
<Button
size="sm"
- variant={needsApproval ? "default" : "outline"}
+ variant={needsApproval ? "dark" : "outline"}
className="mt-3"
onClick={() => openResearchRun(run)}
>
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 32ab0b24dc8..48c7271bac5 100644
--- a/studio/frontend/src/features/chat/components/section-name-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/section-name-dialog.tsx
@@ -1,6 +1,8 @@
// 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 { PlusSignIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { useState } from "react";
import { Button } from "@/components/ui/button";
@@ -115,7 +117,8 @@ function SectionNameForm({
<Button type="button" variant="ghost" onClick={onCancel}>
{t("common.cancel")}
</Button>
- <Button type="button" onClick={submit} disabled={!clean || unchanged}>
+ <Button variant="secondary" type="button" onClick={submit} disabled={!clean || unchanged}>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
{mode === "create" ? t("shell.sections.create") : t("common.save")}
</Button>
</DialogFooter>
diff --git a/studio/frontend/src/features/chat/mcp-composer-button.tsx b/studio/frontend/src/features/chat/mcp-composer-button.tsx
index a470bf82731..a3a95baa588 100644
--- a/studio/frontend/src/features/chat/mcp-composer-button.tsx
+++ b/studio/frontend/src/features/chat/mcp-composer-button.tsx
@@ -1,11 +1,11 @@
// 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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { MenuTickIcon } from "@/lib/tick-icon";
import { McpServerIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
- ChevronDownIcon,
XIcon,
} from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
@@ -380,7 +380,7 @@ export function McpComposerButton({
<XIcon className="composer-pill-x" />
</span>
<span>MCP</span>
- <ChevronDownIcon strokeWidth={1.5} className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))]" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={1.5} className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))]" />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent
diff --git a/studio/frontend/src/features/chat/openai-codex-connect.tsx b/studio/frontend/src/features/chat/openai-codex-connect.tsx
index d308d50b68c..74e530ca355 100644
--- a/studio/frontend/src/features/chat/openai-codex-connect.tsx
+++ b/studio/frontend/src/features/chat/openai-codex-connect.tsx
@@ -218,7 +218,7 @@ export function OpenAICodexConnect({
<div className="flex flex-wrap gap-2">
{!connected ? (
<>
- <Button type="button" size="sm" disabled={busy} onClick={() => void start("browser")}>
+ <Button variant="dark" type="button" size="sm" disabled={busy} onClick={() => void start("browser")}>
{authStatus === "reauthorization_required" ? "Reconnect in browser" : "Connect in browser"}
</Button>
<Button type="button" size="sm" variant="outline" disabled={busy} onClick={() => void start("device")}>Use device code</Button>
diff --git a/studio/frontend/src/features/chat/permission-mode-select.tsx b/studio/frontend/src/features/chat/permission-mode-select.tsx
index 3a82e4b25c6..503c4ac26e1 100644
--- a/studio/frontend/src/features/chat/permission-mode-select.tsx
+++ b/studio/frontend/src/features/chat/permission-mode-select.tsx
@@ -1,7 +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 { ChevronDown, Hand, ShieldCheck } from "lucide-react";
+import { Hand, ShieldCheck } from "lucide-react";
import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
import type { ComponentType } from "react";
import { useEffect, useId, useLayoutEffect, useRef, useState } from "react";
@@ -540,7 +540,7 @@ export function PermissionModeDropdown({
<span className="min-w-0 flex-1 truncate text-left">
{active.label}
</span>
- <ChevronDown className="size-3.5 shrink-0 opacity-60" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 shrink-0 opacity-60" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent
diff --git a/studio/frontend/src/features/chat/projects-page.tsx b/studio/frontend/src/features/chat/projects-page.tsx
index 9778e609fb4..1a827b40c56 100644
--- a/studio/frontend/src/features/chat/projects-page.tsx
+++ b/studio/frontend/src/features/chat/projects-page.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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { useAppShellReadySignal } from "@/components/app-readiness";
import { Button } from "@/components/ui/button";
import {
@@ -68,17 +69,17 @@ import {
Download01Icon,
Edit03Icon,
Folder02Icon,
- FolderAddIcon,
PencilEdit02Icon,
PinIcon,
PinOffIcon,
+ PlusSignIcon,
Search01Icon,
Upload01Icon,
ViewIcon,
ViewOffSlashIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { ArrowDownIcon, ChevronDownIcon, MoreHorizontalIcon } from "lucide-react";
+import { ArrowDownIcon, MoreHorizontalIcon } from "lucide-react";
import { MessageCircleIcon } from "@/lib/hugeicons-derived";
import { useNavigate } from "@tanstack/react-router";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -690,7 +691,8 @@ export function ProjectsPage() {
</DropdownMenuSub>
</DropdownMenuContent>
</DropdownMenu>
- <Button data-tour="projects-new" onClick={() => setCreating(true)}>
+ <Button variant="dark" data-tour="projects-new" onClick={() => setCreating(true)}>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
New project
</Button>
</div>
@@ -737,7 +739,7 @@ export function ProjectsPage() {
className="mt-2 border-none bg-background shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] dark:bg-card dark:shadow-none"
onClick={() => setCreating(true)}
>
- <HugeiconsIcon icon={FolderAddIcon} strokeWidth={1.75} className="size-icon" />
+ <HugeiconsIcon icon={PlusSignIcon} strokeWidth={1.75} className="size-icon" />
Create your first project
</Button>
</>
@@ -824,7 +826,7 @@ export function ProjectsPage() {
chatsOpen ? "opacity-100" : "opacity-0",
)}
>
- <ChevronDownIcon
+ <HugeiconsIcon icon={ChevronDownStandardIcon}
strokeWidth={1.75}
className={cn(
"size-4 transition-transform",
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 00d31ba72f7..4435918309a 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
@@ -1361,7 +1361,7 @@ function ExportModal({
className={cn(
"flex w-full cursor-pointer items-center gap-3 rounded-lg border px-4 py-3 transition-all",
scope === "single"
- ? "border-ring-strong bg-primary/5"
+ ? "border-ring-strong bg-wash-5"
: "border-border/60 hover:border-border hover:bg-muted/30",
)}
>
@@ -1384,7 +1384,7 @@ function ExportModal({
className={cn(
"flex w-full cursor-pointer items-start gap-3 rounded-lg border px-4 py-3 transition-all",
scope === "training"
- ? "border-ring-strong bg-primary/5"
+ ? "border-ring-strong bg-wash-5"
: "border-border/60 hover:border-border hover:bg-muted/30",
)}
>
@@ -1737,7 +1737,7 @@ function PromptDetail({
className={cn(
"flex h-8 w-8 items-center justify-center rounded-full transition-colors",
isPinned
- ? "text-primary hover:bg-primary/10"
+ ? "text-foreground hover:bg-wash-10"
: "text-muted-foreground hover:bg-muted hover:text-foreground",
)}
title={isPinned ? "Unpin from + menu" : "Pin to + menu"}
@@ -2033,7 +2033,7 @@ function PromptListDetail({
<button
type="button"
onClick={() => update({ items: [...items, ""] })}
- className="flex items-center gap-1.5 self-start text-xs font-medium text-primary hover:text-primary/80 transition-colors"
+ className="flex items-center gap-1.5 self-start text-xs font-medium text-foreground hover:text-foreground/80 transition-colors"
>
<PlusIcon className="size-3.5" />Add prompt
</button>
@@ -2056,7 +2056,7 @@ function PromptListDetail({
<button
type="button"
onClick={() => setEditorMounted(true)}
- className="flex items-center gap-1.5 self-start text-xs font-medium text-primary hover:text-primary/80 transition-colors"
+ className="flex items-center gap-1.5 self-start text-xs font-medium text-foreground hover:text-foreground/80 transition-colors"
>
<PencilIcon className="size-3.5" />Edit all {items.length} prompts
</button>
@@ -2081,7 +2081,7 @@ function PromptListDetail({
className={cn(
"flex h-8 w-8 items-center justify-center rounded-full transition-colors",
isPinned
- ? "text-primary hover:bg-primary/10"
+ ? "text-foreground hover:bg-wash-10"
: "text-muted-foreground hover:bg-muted hover:text-foreground",
)}
title={isPinned ? "Unpin from + menu" : "Pin to + menu"}
@@ -2222,7 +2222,7 @@ function NewPromptListForm({
<button
type="button"
onClick={addItem}
- className="flex items-center gap-1.5 self-start text-xs font-medium text-primary hover:text-primary/80 transition-colors"
+ className="flex items-center gap-1.5 self-start text-xs font-medium text-foreground hover:text-foreground/80 transition-colors"
>
<PlusIcon className="size-3.5" />Add another prompt
</button>
diff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsx
index e28c06c6e02..ff532b88d4a 100644
--- a/studio/frontend/src/features/chat/shared-composer.tsx
+++ b/studio/frontend/src/features/chat/shared-composer.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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import {
DEFAULT_ENGINE_LAUNCH_FIELDS,
engineLaunchFieldsFrom,
@@ -107,7 +108,6 @@ import type { ModelLifecycleLease } from "./utils/model-lifecycle-gate";
import { useAui } from "@assistant-ui/react";
import {
ArrowUpIcon,
- ChevronDownIcon,
Columns2Icon,
HeadphonesIcon,
MoreHorizontalIcon,
@@ -3333,7 +3333,7 @@ export function SharedComposer({
: "Thinking"}
</span>
) : null}
- <ChevronDownIcon strokeWidth={1.5} className="unsloth-thinking-caret size-[calc(15px*var(--ui-space-scale,1))]" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={1.5} className="unsloth-thinking-caret size-[calc(15px*var(--ui-space-scale,1))]" />
</button>
)}
>
@@ -3564,7 +3564,7 @@ export function SharedComposer({
) : busy ? (
<Button
type="button"
- variant="default"
+ variant="primary"
size="icon"
className="aui-composer-cancel ml-1.5 size-9 rounded-full"
aria-label="Stop generating"
@@ -3579,7 +3579,7 @@ export function SharedComposer({
t("promptQueue.sendTooltip", { shortcut: shortcutLabels.send })
}
side="bottom"
- variant="default"
+ variant="primary"
size="icon"
className="aui-composer-send ml-1.5 size-9 rounded-full"
onClick={send}
diff --git a/studio/frontend/src/features/chat/skills-composer-button.tsx b/studio/frontend/src/features/chat/skills-composer-button.tsx
index 05efbe610b0..39080a2cb30 100644
--- a/studio/frontend/src/features/chat/skills-composer-button.tsx
+++ b/studio/frontend/src/features/chat/skills-composer-button.tsx
@@ -1,9 +1,10 @@
// 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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { Scroll01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { ChevronDownIcon, XIcon } from "lucide-react";
+import { XIcon } from "lucide-react";
import { useState } from "react";
import { toast } from "sonner";
@@ -118,7 +119,8 @@ export function SkillsComposerButton({
<XIcon className="composer-pill-x" />
</span>
<span>{t("skills.title")}</span>
- <ChevronDownIcon
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
strokeWidth={1.5}
className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))]"
/>
diff --git a/studio/frontend/src/features/chat/thread-sidebar.tsx b/studio/frontend/src/features/chat/thread-sidebar.tsx
index 67340d630dc..2289d7131c5 100644
--- a/studio/frontend/src/features/chat/thread-sidebar.tsx
+++ b/studio/frontend/src/features/chat/thread-sidebar.tsx
@@ -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 rounded-full 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-foreground bg-wash-10 transition-colors hover:bg-wash-20"
>
<HugeiconsIcon icon={BookOpen02Icon} className="size-4 shrink-0" strokeWidth={2} />
<span>Learn more in docs</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 8c1e721fdc2..ac48045c162 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
@@ -449,7 +449,7 @@ export function DataRecipesPage(): ReactElement {
</div>
<DropdownMenu>
<DropdownMenuTrigger asChild={true}>
- <Button type="button" data-tour="recipes-new" disabled={isBusy}>
+ <Button variant="secondary" type="button" data-tour="recipes-new" disabled={isBusy}>
<HugeiconsIcon icon={PlusSignIcon} className="size-4" />
New Recipe
<HugeiconsIcon
diff --git a/studio/frontend/src/features/dataset-picker/components/dataset-selector.tsx b/studio/frontend/src/features/dataset-picker/components/dataset-selector.tsx
index 743bc3bcbfa..db70cf8a16a 100644
--- a/studio/frontend/src/features/dataset-picker/components/dataset-selector.tsx
+++ b/studio/frontend/src/features/dataset-picker/components/dataset-selector.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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { resolveDevicePickerItem } from "@/components/resource-picker/device-item-match";
import {
hubResourceIdsEqual,
@@ -41,9 +42,6 @@ import { cn } from "@/lib/utils";
import {
Database02Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronDownIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate } from "@tanstack/react-router";
import { useCallback, useMemo } from "react";
@@ -395,7 +393,8 @@ export function DatasetSelector() {
{display ?? t("studio.datasetPicker.selectDataset")}
</span>
</span>
- <ChevronDownIcon
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
strokeWidth={1.25}
className="size-3.5 shrink-0 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 6a70f50c5d3..6c47e38fd1d 100644
--- a/studio/frontend/src/features/export/components/export-run-panel.tsx
+++ b/studio/frontend/src/features/export/components/export-run-panel.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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import {
@@ -24,9 +25,6 @@ import {
FolderSearchIcon,
Key01Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronRightIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import { useEffect, useRef, useState } from "react";
import { useShallow } from "zustand/react/shallow";
@@ -378,7 +376,7 @@ export function ExportRunPanel(props: ExportRunPanelProps) {
className="flex items-center gap-1 text-ui-11 text-emerald-600 hover:text-emerald-700 transition-colors"
>
Get token
- <ChevronRightIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3" />
</a>
</div>
<InputGroup>
@@ -641,7 +639,7 @@ export function ExportRunPanel(props: ExportRunPanelProps) {
<Button variant="outline" onClick={onClose}>
Cancel
</Button>
- <Button onClick={onStart} disabled={hubRepoMissing}>
+ <Button variant="dark" onClick={onStart} disabled={hubRepoMissing}>
Start Export
</Button>
</>
diff --git a/studio/frontend/src/features/export/components/image-lora-export-card.tsx b/studio/frontend/src/features/export/components/image-lora-export-card.tsx
index 8ae2a8cf156..23464ec8972 100644
--- a/studio/frontend/src/features/export/components/image-lora-export-card.tsx
+++ b/studio/frontend/src/features/export/components/image-lora-export-card.tsx
@@ -154,7 +154,7 @@ export function ImageLoraExportCard({ preselect }: { preselect?: string }) {
>
{result?.text ?? "A plain file copy: no model load or GPU needed."}
</p>
- <Button disabled={!canExport} onClick={handleExport}>
+ <Button variant="dark" disabled={!canExport} onClick={handleExport}>
{running && <Spinner />}
Export
</Button>
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 a944000cf41..5a7e5d63c5b 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
@@ -82,7 +82,7 @@ export function LlmCompressorConsentDialog() {
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
{!blocked ? (
- <AlertDialogAction onClick={() => resolve(true)}>
+ <AlertDialogAction variant="dark" onClick={() => resolve(true)}>
Install and continue
</AlertDialogAction>
) : null}
diff --git a/studio/frontend/src/features/export/components/method-picker.tsx b/studio/frontend/src/features/export/components/method-picker.tsx
index 30a4d7e0698..84c44cb0f51 100644
--- a/studio/frontend/src/features/export/components/method-picker.tsx
+++ b/studio/frontend/src/features/export/components/method-picker.tsx
@@ -68,7 +68,7 @@ export function MethodPicker({ value, onChange, disabledMethods = [], disabledRe
isDisabled
? "ring-border opacity-40 cursor-not-allowed"
: selected
- ? "ring-1 ring-ring-strong bg-primary/5"
+ ? "ring-1 ring-ring-strong bg-wash-5"
: "ring-border hover:bg-muted/40",
)}
>
diff --git a/studio/frontend/src/features/export/components/q4nx-convert-card.tsx b/studio/frontend/src/features/export/components/q4nx-convert-card.tsx
index 94eaca3e657..87a74f639a3 100644
--- a/studio/frontend/src/features/export/components/q4nx-convert-card.tsx
+++ b/studio/frontend/src/features/export/components/q4nx-convert-card.tsx
@@ -145,7 +145,7 @@ export function Q4nxConvertCard() {
{result?.text ??
"Runs as a drop-in for a FastFlowLM catalog model of the same family and size."}
</p>
- <Button disabled={!canConvert} onClick={handleConvert}>
+ <Button variant="dark" disabled={!canConvert} onClick={handleConvert}>
{running && <Spinner />}
Convert
</Button>
diff --git a/studio/frontend/src/features/export/components/quant-picker.tsx b/studio/frontend/src/features/export/components/quant-picker.tsx
index 9baac419c8d..b115332c3ee 100644
--- a/studio/frontend/src/features/export/components/quant-picker.tsx
+++ b/studio/frontend/src/features/export/components/quant-picker.tsx
@@ -85,7 +85,7 @@ export function QuantPicker({
className={cn(
"inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs font-medium ring-1 transition-colors",
active
- ? "ring-ring-strong bg-primary/10 text-foreground"
+ ? "ring-ring-strong bg-wash-10 text-foreground"
: "ring-border text-muted-foreground hover:text-foreground hover:ring-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)]",
)}
>
diff --git a/studio/frontend/src/features/export/components/reap-card.tsx b/studio/frontend/src/features/export/components/reap-card.tsx
index 738d11acde0..fa243969a1d 100644
--- a/studio/frontend/src/features/export/components/reap-card.tsx
+++ b/studio/frontend/src/features/export/components/reap-card.tsx
@@ -57,7 +57,7 @@ export function ReapCard({
key={s}
type="button"
size="sm"
- variant={sparsity === s ? "default" : "outline"}
+ variant={sparsity === s ? "dark" : "outline"}
onClick={() => set({ sparsity: s })}
disabled={disabled || !reapSparsityAllowed(moe, s)}
title={
@@ -83,7 +83,7 @@ export function ReapCard({
key={o.value}
type="button"
size="sm"
- variant={settings.samples === o.value ? "default" : "outline"}
+ variant={settings.samples === o.value ? "dark" : "outline"}
onClick={() => set({ samples: o.value })}
title={o.hint}
disabled={disabled}
diff --git a/studio/frontend/src/features/export/export-page.tsx b/studio/frontend/src/features/export/export-page.tsx
index 69c59e695d8..b7f81a7d3c6 100644
--- a/studio/frontend/src/features/export/export-page.tsx
+++ b/studio/frontend/src/features/export/export-page.tsx
@@ -1727,7 +1727,7 @@ export function ExportPage() {
<Button
key={f.value}
type="button"
- variant={active ? "default" : "outline"}
+ variant={active ? "dark" : "outline"}
size="sm"
onClick={() => toggleFormat(f.value)}
title={f.hint}
@@ -1852,7 +1852,7 @@ export function ExportPage() {
<div className="flex flex-wrap gap-2">
<Button
type="button"
- variant={loraAsGguf ? "outline" : "default"}
+ variant={loraAsGguf ? "outline" : "dark"}
size="sm"
onClick={() => setLoraAsGguf(false)}
title="Adapter weights as safetensors."
@@ -1861,7 +1861,7 @@ export function ExportPage() {
</Button>
<Button
type="button"
- variant={loraAsGguf ? "default" : "outline"}
+ variant={loraAsGguf ? "dark" : "outline"}
size="sm"
onClick={() => setLoraAsGguf(true)}
disabled={diffusionDisabledMethods.includes("gguf")}
@@ -1897,7 +1897,7 @@ export function ExportPage() {
<Button
type="button"
variant={
- adapterFormat === "mlx" ? "default" : "outline"
+ adapterFormat === "mlx" ? "dark" : "outline"
}
size="sm"
onClick={() => setAdapterFormat("mlx")}
@@ -1908,7 +1908,7 @@ export function ExportPage() {
<Button
type="button"
variant={
- adapterFormat === "peft" ? "default" : "outline"
+ adapterFormat === "peft" ? "dark" : "outline"
}
size="sm"
onClick={() => setAdapterFormat("peft")}
@@ -2002,7 +2002,7 @@ export function ExportPage() {
<Button
type="button"
variant={
- ggufTarget === "model" ? "default" : "outline"
+ ggufTarget === "model" ? "dark" : "outline"
}
size="sm"
onClick={() => setGgufTarget("model")}
@@ -2013,7 +2013,7 @@ export function ExportPage() {
<Button
type="button"
variant={
- ggufTarget === "lora" ? "default" : "outline"
+ ggufTarget === "lora" ? "dark" : "outline"
}
size="sm"
onClick={() => setGgufTarget("lora")}
@@ -2268,6 +2268,7 @@ export function ExportPage() {
{!showPanel && (
<div className="flex items-center justify-end">
<Button
+ variant="dark"
data-tour="export-cta"
disabled={!canExport}
onClick={handleOpenPanel}
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 1cfccdaa40a..b52ade8abc7 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
@@ -8,11 +8,12 @@ import {
PopoverContent,
PopoverTrigger,
} from "@/components/ui/popover";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { cn } from "@/lib/utils";
+import { HugeiconsIcon } from "@hugeicons/react";
import {
Bookmark,
Check,
- ChevronDown,
ClipboardPaste,
ImageUp,
Trash2,
@@ -125,7 +126,8 @@ export function MediaGenerationPresetControl({
aria-label="Modified"
/>
) : null}
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
className={cn(
"hidden size-3.5 shrink-0 text-muted-foreground transition-transform sm:block",
open && "rotate-180",
diff --git a/studio/frontend/src/features/hub/catalog/card-carousel.tsx b/studio/frontend/src/features/hub/catalog/card-carousel.tsx
index 4c41a15238c..a0c6485ae72 100644
--- a/studio/frontend/src/features/hub/catalog/card-carousel.tsx
+++ b/studio/frontend/src/features/hub/catalog/card-carousel.tsx
@@ -1,6 +1,8 @@
// 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 { ChevronLeftStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { useUiSpaceScale } from "@/hooks/use-ui-space-scale";
import { cn } from "@/lib/utils";
import {
@@ -12,10 +14,6 @@ import {
useRef,
useState,
} from "react";
-import {
- ChevronLeftIcon,
- ChevronRightIcon,
-} from "lucide-react";
export const CARD_GAP_PX = 16;
const CAROUSEL_TOP_PADDING_PX = 8;
@@ -48,9 +46,9 @@ export function CarouselArrow({
)}
>
{side === "left" ? (
- <ChevronLeftIcon strokeWidth={2} className="size-4" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} strokeWidth={2} className="size-4" />
) : (
- <ChevronRightIcon strokeWidth={2} className="size-4" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} strokeWidth={2} className="size-4" />
)}
</button>
);
diff --git a/studio/frontend/src/features/hub/catalog/hub-detail-view.tsx b/studio/frontend/src/features/hub/catalog/hub-detail-view.tsx
index c6f5c17aec8..d2e8174e15e 100644
--- a/studio/frontend/src/features/hub/catalog/hub-detail-view.tsx
+++ b/studio/frontend/src/features/hub/catalog/hub-detail-view.tsx
@@ -1,12 +1,11 @@
// 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 { ChevronLeftStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { cn } from "@/lib/utils";
import { type ComponentProps, useEffect, useRef, useState } from "react";
import { ModelInspector } from "./model-inspector";
-import {
- ChevronLeftIcon,
-} from "lucide-react";
type InspectorProps = ComponentProps<typeof ModelInspector>;
@@ -71,7 +70,8 @@ export function HubDetailView({
onClick={onBack}
className="-ml-1.5 inline-flex h-8 cursor-pointer select-none items-center gap-1.5 rounded-full pl-1.5 pr-2.5 text-ui-12p5 font-medium text-muted-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(5%*var(--contrast-wash-gain,1)),transparent)] hover:text-foreground dark:hover:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))]"
>
- <ChevronLeftIcon
+ <HugeiconsIcon
+ icon={ChevronLeftStandardIcon}
strokeWidth={1.75}
className="size-3.5"
/>
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 950dbba7816..58337dbdfbf 100644
--- a/studio/frontend/src/features/hub/catalog/hub-section-row.tsx
+++ b/studio/frontend/src/features/hub/catalog/hub-section-row.tsx
@@ -1,6 +1,8 @@
// 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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { Skeleton } from "@/components/ui/skeleton";
import { useUiSpaceScale } from "@/hooks/use-ui-space-scale";
import { memo } from "react";
@@ -11,9 +13,6 @@ import {
MODEL_CARD_WIDTH_PX,
ModelCard,
} from "./model-card";
-import {
- ChevronRightIcon,
-} from "lucide-react";
const SKELETON_KEYS = ["s0", "s1", "s2", "s3", "s4"] as const;
@@ -74,7 +73,8 @@ export const HubSectionRow = memo(function HubSectionRow({
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
+ <HugeiconsIcon
+ icon={ChevronRightStandardIcon}
strokeWidth={2}
className="hub-section-chevron size-4 text-muted-foreground"
/>
diff --git a/studio/frontend/src/features/hub/catalog/models-table.tsx b/studio/frontend/src/features/hub/catalog/models-table.tsx
index a1370c3390a..ec72a8542b5 100644
--- a/studio/frontend/src/features/hub/catalog/models-table.tsx
+++ b/studio/frontend/src/features/hub/catalog/models-table.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 { ChevronLeftStandardIcon } from "@/lib/chevron-icons";
import { SegmentedPill } from "@/components/segmented-control";
import { useVllmAvailable, useVllmPlatform } from "@/features/model-picker";
import {
@@ -25,9 +26,6 @@ import {
Refresh01Icon,
ViewSidebarLeftIcon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronLeftIcon,
-} from "lucide-react";
import type { IconSvgElement } from "@hugeicons/react";
import { HugeiconsIcon } from "@hugeicons/react";
import { type ReactNode, memo, useId, useMemo } from "react";
@@ -138,7 +136,8 @@ export function HubListHeader({
// avatars below, just inside the row hover's left edge.
className="hub-section-chevron -ml-3 inline-flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground"
>
- <ChevronLeftIcon
+ <HugeiconsIcon
+ icon={ChevronLeftStandardIcon}
strokeWidth={2}
className="size-4"
/>
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 3b86bdc79b4..a33b2f53266 100644
--- a/studio/frontend/src/features/hub/catalog/npu-catalog-list.tsx
+++ b/studio/frontend/src/features/hub/catalog/npu-catalog-list.tsx
@@ -152,7 +152,7 @@ function NpuCatalogRow({
<Button size="sm" variant="outline" onClick={onRun}>
Run
</Button>
- <Button size="sm" variant="ghost" onClick={() => setConfirming(true)}>
+ <Button size="sm" variant="destructive" onClick={() => setConfirming(true)}>
Delete
</Button>
<DeleteConfirmDialog
diff --git a/studio/frontend/src/features/hub/components/page-heading.tsx b/studio/frontend/src/features/hub/components/page-heading.tsx
index 718c6840913..b630927aea8 100644
--- a/studio/frontend/src/features/hub/components/page-heading.tsx
+++ b/studio/frontend/src/features/hub/components/page-heading.tsx
@@ -22,7 +22,7 @@ export function PageHeading({
onTitleClick,
}: PageHeadingProps) {
return (
- <div className={cn("page-title-halo min-w-0", className)}>
+ <div className={cn("min-w-0", className)}>
{onTitleClick ? (
<button
type="button"
diff --git a/studio/frontend/src/features/hub/download-manager/required-assets-dialog.tsx b/studio/frontend/src/features/hub/download-manager/required-assets-dialog.tsx
index 14e95c11d05..f4ea449f613 100644
--- a/studio/frontend/src/features/hub/download-manager/required-assets-dialog.tsx
+++ b/studio/frontend/src/features/hub/download-manager/required-assets-dialog.tsx
@@ -174,6 +174,7 @@ function DownloadChoice({
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
<AlertDialogAction
+ variant="dark"
disabled={checking}
className="w-full sm:w-32"
onClick={(e) => {
diff --git a/studio/frontend/src/features/images/compare/compare-panel.tsx b/studio/frontend/src/features/images/compare/compare-panel.tsx
index 46e4face59e..7120bc465e8 100644
--- a/studio/frontend/src/features/images/compare/compare-panel.tsx
+++ b/studio/frontend/src/features/images/compare/compare-panel.tsx
@@ -341,7 +341,7 @@ export default function ComparePanel(props: ComparePanelProps) {
? `${shape} = ${count} cell${count === 1 ? "" : "s"} (limit ${MAX_COMPARE_CELLS})`
: preview.error}
</p>
- <Button type="button" size="sm" disabled={busy || running !== null || !preview.ok} onClick={() => void run()}>
+ <Button variant="dark" type="button" size="sm" disabled={busy || running !== null || !preview.ok} onClick={() => void run()}>
{preview.ok ? `Generate grid (${count})` : "Generate grid"}
</Button>
</div>
diff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsx
index d283c4a7640..588402ba46a 100644
--- a/studio/frontend/src/features/images/images-page.tsx
+++ b/studio/frontend/src/features/images/images-page.tsx
@@ -23,7 +23,6 @@ import {
ArrowExpand01Icon,
ArrowLeftRightIcon,
ArrowUpDownIcon,
- Refresh01Icon,
Delete02Icon,
DiceFaces03Icon,
Download01Icon,
@@ -33,6 +32,8 @@ import {
ImageAdd02Icon,
ImageCropIcon,
InformationCircleIcon,
+ PlusSignIcon,
+ Refresh01Icon,
SparklesIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
@@ -181,7 +182,7 @@ import { getHfToken, hfApiToken } from "@/features/hub/stores/hf-token-store";
import { formatBytes, formatEta } from "@/features/hub/lib/format";
import { OnDeviceFoldersDialog } from "@/features/hub/catalog/on-device-folders-dialog";
import { generatePhaseLabel, sameGenerateProgress } from "@/lib/media-generate-phase";
-import { ChevronDown, Recycle } from "lucide-react";
+import { Recycle } from "lucide-react";
import { NegativePromptField, PROMPT_BOX_CLASS } from "@/components/negative-prompt-field";
import {
ASPECT_RATIOS,
@@ -5065,7 +5066,7 @@ export function ImagesPage({
disabled={!initImage}
onClick={() => setReferenceImages((prev) => [...prev, ""])}
>
- <HugeiconsIcon icon={ImageAdd02Icon} className="size-3.5" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-3.5" />
Add image {numberOf(referenceImages.length)}
</Button>
)}
@@ -6470,7 +6471,7 @@ export function ImagesPage({
// mouse focus anyway (index.css blanks it).
"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-wash-15 text-foreground hover:bg-wash-20 dark:bg-wash-25 dark:hover:bg-wash-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)))]",
)}
>
@@ -6678,6 +6679,7 @@ export function ImagesPage({
setPrompt((p) => withLocalizedHint(p, localizedMode, localizedColors))
}
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add region wording
</Button>
</div>
@@ -6910,7 +6912,7 @@ export function ImagesPage({
]);
}}
>
- <HugeiconsIcon icon={ImageAdd02Icon} className="size-3.5" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-3.5" />
Add LoRA
</Button>
)}
@@ -7169,7 +7171,7 @@ export function ImagesPage({
</Button>
) : (
<>
- <Button
+ <Button variant="dark"
className="relative z-10 h-11 px-8 disabled:bg-muted disabled:text-muted-foreground disabled:opacity-100"
onClick={handleGenerateWithRecall}
disabled={busy !== null || !imagePresets.hydrated || (!status?.loaded && !rememberedModel && !external)}
@@ -7470,7 +7472,7 @@ export function ImagesPage({
{/* In-progress generation: a placeholder tile at the front so past images 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-lg 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-wash-30">
{livePreviewSrc ? (
<img src={livePreviewSrc} alt="" className="size-full object-cover" />
) : (
diff --git a/studio/frontend/src/features/images/prompt-enhance-panel.tsx b/studio/frontend/src/features/images/prompt-enhance-panel.tsx
index df7c424887f..33b887c8668 100644
--- a/studio/frontend/src/features/images/prompt-enhance-panel.tsx
+++ b/studio/frontend/src/features/images/prompt-enhance-panel.tsx
@@ -1,9 +1,9 @@
// 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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { Cancel01Icon, Copy01Icon, Download04Icon, SparklesIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { ChevronDown } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import { Button } from "@/components/ui/button";
@@ -313,7 +313,7 @@ export function EnhancePromptControls({
className="flex items-center gap-1 font-medium text-muted-foreground transition-colors hover:text-foreground"
>
Enhanced prompt{stale ? " (for an earlier request)" : ""}
- <ChevronDown className={cn("size-3 transition-transform", previewOpen && "rotate-180")} />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className={cn("size-3 transition-transform", previewOpen && "rotate-180")} />
</button>
<button
type="button"
@@ -364,7 +364,7 @@ export function EnhancedPromptRecipeRow({ caption }: { caption: string }) {
className="flex items-start gap-0.5 text-left text-muted-foreground hover:text-foreground"
>
Enhanced prompt
- <ChevronDown className={cn("mt-0.5 size-3 shrink-0 transition-transform", open && "rotate-180")} />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className={cn("mt-0.5 size-3 shrink-0 transition-transform", open && "rotate-180")} />
</button>
<div className="flex min-w-0 flex-col gap-1">
<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 f23de180b9d..c3f699105b0 100644
--- a/studio/frontend/src/features/images/train/dataset-labeling-grid.tsx
+++ b/studio/frontend/src/features/images/train/dataset-labeling-grid.tsx
@@ -1,17 +1,13 @@
// 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 { ChevronDownStandardIcon, ChevronLeftStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { useCallback, useEffect, useRef, useState } from "react";
import {
Cancel01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import {
- ChevronDown,
- ChevronLeftIcon,
- ChevronRightIcon,
-} from "lucide-react";
import { Button } from "@/components/ui/button";
import { Spinner } from "@/components/ui/spinner";
@@ -271,7 +267,7 @@ export function DatasetLabelingGrid({
onClick={() => setPage((p) => Math.max(0, p - 1))}
aria-label="Previous images"
>
- <ChevronLeftIcon className="size-3.5" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-3.5" />
</Button>
<Button
type="button"
@@ -282,7 +278,7 @@ export function DatasetLabelingGrid({
onClick={() => setPage((p) => Math.min(pageCount - 1, p + 1))}
aria-label="Next images"
>
- <ChevronRightIcon className="size-3.5" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3.5" />
</Button>
</div>
)}
@@ -326,7 +322,7 @@ export function LabelingGridToggle({
aria-expanded={open}
>
{open ? "Hide captions" : `Review captions (${count} image${count === 1 ? "" : "s"})`}
- <ChevronDown className={cn("size-3.5 transition-transform", open && "rotate-180")} />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className={cn("size-3.5 transition-transform", open && "rotate-180")} />
</Button>
);
}
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 538fce50498..081078519c8 100644
--- a/studio/frontend/src/features/images/train/diffusion-samples-view.tsx
+++ b/studio/frontend/src/features/images/train/diffusion-samples-view.tsx
@@ -100,7 +100,7 @@ export function DiffusionSamples({
onClick={() => setPicked({ jobId, step: r.step })}
className={`rounded-full px-2 py-0.5 text-ui-11 tabular-nums ${
r.step === current.step
- ? "bg-primary text-primary-foreground"
+ ? "bg-action text-background"
: "bg-muted text-muted-foreground hover:text-foreground"
}`}
>
diff --git a/studio/frontend/src/features/images/train/diffusion-train-panel.tsx b/studio/frontend/src/features/images/train/diffusion-train-panel.tsx
index 8a801c7f1cd..112d5d99d25 100644
--- a/studio/frontend/src/features/images/train/diffusion-train-panel.tsx
+++ b/studio/frontend/src/features/images/train/diffusion-train-panel.tsx
@@ -13,6 +13,7 @@ import {
import {
FolderAddIcon,
+ PlusSignIcon,
Settings02Icon,
Upload01Icon,
} from "@hugeicons/core-free-icons";
@@ -1842,7 +1843,8 @@ export function DiffusionTrainPanel({
className={cn(
fieldClass,
"rounded-lg transition-colors",
- dropActive && "outline-2 outline-dashed outline-offset-4 outline-primary/60",
+ dropActive &&
+ "outline-2 outline-dashed outline-offset-4 outline-wash-30 dark:outline-wash-60",
)}
onDragOver={(e) => {
// tauri consumes os drags before the webview, as the chat composer notes.
@@ -1930,7 +1932,7 @@ export function DiffusionTrainPanel({
onClick={() => addInputRef.current?.click()}
disabled={uploading}
>
- <HugeiconsIcon icon={Upload01Icon} className="size-3.5" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-3.5" />
{uploading ? "Uploading..." : "Add"}
</Button>
<FolderPickButton disabled={uploading} onPick={() => pickFolder(dataset)} />
@@ -2146,6 +2148,7 @@ export function DiffusionTrainPanel({
className="relative z-10 flex shrink-0 justify-center pt-0.5 pb-4 pl-8 pr-8"
>
<Button
+ variant="dark"
type="button"
className="relative z-10 h-11 px-8 disabled:bg-muted disabled:text-muted-foreground disabled:opacity-100"
onClick={onStart}
@@ -2398,6 +2401,7 @@ export function DiffusionTrainPanel({
<div className="flex flex-wrap gap-2">
{liveRunSummary?.can_resume && status.job_id && (
<Button
+ variant="dark"
type="button"
className="flex-1"
onClick={() => void onResume(status.job_id as string)}
diff --git a/studio/frontend/src/features/library/chats/chats-library.tsx b/studio/frontend/src/features/library/chats/chats-library.tsx
index 68548074d20..07eaaa47a67 100644
--- a/studio/frontend/src/features/library/chats/chats-library.tsx
+++ b/studio/frontend/src/features/library/chats/chats-library.tsx
@@ -1560,7 +1560,7 @@ export function ChatsLibrary({
<button
type="button"
onClick={() => unarchiveChats(selectedChats)}
- className={cn(BAR_PILL, "bg-foreground text-background transition-opacity hover:opacity-85")}
+ className={cn(BAR_PILL, "bg-action text-background transition-opacity hover:opacity-85")}
>
<HugeiconsIcon icon={ArchiveRestoreIcon} strokeWidth={1.75} className="size-4" />
{t("settings.data.library.unarchive")}
diff --git a/studio/frontend/src/features/library/chats/chats-toolbar.tsx b/studio/frontend/src/features/library/chats/chats-toolbar.tsx
index 7720292e982..7eb927d7be4 100644
--- a/studio/frontend/src/features/library/chats/chats-toolbar.tsx
+++ b/studio/frontend/src/features/library/chats/chats-toolbar.tsx
@@ -337,7 +337,7 @@ function NewMenu({
<DropdownMenuTrigger asChild>
<button
type="button"
- className="flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-foreground pl-4 pr-3 font-medium text-ui-14 text-background outline-none transition-opacity hover:opacity-90 focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-action pl-4 pr-3 font-medium text-ui-14 text-background outline-none transition-opacity hover:opacity-90 focus-visible:ring-2 focus-visible:ring-ring"
>
{t("common.new")}
<HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={2} className="size-4" />
diff --git a/studio/frontend/src/features/library/components/library-toolbar.tsx b/studio/frontend/src/features/library/components/library-toolbar.tsx
index 429e411d542..7ebe6b5115b 100644
--- a/studio/frontend/src/features/library/components/library-toolbar.tsx
+++ b/studio/frontend/src/features/library/components/library-toolbar.tsx
@@ -303,7 +303,7 @@ function NewMenu({ onSelect }: { onSelect: (action: NewAction) => void }) {
<DropdownMenuTrigger asChild>
<button
type="button"
- className="flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-foreground pl-4 pr-3 font-medium text-ui-14 text-background outline-none transition-opacity hover:opacity-90 focus-visible:ring-2 focus-visible:ring-ring"
+ className="flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-action pl-4 pr-3 font-medium text-ui-14 text-background outline-none transition-opacity hover:opacity-90 focus-visible:ring-2 focus-visible:ring-ring"
>
{t("common.new")}
<HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={2} className="size-4" />
diff --git a/studio/frontend/src/features/library/library-page.tsx b/studio/frontend/src/features/library/library-page.tsx
index 5b6fc8c933a..1eaf40bc1c1 100644
--- a/studio/frontend/src/features/library/library-page.tsx
+++ b/studio/frontend/src/features/library/library-page.tsx
@@ -1104,7 +1104,7 @@ function LibraryView({ search }: { search: LibrarySearch }) {
type="button"
disabled={selectedModel() === null && selectedFiles().length === 0}
onClick={bulkChat}
- className={cn(BAR_PILL, "bg-foreground text-background transition-opacity hover:opacity-85")}
+ className={cn(BAR_PILL, "bg-action text-background transition-opacity hover:opacity-85")}
>
<HugeiconsIcon icon={PencilEdit02Icon} strokeWidth={1.75} className="size-4" />
{t("library.selection.startChat")}
diff --git a/studio/frontend/src/features/model-picker/components/inference-engines.tsx b/studio/frontend/src/features/model-picker/components/inference-engines.tsx
index 39c40832522..83c36666358 100644
--- a/studio/frontend/src/features/model-picker/components/inference-engines.tsx
+++ b/studio/frontend/src/features/model-picker/components/inference-engines.tsx
@@ -171,7 +171,7 @@ export function EngineInstall({
{management && isOwner && engine.installed && (
<Button
size="sm"
- variant="ghost"
+ variant="destructive"
disabled={busy || engine.in_use}
onClick={() => void action("remove")}
>
@@ -220,6 +220,7 @@ export function EngineInstall({
<p>{t("managedEngines.background")}</p>
<div className={cn("flex gap-2", centered && "justify-center pt-3")}>
<Button
+ variant="dark"
size={centered ? "default" : "sm"}
disabled={busy}
onClick={() => void action("install")}
diff --git a/studio/frontend/src/features/model-picker/components/managed-engine-offer-dialog.tsx b/studio/frontend/src/features/model-picker/components/managed-engine-offer-dialog.tsx
index b32e622644e..23014b2e6f6 100644
--- a/studio/frontend/src/features/model-picker/components/managed-engine-offer-dialog.tsx
+++ b/studio/frontend/src/features/model-picker/components/managed-engine-offer-dialog.tsx
@@ -124,6 +124,7 @@ export function ManagedEngineOfferDialog() {
<AlertDialogCancel variant="ghost">Cancel</AlertDialogCancel>
{ready.map((engine) => (
<AlertDialogAction
+ variant="dark"
key={engine.engine}
onClick={() => resolve(engine.engine)}
>
diff --git a/studio/frontend/src/features/model-picker/components/memory-estimate-row.tsx b/studio/frontend/src/features/model-picker/components/memory-estimate-row.tsx
index 703a1d38ebf..29cabbb72d6 100644
--- a/studio/frontend/src/features/model-picker/components/memory-estimate-row.tsx
+++ b/studio/frontend/src/features/model-picker/components/memory-estimate-row.tsx
@@ -1,7 +1,8 @@
// 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 { ChevronDown } from "lucide-react";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { useId, useLayoutEffect, useMemo, useRef, useState } from "react";
import {
Tooltip,
@@ -260,7 +261,8 @@ export function MemoryEstimateRow({
Beta
</span>
</span>
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
aria-hidden="true"
className={`size-3.5 shrink-0 text-muted-foreground transition-transform duration-200 group-hover:text-foreground motion-reduce:transition-none ${expanded ? "rotate-0" : "-rotate-90"}`}
/>
diff --git a/studio/frontend/src/features/model-picker/components/model-config-page.tsx b/studio/frontend/src/features/model-picker/components/model-config-page.tsx
index 9dfcde89709..4307725f7ef 100644
--- a/studio/frontend/src/features/model-picker/components/model-config-page.tsx
+++ b/studio/frontend/src/features/model-picker/components/model-config-page.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 { HugeiconsIcon } from "@hugeicons/react";
import { InferenceEnginePicker } from "./inference-engines";
import {
AlertDialog,
@@ -67,7 +68,7 @@ import {
resolveFreeGpuCapacityGb,
resolveMemoryCapacityGb,
} from "@/hooks/gpu-vram";
-import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
+import { ChevronDownStandardIcon, ChevronLeftStandardIcon } from "@/lib/chevron-icons";
import {
DRAFTER_MODEL_SPEC_TYPES,
MLX_SPECULATIVE_TYPES,
@@ -235,9 +236,6 @@ import {
NumericValueInput,
type NumericValueInputHandle,
} from "./numeric-value-input";
-import {
- ChevronLeftIcon,
-} from "lucide-react";
const ROW_CLASS = "flex min-h-8 items-center justify-between gap-3";
const LABEL_CLASS =
@@ -3942,7 +3940,8 @@ export function ModelConfigPage({
className="nav-icon-btn -ml-1.5 shrink-0 text-nav-icon-idle hover:bg-panel-surface-hover hover:text-black dark:hover:text-white"
aria-label="Back to model list"
>
- <ChevronLeftIcon
+ <HugeiconsIcon
+ icon={ChevronLeftStandardIcon}
className="size-4"
strokeWidth={1.75}
/>
@@ -4181,6 +4180,7 @@ export function ModelConfigPage({
<div className="flex flex-wrap items-center gap-2">
{/* Primary action first, like the Preset row's Save/Delete. */}
<Button
+ variant="dark"
type="button"
size="sm"
className={FOOTER_BUTTON_CLASS}
diff --git a/studio/frontend/src/features/model-picker/components/model-selector/pickers.tsx b/studio/frontend/src/features/model-picker/components/model-selector/pickers.tsx
index 5390828574c..3a9223682f8 100644
--- a/studio/frontend/src/features/model-picker/components/model-selector/pickers.tsx
+++ b/studio/frontend/src/features/model-picker/components/model-selector/pickers.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 { ChevronDownStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
import {
isChatGgufTask,
reconcileGgufPinsAfterDelete,
@@ -150,7 +151,6 @@ import { useT } from "@/i18n";
import { AiSpeechIcon } from "@/lib/hugeicons-derived";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate } from "@tanstack/react-router";
-import { ChevronDownIcon, ChevronRightIcon } from "lucide-react";
import {
type Dispatch,
type KeyboardEvent,
@@ -531,9 +531,9 @@ function ListLabel({
className="-mr-0.5 shrink-0 rounded p-1 text-muted-foreground/80 transition-colors hover:text-foreground"
>
{collapsed ? (
- <ChevronRightIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3" />
) : (
- <ChevronDownIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3" />
)}
</button>
)}
@@ -1205,9 +1205,9 @@ function ConnectedGroupHeading({
className={HEADING_ACTION_CLASS}
>
{collapsed ? (
- <ChevronRightIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3" />
) : (
- <ChevronDownIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3" />
)}
</button>
</div>
@@ -7847,9 +7847,9 @@ export function HubModelPicker({
className="-mr-0.5 shrink-0 rounded p-1 text-muted-foreground/80 transition-colors hover:text-foreground"
>
{fineTunedCollapsed ? (
- <ChevronRightIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3" />
) : (
- <ChevronDownIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3" />
)}
</button>
</div>
@@ -7944,9 +7944,9 @@ export function HubModelPicker({
className="-mr-0.5 shrink-0 rounded p-1 text-muted-foreground/80 transition-colors hover:text-foreground"
>
{customFoldersCollapsed ? (
- <ChevronRightIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3" />
) : (
- <ChevronDownIcon className="size-3" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3" />
)}
</button>
</div>
diff --git a/studio/frontend/src/features/model-picker/sharing/config-ui.tsx b/studio/frontend/src/features/model-picker/sharing/config-ui.tsx
index b0139d2ef7f..cfe1d13c3ae 100644
--- a/studio/frontend/src/features/model-picker/sharing/config-ui.tsx
+++ b/studio/frontend/src/features/model-picker/sharing/config-ui.tsx
@@ -2,7 +2,8 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import { Button } from "@/components/ui/button";
-import { ChevronDown } from "lucide-react";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { useEffect, useState, useSyncExternalStore } from "react";
import type { ModelPickTarget } from "../components/model-selector/types";
import type { PerModelConfig } from "../model-config/per-model-config";
@@ -148,7 +149,8 @@ export function SharedRunConfigReview({
</span>
)}
</span>
- <ChevronDown
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
aria-hidden="true"
className="size-3.5 shrink-0 -rotate-90 text-muted-foreground transition-transform duration-200 group-open:rotate-0 group-hover:text-foreground motion-reduce:transition-none"
/>
diff --git a/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx b/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
index 7a8738c7f19..238edb2bb20 100644
--- a/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
+++ b/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
@@ -1,8 +1,8 @@
// 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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import {
- ChevronDownIcon,
XIcon,
} from "lucide-react";
import { Tick02Icon } from "@/lib/tick-icon";
@@ -150,7 +150,7 @@ export function KnowledgeBaseComposerButton({
<XIcon className="composer-pill-x" />
</span>
<span>Files</span>
- <ChevronDownIcon strokeWidth={1.5} className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))]" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={1.5} className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))]" />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent
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 a103bdb85c8..d4f1e90268e 100644
--- a/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
+++ b/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
@@ -1,13 +1,14 @@
// 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 { ChevronLeftStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
import {
Delete02Icon,
Edit03Icon,
PlusSignIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { ChevronLeftIcon, ChevronRightIcon, UploadIcon } from "lucide-react";
+import { UploadIcon } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import {
@@ -316,6 +317,7 @@ export function KnowledgeBaseDialog({
<div className="flex min-w-0 flex-col gap-3">
<div className="flex justify-end">
<Button
+ variant="secondary"
size="sm"
onClick={startCreate}
disabled={ragUnavailable}
@@ -361,7 +363,8 @@ export function KnowledgeBaseDialog({
{kb.description ? ` · ${kb.description}` : ""}
</span>
</span>
- <ChevronRightIcon
+ <HugeiconsIcon
+ icon={ChevronRightStandardIcon}
strokeWidth={1.5}
className="size-3.5 shrink-0 text-muted-foreground"
/>
@@ -476,7 +479,7 @@ function KnowledgeBaseDocuments({
>
<div className="flex items-center justify-between">
<Button variant="ghost" size="sm" onClick={onBack}>
- <ChevronLeftIcon className="size-4" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4" />
All knowledge bases
</Button>
<Button size="sm" onClick={() => fileInputRef.current?.click()}>
@@ -504,7 +507,8 @@ function KnowledgeBaseDocuments({
<div
className={cn(
"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",
+ dragging &&
+ "border-wash-30 bg-wash-3 dark:border-wash-60 dark:bg-wash-5 text-foreground",
)}
>
No documents yet. Upload or drop documents, spreadsheets, slides,
@@ -514,7 +518,8 @@ function KnowledgeBaseDocuments({
<div
className={cn(
"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",
+ dragging &&
+ "bg-wash-3 ring-1 ring-wash-30 dark:bg-wash-5 dark:ring-wash-60",
)}
>
{documents.map((doc) => (
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 3c2660758b6..4c73a844220 100644
--- a/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
+++ b/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
@@ -25,7 +25,7 @@ import { cn } from "@/lib/utils";
import { isTauri } from "@/lib/api-base";
import { SOURCE_FOLDER_DESCRIPTION, sourceFolderUnavailableMessage } from "./source-folder-copy";
import { RefreshGlyph } from "@/lib/refresh-icon";
-import { FolderAddIcon, FolderSyncIcon } from "@hugeicons/core-free-icons";
+import { FolderSyncIcon, PlusSignIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { MoreHorizontalIcon } from "lucide-react";
import { useState } from "react";
@@ -338,7 +338,7 @@ export function LinkedFoldersManager({
<Spinner className="size-4 shrink-0" />
) : (
<HugeiconsIcon
- icon={FolderAddIcon}
+ icon={PlusSignIcon}
strokeWidth={1.75}
className="size-4 shrink-0 text-muted-foreground"
/>
diff --git a/studio/frontend/src/features/rag/components/project-folder-picker.tsx b/studio/frontend/src/features/rag/components/project-folder-picker.tsx
index 12a3ff65466..c0559c85d5f 100644
--- a/studio/frontend/src/features/rag/components/project-folder-picker.tsx
+++ b/studio/frontend/src/features/rag/components/project-folder-picker.tsx
@@ -12,8 +12,8 @@ import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import {
Cancel01Icon,
- FolderAddIcon,
FolderSyncIcon,
+ PlusSignIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
@@ -148,7 +148,7 @@ export function ProjectFolderPicker({
<Spinner className="size-4 shrink-0" />
) : (
<HugeiconsIcon
- icon={FolderAddIcon}
+ icon={PlusSignIcon}
strokeWidth={1.75}
className="size-4 shrink-0 text-muted-foreground"
/>
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 f2cc779b7dd..d158da2a061 100644
--- a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
+++ b/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
@@ -7,10 +7,9 @@ import {
registerNativeAttachmentPath,
useNativeDropTarget,
} from "@/features/native-intents";
-import { FolderPlusIcon } from "@/lib/hugeicons-derived";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
-import { FileEmpty02Icon } from "@hugeicons/core-free-icons";
+import { FileEmpty02Icon, PlusSignIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { XIcon } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
@@ -364,7 +363,8 @@ export function ProjectSourceDropzone({
}}
className={cn(
"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",
+ dragging &&
+ "border-wash-30 bg-wash-3 dark:border-wash-60 dark:bg-wash-5",
disabled && "opacity-60",
)}
>
@@ -389,7 +389,7 @@ export function ProjectSourceDropzone({
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}
+ icon={PlusSignIcon}
strokeWidth={1.75}
className="size-6 text-muted-foreground"
/>
@@ -442,7 +442,7 @@ export function ProjectSourceDropzone({
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}
+ icon={PlusSignIcon}
strokeWidth={1.75}
className="size-4"
/>
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 1759324f237..2bf14b1216b 100644
--- a/studio/frontend/src/features/rag/components/project-sources-panel.tsx
+++ b/studio/frontend/src/features/rag/components/project-sources-panel.tsx
@@ -6,9 +6,9 @@ import { useNativeFileDrop } from "@/features/native-intents";
import type { NativeIntent } from "@/features/native-intents";
import { isTauri } from "@/lib/api-base";
import { MAX_FOLDER_FILES, openFolderPicker } from "@/lib/dropped-folders";
-import { FolderPlusIcon } from "@/lib/hugeicons-derived";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
+import { PlusSignIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useMemo, useRef } from "react";
import {
@@ -167,6 +167,7 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
onClick={pickFolder}
title="Upload every supported file in a folder. Linking a folder that stays in sync needs the desktop app."
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add folder
</Button>
);
@@ -196,12 +197,13 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
<div
className={cn(
"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",
+ dragging &&
+ "border-wash-30 bg-wash-3 dark:border-wash-60 dark:bg-wash-5",
)}
>
<span className="flex size-12 items-center justify-center rounded-full bg-muted text-muted-foreground">
<HugeiconsIcon
- icon={FolderPlusIcon}
+ icon={PlusSignIcon}
strokeWidth={1.75}
className="size-6"
/>
@@ -223,6 +225,7 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
disabled={loading}
onClick={() => fileInputRef.current?.click()}
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add sources
</Button>
{addFolderButton}
@@ -235,7 +238,8 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
<div
className={cn(
"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",
+ dragging &&
+ "border-wash-30 bg-wash-3 dark:border-wash-60 dark:bg-wash-5",
)}
>
<div className="flex items-center justify-between gap-3">
@@ -253,6 +257,7 @@ export function ProjectSourcesPanel({ projectId }: { projectId: string }) {
className="border-none bg-background text-foreground shadow-[0_2px_8px_-2px_rgba(0,0,0,0.16)] hover:bg-background/80 dark:bg-card dark:shadow-none dark:hover:bg-accent/50"
onClick={() => fileInputRef.current?.click()}
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add sources
</Button>
</div>
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 82c6c657027..ae93304699c 100644
--- a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
+++ b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
@@ -18,8 +18,9 @@ import { HugeiconsIcon } from "@hugeicons/react";
import {
AttachmentIcon,
FileDatabaseIcon,
- FolderAttachmentIcon,
Folder02Icon,
+ FolderAttachmentIcon,
+ PlusSignIcon,
} from "@hugeicons/core-free-icons";
import {
AttachmentKindIcon,
@@ -1489,6 +1490,7 @@ export function ThreadDocumentsBar({
onClick={pickFiles}
className="unsloth-files-panel-action"
>
+ <HugeiconsIcon icon={PlusSignIcon} className="size-4" />
Add files
</button>
</HeaderTip>
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 07b97b09461..4f4384c0281 100644
--- a/studio/frontend/src/features/recipe-studio/components/block-sheet.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/block-sheet.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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { Input } from "@/components/ui/input";
@@ -24,7 +25,6 @@ import {
} from "@hugeicons/core-free-icons";
import {
ArrowLeftIcon,
- ChevronRightIcon,
} from "lucide-react";
import { Tick02Icon } from "@/lib/tick-icon";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -232,7 +232,8 @@ function BlockSheetButton({
</p>
</div>
{trailing === "chevron" ? (
- <ChevronRightIcon
+ <HugeiconsIcon
+ icon={ChevronRightStandardIcon}
className="size-3.5 text-muted-foreground"
/>
) : trailing === "drag" ? (
diff --git a/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsx b/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsx
index 7c9c392fcef..5a26cf98120 100644
--- a/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/controls/run-validate-floating-controls.tsx
@@ -31,6 +31,7 @@ export function RunValidateFloatingControls({
className="pointer-events-auto flex items-center gap-2"
>
<Button
+ variant="dark"
type="button"
className="corner-squircle h-11 px-5"
onClick={() => onOpenRunDialog(runDialogKind)}
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 9bafff7b19a..3d669097416 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
@@ -55,7 +55,7 @@ export function ExecutionSidebar({
className={cn(
"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]"
+ ? "border-ring-strong bg-wash-5"
: "hover:bg-muted/25",
statusRightBorder(execution.status),
)}
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 9a143d310f1..645b13bf998 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
@@ -1,15 +1,13 @@
// 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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { useEffect, useMemo, useState, type ReactElement } from "react";
import {
CheckmarkCircle02Icon,
Copy01Icon,
Key01Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronRightIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import { Button } from "@/components/ui/button";
import {
@@ -201,7 +199,7 @@ export function PublishExecutionDialog({
<Button asChild={true}>
<a href={publishedUrl} target="_blank" rel="noreferrer">
Open repo
- <ChevronRightIcon className="ml-2 size-4" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="ml-2 size-4" />
</a>
</Button>
<Button variant="ghost" onClick={() => onOpenChange(false)}>
@@ -340,7 +338,7 @@ export function PublishExecutionDialog({
>
Cancel
</Button>
- <Button onClick={() => void handlePublish()} disabled={!canSubmit}>
+ <Button variant="dark" onClick={() => void handlePublish()} disabled={!canSubmit}>
{publishing ? "Publishing..." : "Publish to Hugging Face"}
</Button>
</DialogFooter>
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 d67689d7e85..e319175cba6 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 =
- "btn-fill corner-squircle group h-11 w-11 rounded-full border-0 p-0 text-muted-foreground hover:text-primary";
+ "btn-fill corner-squircle group h-11 w-11 rounded-full border-0 p-0 text-muted-foreground hover:text-foreground";
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 dc3cecd9826..17e18b4993c 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
@@ -1,6 +1,8 @@
// 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 { PlusSignIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Textarea } from "@/components/ui/textarea";
@@ -269,6 +271,7 @@ function AuxNodeBase({
disabled={executionLocked}
onClick={addOption}
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add option
</Button>
</div>
diff --git a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsx b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsx
index 73e1d4650b1..940c32bf2fc 100644
--- a/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/rf-ui/base-handle.tsx
@@ -17,7 +17,7 @@ export function BaseHandle({
<Handle
{...props}
className={cn(
- "h-[calc(12px*var(--ui-space-scale,1))] w-[calc(12px*var(--ui-space-scale,1))] rounded-full border border-border/80 bg-muted shadow-[0_0_0_1px_hsl(var(--background))] transition-all hover:scale-110 hover:border-primary/70 hover:bg-primary/20",
+ "h-[calc(12px*var(--ui-space-scale,1))] w-[calc(12px*var(--ui-space-scale,1))] rounded-full border border-border/80 bg-muted shadow-[0_0_0_1px_hsl(var(--background))] transition-all hover:scale-110 hover:border-wash-70 hover:bg-wash-20",
className,
)}
>
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 ceee7bc0910..39df9eb481d 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
@@ -1,6 +1,8 @@
// 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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import {
Collapsible,
CollapsibleContent,
@@ -33,9 +35,6 @@ import { CollapsibleSectionTriggerButton } from "../shared/collapsible-section-t
import { AvailableVariables } from "../shared/available-variables";
import { FieldLabel } from "../shared/field-label";
import { NameField } from "../shared/name-field";
-import {
- ChevronRightIcon,
-} from "lucide-react";
const CODE_LANG_OPTIONS = [
"python",
@@ -187,7 +186,8 @@ export function LlmGeneralTab({
<div className="mt-2 space-y-1.5">
{!hasModelProviders && (
<p className="flex items-start gap-2">
- <ChevronRightIcon
+ <HugeiconsIcon
+ icon={ChevronRightStandardIcon}
className="mt-0.5 size-3.5 shrink-0 text-primary"
/>
<span>Add a Provider connection step in AI generation → Setup.</span>
@@ -195,7 +195,8 @@ export function LlmGeneralTab({
)}
{!hasModelConfigs && (
<p className="flex items-start gap-2">
- <ChevronRightIcon
+ <HugeiconsIcon
+ icon={ChevronRightStandardIcon}
className="mt-0.5 size-3.5 shrink-0 text-primary"
/>
<span>Add a Model preset step, connect it, then choose it below.</span>
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 4b75fd3218f..9b0fb518919 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
@@ -11,6 +11,8 @@ import {
} from "@/components/ui/empty";
import { Input } from "@/components/ui/input";
import { Textarea } from "@/components/ui/textarea";
+import { PlusSignIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { type ReactElement } from "react";
import type { LlmConfig, Score } from "../../types";
import { FieldLabel } from "../shared/field-label";
@@ -103,6 +105,7 @@ export function LlmScoresTab({
/>
{scores.length > 0 && (
<Button type="button" size="xs" variant="outline" onClick={addScore}>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add scorer
</Button>
)}
@@ -116,7 +119,8 @@ export function LlmScoresTab({
</EmptyDescription>
</EmptyHeader>
<EmptyContent className="max-w-none">
- <Button type="button" size="sm" onClick={addScore}>
+ <Button variant="secondary" type="button" size="sm" onClick={addScore}>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add first scorer
</Button>
</EmptyContent>
@@ -198,6 +202,7 @@ export function LlmScoresTab({
variant="outline"
onClick={() => addOption(index)}
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add option
</Button>
</div>
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 8061b79c45b..8312d6667d3 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
@@ -1,6 +1,8 @@
// 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 { ChevronDownStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
@@ -19,7 +21,6 @@ import {
import { cn } from "@/lib/utils";
import { RefreshGlyph } from "@/lib/refresh-icon";
import { Link } from "@tanstack/react-router";
-import { ChevronDownIcon, ChevronRightIcon } from "lucide-react";
import { ggufVariantDisplayLabel } from "@/features/hub";
import {
type ComponentPropsWithoutRef,
@@ -310,7 +311,7 @@ const SelectorTrigger = forwardRef<HTMLButtonElement, SelectorTriggerProps>(
{ggufVariant}
</Badge>
) : null}
- <ChevronDownIcon className="size-4 shrink-0 text-muted-foreground" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-4 shrink-0 text-muted-foreground" />
</button>
);
},
@@ -349,9 +350,9 @@ function LocalModelRow({
>
{expandable ? (
expanded ? (
- <ChevronDownIcon className="size-3.5 shrink-0 text-muted-foreground" />
+ <HugeiconsIcon icon={ChevronDownStandardIcon} className="size-3.5 shrink-0 text-muted-foreground" />
) : (
- <ChevronRightIcon className="size-3.5 shrink-0 text-muted-foreground" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3.5 shrink-0 text-muted-foreground" />
)
) : (
<span className="size-3.5 shrink-0" />
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 1a10df5d9f6..b788acf927d 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
@@ -82,7 +82,7 @@ export function ModelProviderDialog({
type="button"
className={`rounded-xl border px-4 py-3 text-left transition-colors ${
isLocal
- ? "border-ring-strong bg-primary/5"
+ ? "border-ring-strong bg-wash-5"
: "border-border/60 bg-muted/10 hover:border-border"
}`}
onClick={() =>
@@ -105,7 +105,7 @@ export function ModelProviderDialog({
type="button"
className={`rounded-xl border px-4 py-3 text-left transition-colors ${
!isLocal
- ? "border-ring-strong bg-primary/5"
+ ? "border-ring-strong bg-wash-5"
: "border-border/60 bg-muted/10 hover:border-border"
}`}
onClick={() => onUpdate({ is_local: false })}
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 0402e12cb29..232342cc0b3 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/preview-dialog.tsx
@@ -343,7 +343,7 @@ function RunDialogBody({
<div className="grid grid-cols-2 gap-2">
<Button
type="button"
- variant={kind === "preview" ? "default" : "outline"}
+ variant={kind === "preview" ? "dark" : "outline"}
className="corner-squircle min-h-10 justify-center whitespace-normal px-3 text-center"
aria-pressed={kind === "preview"}
onClick={() => onKindChange("preview")}
@@ -352,7 +352,7 @@ function RunDialogBody({
</Button>
<Button
type="button"
- variant={kind === "full" ? "default" : "outline"}
+ variant={kind === "full" ? "dark" : "outline"}
className="corner-squircle min-h-10 justify-center whitespace-normal px-3 text-center"
aria-pressed={kind === "full"}
onClick={() => onKindChange("full")}
@@ -693,6 +693,7 @@ function RunDialogBody({
{validateLoading ? "Checking..." : "Check recipe"}
</Button>
<Button
+ variant="dark"
type="button"
onClick={onRun}
disabled={loading || isFullRunNameMissing}
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 6048a703fb4..8f79929c7e2 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
@@ -1,6 +1,8 @@
// 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 { PlusSignIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { Button } from "@/components/ui/button";
import {
Collapsible,
@@ -187,7 +189,8 @@ export function CategoryDialog({
}
}}
/>
- <Button type="button" size="sm" onClick={handleAddCondition}>
+ <Button variant="secondary" type="button" size="sm" onClick={handleAddCondition}>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add rule
</Button>
</div>
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 a38e703a3d1..66274b26b13 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
@@ -1349,8 +1349,8 @@ export function SeedDialog({
key={`row-${rowIdx}`}
className={cn(
rowHasExpandableText(row) &&
- "cursor-pointer hover:bg-primary/[0.06]",
- expandedPreviewRows[rowIdx] && "bg-primary/[0.05]",
+ "cursor-pointer hover:bg-wash-6",
+ expandedPreviewRows[rowIdx] && "bg-wash-5",
)}
onClick={() => {
const canExpand = rowHasExpandableText(row);
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 3991060e028..809792d62d6 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
@@ -1,10 +1,10 @@
import { useCallback, useEffect, useRef } from "react";
import { consumeNativePathToken, useNativeFileDrop } from "@/features/native-intents";
import {
- CloudUploadIcon,
+ Alert02Icon,
Cancel01Icon,
CheckmarkCircle02Icon,
- Alert02Icon,
+ PlusSignIcon,
} from "@hugeicons/core-free-icons";
import { Spinner } from "@/components/ui/spinner";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -249,7 +249,7 @@ export function UnstructuredDropZone({
// through to the window instead of saying the block is busy.
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-ring-strong bg-wash-5"
: "border-muted-foreground/25 hover:border-muted-foreground/50"
} ${disabled ? "cursor-default opacity-50" : "cursor-pointer"}`}
ref={dropRef}
@@ -257,7 +257,7 @@ export function UnstructuredDropZone({
onClick={handleClick}
>
<HugeiconsIcon
- icon={CloudUploadIcon}
+ icon={PlusSignIcon}
className="text-muted-foreground mb-2 size-8"
/>
<p className="text-muted-foreground text-sm">
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 187ad3da910..faefbc2b846 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
@@ -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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
@@ -15,9 +16,6 @@ import {
Delete02Icon,
PlusSignIcon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronRightIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import { type ReactElement, useEffect, useMemo, useRef, useState } from "react";
import { listMcpTools } from "../../api";
@@ -130,7 +128,8 @@ function McpServerCard({
type="button"
className="flex min-w-0 flex-1 items-start gap-3 text-left"
>
- <ChevronRightIcon
+ <HugeiconsIcon
+ icon={ChevronRightStandardIcon}
className={`mt-0.5 size-4 shrink-0 text-muted-foreground transition-transform ${
open ? "rotate-90" : ""
}`}
@@ -641,6 +640,7 @@ export function ToolProfileDialog({
variant="outline"
onClick={() => setActiveTab("servers")}
>
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
Add servers first
</Button>
</div>
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 f269e345b5e..4ba9dce312f 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
@@ -231,7 +231,7 @@ export function GithubCrawlerEasyView({
>
Advanced (drag and drop canvas)
</button>
- <Button type="button" size="lg" onClick={onRun} disabled={runLoading}>
+ <Button variant="dark" type="button" size="lg" onClick={onRun} disabled={runLoading}>
<HugeiconsIcon icon={PlayCircleIcon} className="size-4" />
{runLoading ? "Running..." : "Run"}
</Button>
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 dc0bdb37bf4..056994b7c5a 100644
--- a/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx
+++ b/studio/frontend/src/features/recipe-studio/recipe-studio-page.tsx
@@ -718,6 +718,7 @@ export function RecipeStudioPage({
</div>
<div className="mt-5 flex flex-col justify-center gap-2 sm:flex-row">
<Button
+ variant="dark"
type="button"
className="corner-squircle"
onClick={openSourceBlockSheet}
diff --git a/studio/frontend/src/features/recipe-studio/utils/handle-layout.ts b/studio/frontend/src/features/recipe-studio/utils/handle-layout.ts
index 508bb9c8477..a355effacb0 100644
--- a/studio/frontend/src/features/recipe-studio/utils/handle-layout.ts
+++ b/studio/frontend/src/features/recipe-studio/utils/handle-layout.ts
@@ -2,7 +2,7 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
export const NODE_HANDLE_CLASS =
- "pointer-events-auto !size-2.5 !border-border/80 !bg-muted shadow-sm hover:!border-primary/70 hover:!bg-primary/20";
+ "pointer-events-auto !size-2.5 !border-border/80 !bg-muted shadow-sm hover:!border-wash-70 hover:!bg-wash-20";
export const AUX_HANDLE_CLASS =
"!size-2 !border-border/80 !bg-muted/80 shadow-sm";
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 8ef44b44f34..fc8bf35c74e 100644
--- a/studio/frontend/src/features/recipe-studio/utils/ui-tones.ts
+++ b/studio/frontend/src/features/recipe-studio/utils/ui-tones.ts
@@ -40,7 +40,7 @@ export const RECIPE_STUDIO_WARNING_ICON_TONE =
"text-amber-600 dark:text-amber-400";
export const RECIPE_STUDIO_ONBOARDING_SURFACE_TONE =
- "border-primary/20 bg-primary/[0.045]";
+ "border-wash-20 bg-wash-5";
export const RECIPE_STUDIO_ONBOARDING_ICON_TONE =
"bg-primary/10 text-primary";
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 37dc41bcb90..af5ae560613 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
@@ -300,7 +300,7 @@ export function RemoteCodeConsentDialog() {
<AlertDialogFooter>
<AlertDialogCancel>Cancel</AlertDialogCancel>
{blocked ? null : (
- <AlertDialogAction onClick={() => resolve(true)}>
+ <AlertDialogAction variant="dark" onClick={() => resolve(true)}>
Enable and continue
</AlertDialogAction>
)}
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 0f23e1e0db5..416f26dadc5 100644
--- a/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
@@ -223,7 +223,7 @@ export function ArchivedChatsView() {
: t("settings.data.library.unarchiveAll")}
</Button>
<Button
- variant="ghost"
+ variant="destructive"
size="sm"
className="text-destructive hover:bg-destructive/10 hover:text-destructive"
disabled={busy || filtered.length === 0}
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 ffc9bccfe60..d1a80bf056d 100644
--- a/studio/frontend/src/features/settings/components/archived-media-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/archived-media-dialog.tsx
@@ -595,7 +595,7 @@ export function ArchivedMediaView({ kind }: { kind: ArchivedMediaKind }) {
: t("settings.data.library.unarchiveAll")}
</Button>
<Button
- variant="ghost"
+ variant="destructive"
size="sm"
disabled={busy || (rows.length === 0 && !hasMore)}
className="text-destructive hover:bg-destructive/10 hover:text-destructive"
diff --git a/studio/frontend/src/features/settings/components/cache-storage-rows.tsx b/studio/frontend/src/features/settings/components/cache-storage-rows.tsx
index a693c6af851..5a0202b57d1 100644
--- a/studio/frontend/src/features/settings/components/cache-storage-rows.tsx
+++ b/studio/frontend/src/features/settings/components/cache-storage-rows.tsx
@@ -246,7 +246,7 @@ export function CacheStorageRows() {
: t("settings.resources.storage.caches.detailsAction")}
</Button>
<Button
- variant="outline"
+ variant="destructive"
size="sm"
className="h-8"
disabled={
@@ -342,9 +342,9 @@ export function CacheStorageRows() {
{t("common.cancel")}
</Button>
<Button
+ variant="destructive"
// A failed measurement is the same hazard as one still running.
disabled={loading || clearing || loadError !== null}
- className="bg-destructive hover:bg-destructive/90 text-destructive-foreground"
onClick={() =>
void runPurge(
target?.kind === "single" ? [target.key] : bulkKeys,
diff --git a/studio/frontend/src/features/settings/components/change-password-dialog.tsx b/studio/frontend/src/features/settings/components/change-password-dialog.tsx
index d2a54230595..8b4f00e35cd 100644
--- a/studio/frontend/src/features/settings/components/change-password-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/change-password-dialog.tsx
@@ -372,7 +372,7 @@ export function ChangePasswordDialog({
</div>
</div>
<DialogFooter className="mt-5">
- <Button type="submit" disabled={disabled}>
+ <Button variant="dark" type="submit" disabled={disabled}>
{submitting ? copy.submitting : copy.submit}
</Button>
</DialogFooter>
diff --git a/studio/frontend/src/features/settings/components/create-key-form.tsx b/studio/frontend/src/features/settings/components/create-key-form.tsx
index c83c81da12c..3757283f86b 100644
--- a/studio/frontend/src/features/settings/components/create-key-form.tsx
+++ b/studio/frontend/src/features/settings/components/create-key-form.tsx
@@ -6,6 +6,8 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
+import { PlusSignIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { useId, useState } from "react";
import { createApiKey } from "../api/api-keys";
import { apiKeyActionMessage } from "./api-key-action-message";
@@ -79,7 +81,8 @@ export function CreateKeyForm({
);
})}
</div>
- <Button type="submit" size="sm" disabled={loading || !name.trim()}>
+ <Button variant="secondary" type="submit" size="sm" disabled={loading || !name.trim()}>
+ {!loading && <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />}
{loading
? t("settings.apiKeys.creating")
: t("settings.apiKeys.createToken")}
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 03562c9e3ca..74d486ee413 100644
--- a/studio/frontend/src/features/settings/components/decision-try-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/decision-try-dialog.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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { Button } from "@/components/ui/button";
import {
Dialog,
@@ -32,7 +33,6 @@ import { cn } from "@/lib/utils";
import {
Add01Icon,
AlertCircleIcon,
- ArrowDown01Icon,
BookOpen01Icon,
Cancel01Icon,
CodeIcon,
@@ -1195,7 +1195,7 @@ export function DecisionTryDialog({
/>
{t("decisions.examples")}
<HugeiconsIcon
- icon={ArrowDown01Icon}
+ icon={ChevronDownStandardIcon}
strokeWidth={1.75}
className="size-3.5"
/>
@@ -1219,13 +1219,14 @@ export function DecisionTryDialog({
</DropdownMenuContent>
</DropdownMenu>
<Button
+ variant="dark"
type="button"
onClick={() => void run()}
aria-busy={running}
className="gap-2 pl-3.5 pr-2"
>
{running ? (
- <Spinner className="size-4 text-primary-foreground" />
+ <Spinner className="size-4 text-background" />
) : (
<HugeiconsIcon
icon={PlayIcon}
@@ -1234,7 +1235,7 @@ export function DecisionTryDialog({
/>
)}
{t("decisions.run")}
- <kbd className="rounded-full bg-primary-foreground/20 px-1.5 py-0.5 font-mono text-ui-10 text-primary-foreground/90">
+ <kbd className="rounded-full bg-background/20 px-1.5 py-0.5 font-mono text-ui-10 text-background/90">
{SHORTCUT}
</kbd>
</Button>
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 6fe1e4bff91..b6812ee3918 100644
--- a/studio/frontend/src/features/settings/components/desktop-repair-control.tsx
+++ b/studio/frontend/src/features/settings/components/desktop-repair-control.tsx
@@ -84,7 +84,7 @@ export function DesktopRepairControl(): ReactElement | null {
setConfirmOpen(false);
void repair.repairInstall();
}}
- className="bg-destructive hover:bg-destructive/90 text-destructive-foreground"
+ variant="destructive"
>
{t("settings.general.repairInstall.confirmAction")}
</Button>
diff --git a/studio/frontend/src/features/settings/components/desktop-update-control.tsx b/studio/frontend/src/features/settings/components/desktop-update-control.tsx
index fc7c7c12ed6..6db730c7ab5 100644
--- a/studio/frontend/src/features/settings/components/desktop-update-control.tsx
+++ b/studio/frontend/src/features/settings/components/desktop-update-control.tsx
@@ -81,7 +81,7 @@ export function DesktopUpdateControl(): ReactElement | null {
{available && update.isExternalServer ? null : (
<Button
size="sm"
- variant={available ? "default" : "outline"}
+ variant={available ? "dark" : "outline"}
disabled={busy}
aria-busy={busy}
onClick={() => {
diff --git a/studio/frontend/src/features/settings/components/developer-mode-section.tsx b/studio/frontend/src/features/settings/components/developer-mode-section.tsx
index c733fe6a064..4efbf565cc9 100644
--- a/studio/frontend/src/features/settings/components/developer-mode-section.tsx
+++ b/studio/frontend/src/features/settings/components/developer-mode-section.tsx
@@ -179,7 +179,7 @@ export function DeveloperModeSection() {
setConfirmOpen(false);
void save(true);
}}
- className="bg-destructive hover:bg-destructive/90 text-destructive-foreground"
+ variant="destructive"
>
{t("settings.general.developerMode.confirmAction")}
</Button>
diff --git a/studio/frontend/src/features/settings/components/dictation-dictionary-view.tsx b/studio/frontend/src/features/settings/components/dictation-dictionary-view.tsx
index 9c929191986..8d7df6af005 100644
--- a/studio/frontend/src/features/settings/components/dictation-dictionary-view.tsx
+++ b/studio/frontend/src/features/settings/components/dictation-dictionary-view.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 { ChevronLeftStandardIcon } from "@/lib/chevron-icons";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { useT } from "@/i18n";
@@ -8,9 +9,6 @@ import {
Delete02Icon,
PlusSignIcon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronLeftIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import { useState } from "react";
import { useVoiceSettingsStore } from "../stores/voice-settings-store";
@@ -48,7 +46,7 @@ export function DictationDictionaryView({ onBack }: { onBack: () => void }) {
aria-label={t("settings.voice.dictionary.backToVoice")}
className="settings-back-button inline-flex size-7 shrink-0 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
- <ChevronLeftIcon className="size-4 rtl:rotate-180" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4 rtl:rotate-180" />
</button>
<h1 className="font-heading text-xl font-semibold">
{t("settings.voice.title")}
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 68de5141f0c..c93628ceea4 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
@@ -18,7 +18,6 @@ import {
loadKeylessApiAccess,
updateKeylessApiAccess,
} from "@/features/settings/api/keyless-api-access";
-import { cn } from "@/lib/utils";
import { LaptopIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useEffect, useState } from "react";
@@ -280,11 +279,12 @@ export function KeylessApiAccessSection({
Cancel
</Button>
<Button
+ variant={
+ pending === "full" || pending === "tools"
+ ? "destructive"
+ : "dark"
+ }
disabled={saving}
- className={cn(
- (pending === "full" || pending === "tools") &&
- "bg-destructive hover:bg-destructive/90 text-destructive-foreground",
- )}
onClick={applyPending}
>
{pending ? CONFIRM_COPY[pending].action : ""}
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 2c1361983b9..02488059bb4 100644
--- a/studio/frontend/src/features/settings/components/lan-access-section.tsx
+++ b/studio/frontend/src/features/settings/components/lan-access-section.tsx
@@ -481,7 +481,7 @@ export function LanAccessSection() {
<Button
type="button"
size="sm"
- variant={stopAction ? "outline" : "default"}
+ variant={stopAction ? "outline" : "dark"}
className="shrink-0"
onClick={stopAction ? stop : start}
disabled={actionDisabled}
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 46efc889efc..aa612c4d0e2 100644
--- a/studio/frontend/src/features/settings/components/recent-dictations-view.tsx
+++ b/studio/frontend/src/features/settings/components/recent-dictations-view.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 { ChevronLeftStandardIcon } from "@/lib/chevron-icons";
import {
AlertDialog,
AlertDialogAction,
@@ -40,9 +41,6 @@ import {
Search01Icon,
ViewIcon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronLeftIcon,
-} from "lucide-react";
import { MessageCircleIcon } from "@/lib/hugeicons-derived";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate } from "@tanstack/react-router";
@@ -208,7 +206,7 @@ export function RecentDictationsView({
}
className="settings-back-button inline-flex size-7 shrink-0 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
>
- <ChevronLeftIcon className="size-4 rtl:rotate-180" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4 rtl:rotate-180" />
</button>
<h1 className="font-heading text-xl font-semibold">
{t("settings.voice.title")}
@@ -260,7 +258,7 @@ export function RecentDictationsView({
{t("settings.voice.recents.copy")}
</Button>
<Button
- variant="outline"
+ variant="destructive"
size="sm"
onClick={() =>
{
@@ -322,7 +320,7 @@ export function RecentDictationsView({
</SelectContent>
</Select>
<Button
- variant="outline"
+ variant="destructive"
size="sm"
onClick={() => setPendingDelete({ kind: "all" })}
className="shrink-0 text-destructive hover:text-destructive"
@@ -509,7 +507,7 @@ export function RecentDictationsView({
<AlertDialogCancel>{t("common.cancel")}</AlertDialogCancel>
{pendingDelete?.kind === "one" && pendingDelete.dictation.chatId ? (
<AlertDialogAction
- variant="outline"
+ variant="destructive"
className="text-destructive hover:text-destructive"
onClick={(event) => {
// Close only through state so the dismissal can't race a
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 d7a9e08398e..fbc3d02d77c 100644
--- a/studio/frontend/src/features/settings/components/remote-access-section.tsx
+++ b/studio/frontend/src/features/settings/components/remote-access-section.tsx
@@ -401,7 +401,7 @@ export function RemoteAccessSection() {
<Button
type="button"
size="sm"
- variant={stopAction ? "outline" : "default"}
+ variant={stopAction ? "outline" : "dark"}
className="shrink-0"
onClick={stopAction ? stop : start}
disabled={actionDisabled}
diff --git a/studio/frontend/src/features/settings/components/stt-download-prompt.tsx b/studio/frontend/src/features/settings/components/stt-download-prompt.tsx
index 61bafd2503f..f2d430f8c00 100644
--- a/studio/frontend/src/features/settings/components/stt-download-prompt.tsx
+++ b/studio/frontend/src/features/settings/components/stt-download-prompt.tsx
@@ -144,6 +144,7 @@ export function SttDownloadPrompt() {
<AlertDialogFooter>
<AlertDialogCancel>{t("common.cancel")}</AlertDialogCancel>
<AlertDialogAction
+ variant="dark"
onClick={(event) => {
event.preventDefault();
const request = pending;
diff --git a/studio/frontend/src/features/settings/components/usage-examples.tsx b/studio/frontend/src/features/settings/components/usage-examples.tsx
index 03d06b04180..44d473b86d0 100644
--- a/studio/frontend/src/features/settings/components/usage-examples.tsx
+++ b/studio/frontend/src/features/settings/components/usage-examples.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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import {
Select,
SelectContent,
@@ -30,7 +31,6 @@ import { copyToClipboard } from "@/lib/copy-to-clipboard";
import { Tick02Icon } from "@/lib/tick-icon";
import { cn } from "@/lib/utils";
import {
- ArrowRight01Icon,
ArrowUpRight01Icon,
BotIcon,
Copy01Icon,
@@ -945,7 +945,7 @@ export function UsageExamples({
>
<HugeiconsIcon icon={BotIcon} className="size-3.5" />
{t("settings.apiKeys.openAgentsTab")}
- <HugeiconsIcon icon={ArrowRight01Icon} className="size-3" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-3" />
</button>
) : (
<a
diff --git a/studio/frontend/src/features/settings/stores/appearance-custom-store.ts b/studio/frontend/src/features/settings/stores/appearance-custom-store.ts
index 36dd44ceb45..7ac59b78d6f 100644
--- a/studio/frontend/src/features/settings/stores/appearance-custom-store.ts
+++ b/studio/frontend/src/features/settings/stores/appearance-custom-store.ts
@@ -920,6 +920,8 @@ export function applyCustomizationToDocument(
setVar("--foreground-base", colors.foreground);
// Clear the token older builds wrote inline; it would pin the ink.
setVar("--foreground", null);
+ // Black buttons follow a custom ink.
+ setVar("--action-base", colors.foreground ? "var(--foreground)" : null);
// keep the full-width inset from making narrow panes smaller than wide.
setVar(
"--custom-chat-max-width",
diff --git a/studio/frontend/src/features/settings/tabs/accounts-tab.tsx b/studio/frontend/src/features/settings/tabs/accounts-tab.tsx
index 7579156224c..c82c76f83ce 100644
--- a/studio/frontend/src/features/settings/tabs/accounts-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/accounts-tab.tsx
@@ -4,12 +4,13 @@
import { useEffect, useRef, useState, type SyntheticEvent } from "react";
import {
Add01Icon,
- Search01Icon,
Copy01Icon,
CubeIcon,
Delete02Icon,
Key01Icon,
MoreHorizontalIcon,
+ PlusSignIcon,
+ Search01Icon,
UserBlock01Icon,
UserCheck01Icon,
} from "@hugeicons/core-free-icons";
@@ -584,6 +585,7 @@ function OwnerAccountsTab() {
variant="dark"
disabled={busy || !username.trim()}
>
+ {!busy && <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />}
{busy && <Spinner label={t("common.loading")} />}
{t("settings.accounts.create")}
</Button>
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 72661184ffe..7610b956c4d 100644
--- a/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/api-keys-tab.tsx
@@ -261,7 +261,7 @@ export function ApiKeysTab() {
<Button
onClick={confirmRevoke}
disabled={revoking}
- className="bg-destructive hover:bg-destructive/90 text-destructive-foreground"
+ variant="destructive"
>
{revoking
? t("settings.apiKeys.revoking")
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 70b6abb9fc8..79bcffe8973 100644
--- a/studio/frontend/src/features/settings/tabs/browser-agent-settings.tsx
+++ b/studio/frontend/src/features/settings/tabs/browser-agent-settings.tsx
@@ -15,7 +15,7 @@ import {
} from "@/features/browser";
import { useT } from "@/i18n";
import { CursorInWindowIcon } from "@/lib/browser-use-icon";
-import { Add01Icon, Cancel01Icon } from "@hugeicons/core-free-icons";
+import { Add01Icon, Cancel01Icon, PlusSignIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useState } from "react";
import { SettingsRow } from "../components/settings-row";
@@ -175,7 +175,8 @@ function PermissionsTable() {
}}
className="h-8 flex-1"
/>
- <Button type="submit" size="sm">
+ <Button variant="secondary" type="submit" size="sm">
+ <HugeiconsIcon icon={PlusSignIcon} data-icon="inline-start" />
{t("browser.agentSettings.add")}
</Button>
<Button type="button" variant="ghost" size="sm" onClick={() => setDraft(null)}>
diff --git a/studio/frontend/src/features/settings/tabs/browser-tab.tsx b/studio/frontend/src/features/settings/tabs/browser-tab.tsx
index 215709a8443..156b25efad2 100644
--- a/studio/frontend/src/features/settings/tabs/browser-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/browser-tab.tsx
@@ -543,7 +543,7 @@ export function BrowserTab() {
native ? "browser.native.clearDataSettingDescription" : "browser.clearDataSettingDescription",
)}
>
- <Button variant="outline" size="sm" onClick={() => setClearOpen(true)}>
+ <Button variant="destructive" size="sm" onClick={() => setClearOpen(true)}>
{t("browser.menu.clearData")}
</Button>
</SettingsRow>
diff --git a/studio/frontend/src/features/settings/tabs/data-tab.tsx b/studio/frontend/src/features/settings/tabs/data-tab.tsx
index 981c493abca..abd084ca02a 100644
--- a/studio/frontend/src/features/settings/tabs/data-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/data-tab.tsx
@@ -71,6 +71,7 @@ import { useLocale, useT } from "@/i18n";
import { isTauri } from "@/lib/api-base";
import {
ChevronDownStandardIcon,
+ ChevronLeftStandardIcon,
ChevronRightStandardIcon,
} from "@/lib/chevron-icons";
import { isDownloadCancelled, pickNativeChatImport } from "@/lib/native-files";
@@ -83,11 +84,7 @@ import {
Image03Icon,
LibrariesIcon,
Tick02Icon,
- Upload01Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronLeftIcon,
-} from "lucide-react";
import { AiSpeechIcon, MessageCircleIcon } from "@/lib/hugeicons-derived";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate, useRouterState } from "@tanstack/react-router";
@@ -672,7 +669,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
aria-label={t("settings.data.backToData")}
className="settings-back-button inline-flex size-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
- <ChevronLeftIcon className="size-4 rtl:rotate-180" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4 rtl:rotate-180" />
</button>
<h1 className="text-xl font-semibold font-heading">
{t("settings.data.title")}
@@ -745,7 +742,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
aria-label={t("settings.data.backToData")}
className="settings-back-button inline-flex size-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
- <ChevronLeftIcon className="size-4 rtl:rotate-180" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4 rtl:rotate-180" />
</button>
<h1 className="text-xl font-semibold font-heading">
{t("settings.data.title")}
@@ -773,7 +770,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
aria-label={t("settings.data.backToData")}
className="settings-back-button inline-flex size-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"
>
- <ChevronLeftIcon className="size-4 rtl:rotate-180" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4 rtl:rotate-180" />
</button>
<h1 className="text-xl font-semibold font-heading">
{t("settings.data.title")}
@@ -908,11 +905,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
// history, and on desktop it retires the running import's handle.
disabled={importing}
>
- {importing ? (
- <Spinner className="size-3.5 mr-1.5" />
- ) : (
- <HugeiconsIcon icon={Upload01Icon} className="size-3.5 mr-1.5" />
- )}
+ {importing && <Spinner className="size-3.5 mr-1.5" />}
{t("settings.chat.importChatsAction")}
</Button>
<input
@@ -944,13 +937,8 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
onClick={() => void handleExternalImport(source)}
disabled={externalImporting !== null}
>
- {externalImporting === source ? (
+ {externalImporting === source && (
<Spinner className="size-3.5 mr-1.5" />
- ) : (
- <HugeiconsIcon
- icon={Upload01Icon}
- className="size-3.5 mr-1.5"
- />
)}
{externalImporting === source
? t("settings.chat.importingAction")
@@ -969,7 +957,6 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
onClick={handleExport}
disabled={exporting || count === 0}
>
- <HugeiconsIcon icon={Download01Icon} className="size-3.5 mr-1.5" />
{exporting
? t("settings.chat.exportingAction")
: t("settings.chat.exportAction")}
@@ -983,10 +970,6 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
<DropdownMenu>
<DropdownMenuTrigger asChild={true}>
<Button variant="outline" size="sm" disabled={count === 0}>
- <HugeiconsIcon
- icon={Download01Icon}
- className="size-3.5 mr-1.5"
- />
{t("settings.chat.exportConversationsAction")}
</Button>
</DropdownMenuTrigger>
@@ -1150,7 +1133,7 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
<DropdownMenu>
<DropdownMenuTrigger asChild={true}>
<Button
- variant="outline"
+ variant="destructive"
size="sm"
disabled={count === null || count === 0 || clearing}
className="text-destructive hover:text-destructive aria-expanded:text-destructive hover:border-destructive/60"
@@ -1265,9 +1248,9 @@ export function DataTab({ searchEntry }: { searchEntry?: string }) {
{t("common.cancel")}
</Button>
<Button
+ variant="destructive"
onClick={handleClear}
disabled={clearing}
- className="bg-destructive hover:bg-destructive/90 text-destructive-foreground"
>
{clearing
? t("settings.chat.clearingAction")
diff --git a/studio/frontend/src/features/settings/tabs/general-tab.tsx b/studio/frontend/src/features/settings/tabs/general-tab.tsx
index e8775161ea2..5439d4e26aa 100644
--- a/studio/frontend/src/features/settings/tabs/general-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/general-tab.tsx
@@ -792,7 +792,7 @@ export function GeneralTab() {
description={t("settings.general.previewSharing.revokeDescription")}
>
<Button
- variant="outline"
+ variant="destructive"
size="sm"
onClick={() => setRevokePreviewOpen(true)}
className="text-destructive hover:text-destructive"
@@ -926,7 +926,7 @@ export function GeneralTab() {
</Button>
<Button
onClick={resetAllPrefs}
- className="bg-destructive hover:bg-destructive/90 text-destructive-foreground"
+ variant="destructive"
>
{t("settings.general.resetPreferences.confirmAction")}
</Button>
@@ -952,9 +952,9 @@ export function GeneralTab() {
{t("common.cancel")}
</Button>
<Button
+ variant="destructive"
onClick={() => void revokePreviewLinks()}
disabled={isRevokingPreview}
- className="bg-destructive hover:bg-destructive/90 text-destructive-foreground"
>
{isRevokingPreview
? t("settings.general.previewSharing.revoking")
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 d21d315ee7e..a24edbef1db 100644
--- a/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-preview-dialog.tsx
@@ -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-xl corner-squircle bg-primary/5 p-4">
+ <div className="rounded-xl corner-squircle bg-wash-5 p-4">
<Spinner className="size-5 text-primary" />
</div>
<p className="text-sm text-muted-foreground font-medium">
diff --git a/studio/frontend/src/features/studio/sections/dataset-upload.tsx b/studio/frontend/src/features/studio/sections/dataset-upload.tsx
index 177638b42df..7e6a1d27051 100644
--- a/studio/frontend/src/features/studio/sections/dataset-upload.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-upload.tsx
@@ -21,6 +21,7 @@ import {
CloudUploadIcon,
FileAttachmentIcon,
InformationCircleIcon,
+ PlusSignIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useRef } from "react";
@@ -77,7 +78,7 @@ export function DatasetUploadField({ uploads }: { uploads: DatasetUploads }) {
<Spinner className="size-3.5 text-muted-foreground" />
) : (
<HugeiconsIcon
- icon={CloudUploadIcon}
+ icon={PlusSignIcon}
strokeWidth={1.5}
className="size-3.5 text-muted-foreground"
/>
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 7a626f953f2..76c6996a103 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
@@ -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 { ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import {
@@ -15,9 +16,6 @@ import { useT } from "@/i18n";
import {
DocumentAttachmentIcon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronRightIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import type { ReactElement } from "react";
@@ -85,7 +83,7 @@ export function DocumentUploadRedirectDialog({
</Button>
<Button type="button" onClick={onOpenLearningRecipes}>
{t("studio.dataset.documentRedirect.openAction")}
- <ChevronRightIcon className="size-4" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-4" />
</Button>
</DialogFooter>
</DialogContent>
diff --git a/studio/frontend/src/features/studio/sections/params-section-styles.ts b/studio/frontend/src/features/studio/sections/params-section-styles.ts
index 1676562e8bb..56013e1aeba 100644
--- a/studio/frontend/src/features/studio/sections/params-section-styles.ts
+++ b/studio/frontend/src/features/studio/sections/params-section-styles.ts
@@ -5,6 +5,6 @@
* transparent so box size matches across themes. */
export function selectableOptionStateClassName(selected: boolean): string {
return selected
- ? "border-ring-strong/50 bg-primary/5 dark:border-transparent dark:bg-[color-mix(in_srgb,var(--foreground)_16%,transparent)]"
+ ? "border-ring-strong/50 bg-wash-5 dark:border-transparent dark:bg-[color-mix(in_srgb,var(--foreground)_16%,transparent)]"
: "border-border/50 bg-muted/40 hover:border-[color-mix(in_oklab,var(--foreground)_calc(20%*var(--contrast-edge-gain,1)),transparent)] hover:bg-muted/60 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.05*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.09*var(--contrast-wash-gain,1)))]";
}
diff --git a/studio/frontend/src/features/studio/studio-page.tsx b/studio/frontend/src/features/studio/studio-page.tsx
index 563701ce246..2fb50307bec 100644
--- a/studio/frontend/src/features/studio/studio-page.tsx
+++ b/studio/frontend/src/features/studio/studio-page.tsx
@@ -1,6 +1,8 @@
// 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 { ChevronLeftStandardIcon } from "@/lib/chevron-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { useAppShellReadySignal } from "@/components/app-readiness";
import { usePlatformStore } from "@/config/env";
import { Button } from "@/components/ui/button";
@@ -19,9 +21,6 @@ import { MediaPageLink } from "@/components/media-page-link";
import {
LibrariesIcon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronLeftIcon,
-} from "lucide-react";
import { useNavigate } from "@tanstack/react-router";
import {
type ReactElement,
@@ -189,12 +188,10 @@ export function StudioPage(): ReactElement {
<div className="mx-auto flex w-full max-w-[calc(1180px*var(--ui-space-scale,1))] 3xl:max-w-[calc(1440px*var(--ui-space-scale,1))] 4xl:max-w-[calc(1760px*var(--ui-space-scale,1))] flex-col gap-7 px-5 pb-20 pt-8 max-sm:px-4 sm:px-9">
<header className="font-heading flex flex-col gap-5">
<div className="flex flex-col gap-0.5">
- <h1 className="page-title-halo text-ui-30 font-semibold leading-[1.04] tracking-[-0.028em] text-foreground sm:text-ui-34">
+ <h1 className="text-ui-30 font-semibold leading-[1.04] tracking-[-0.028em] text-foreground sm:text-ui-34">
{t("studio.routeTitle")}
</h1>
- <p className="page-title-halo text-sm text-muted-foreground">
- {subtitle}
- </p>
+ <p className="text-sm text-muted-foreground">{subtitle}</p>
</div>
{!showTrainingHydrating && (
<div className="flex min-w-0 flex-wrap items-center gap-3 border-b border-border/60">
@@ -206,7 +203,7 @@ export function StudioPage(): ReactElement {
onClick={clearHistorySelection}
aria-label={t("studio.backToHistory")}
>
- <ChevronLeftIcon className="size-4" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4" />
</Button>
)}
<TrainSubNav
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 d48a3f0ca98..613803151b3 100644
--- a/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
+++ b/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
@@ -138,8 +138,8 @@ export function StartTrainingCta() {
size="lg"
className={cn(
"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",
+ "bg-action text-background shadow-sm",
+ "hover:opacity-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)))]",
"transition-colors duration-200",
)}
diff --git a/studio/frontend/src/features/tour/components/guided-tour.tsx b/studio/frontend/src/features/tour/components/guided-tour.tsx
index 2639001c133..609f5ddbfe3 100644
--- a/studio/frontend/src/features/tour/components/guided-tour.tsx
+++ b/studio/frontend/src/features/tour/components/guided-tour.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 { ChevronLeftStandardIcon, ChevronRightStandardIcon } from "@/lib/chevron-icons";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -8,10 +9,6 @@ import {
Cancel01Icon,
CheckmarkCircle01Icon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronLeftIcon,
- ChevronRightIcon,
-} from "lucide-react";
import { Dialog as DialogPrimitive } from "radix-ui";
import { AnimatePresence, motion } from "motion/react";
import { useEffect, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
@@ -367,7 +364,7 @@ export function GuidedTour({
disabled={idx === 0}
onClick={() => setIdx((i) => Math.max(0, i - 1))}
>
- <ChevronLeftIcon className="size-4" />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} className="size-4" />
Back
</Button>
{isLast ? (
@@ -386,7 +383,7 @@ export function GuidedTour({
onClick={() => setIdx((i) => Math.min(total - 1, i + 1))}
>
Next
- <ChevronRightIcon className="size-4" />
+ <HugeiconsIcon icon={ChevronRightStandardIcon} className="size-4" />
</Button>
)}
</div>
diff --git a/studio/frontend/src/features/train-model-picker/components/train-model-selector.tsx b/studio/frontend/src/features/train-model-picker/components/train-model-selector.tsx
index 4882e58f898..5772b296328 100644
--- a/studio/frontend/src/features/train-model-picker/components/train-model-selector.tsx
+++ b/studio/frontend/src/features/train-model-picker/components/train-model-selector.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 { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import {
findCanonicalHubResourceId,
isValidHubResourceId,
@@ -62,9 +63,6 @@ import type { ModelType, TrainingMethod } from "@/types/training";
import {
ChipIcon,
} from "@hugeicons/core-free-icons";
-import {
- ChevronDownIcon,
-} from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useMemo, useState } from "react";
import { useShallow } from "zustand/react/shallow";
@@ -801,7 +799,8 @@ export function TrainModelSelector({
{display ?? t("studio.modelPicker.selectModel")}
</span>
</span>
- <ChevronDownIcon
+ <HugeiconsIcon
+ icon={ChevronDownStandardIcon}
strokeWidth={1.25}
className="size-3.5 shrink-0 text-muted-foreground"
/>
diff --git a/studio/frontend/src/features/video/reference-picker.tsx b/studio/frontend/src/features/video/reference-picker.tsx
index b11fe808ade..f3068890fe7 100644
--- a/studio/frontend/src/features/video/reference-picker.tsx
+++ b/studio/frontend/src/features/video/reference-picker.tsx
@@ -178,7 +178,7 @@ export function ReferenceMediaPicker({
"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"
+ ? "border-wash-30 bg-wash-3 dark:border-wash-60 dark:bg-wash-5 text-foreground"
: "border-border text-muted-foreground hover:border-[color-mix(in_oklab,var(--foreground)_calc(30%*var(--contrast-edge-gain,1)),transparent)] hover:text-foreground",
)}
>
diff --git a/studio/frontend/src/features/video/video-page.tsx b/studio/frontend/src/features/video/video-page.tsx
index 282e48849b2..fcac1586287 100644
--- a/studio/frontend/src/features/video/video-page.tsx
+++ b/studio/frontend/src/features/video/video-page.tsx
@@ -4619,6 +4619,7 @@ function VideoGenerator({
) : (
<>
<Button
+ variant="dark"
className="relative z-10 h-11 px-8 disabled:bg-muted disabled:text-muted-foreground disabled:opacity-100"
onClick={handleGenerate}
disabled={busy !== null || !status?.loaded}
@@ -4872,7 +4873,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-lg 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-wash-30">
{livePreviewSrc ? (
<img src={livePreviewSrc} alt="" className="size-full object-cover" />
) : (
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index c16287da2cc..adc60b4cb13 100644
--- a/studio/frontend/src/index.css
+++ b/studio/frontend/src/index.css
@@ -265,13 +265,13 @@
--background: #fefefd;
--foreground-base: #0f1114;
--card-base: oklch(1 0 0);
- --card-foreground-base: oklch(0.1281 0.0179 169.2764);
+ --card-foreground-base: oklch(0.1281 0 0);
--popover-base: oklch(1 0 0);
- --popover-foreground-base: oklch(0.1281 0.0179 169.2764);
+ --popover-foreground-base: oklch(0.1281 0 0);
--primary: #17b88b;
--primary-foreground: oklch(1 0 0);
- --secondary-base: oklch(0.9596 0.0275 167.8295);
- --secondary-foreground-base: oklch(0.2868 0.0649 159.9823);
+ --secondary-base: #f2f2f2;
+ --secondary-foreground-base: #262626;
--muted-base: oklch(0.9702 0 0);
--muted-foreground: oklch(0.5486 0 0);
/* Trace ink: muted, pulled toward the page so the answer stands apart. */
@@ -283,8 +283,8 @@
--destructive: oklch(0.6368 0.2078 25.3313);
/* Bypass permissions accent: bright, saturated yellow (not dark gold). */
--bypass: #c99d00;
- --border-base: oklch(0.9208 0.0101 164.8536);
- --input-base: oklch(0.9208 0.0101 164.8536);
+ --border-base: oklch(0.9208 0 0);
+ --input-base: oklch(0.9208 0 0);
--ring: #262626;
/* Focus and selection indicators: the element's own border, darker.
Derived from the live border/foreground tokens so every palette and
@@ -300,7 +300,7 @@
/* 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;
- --sidebar-foreground-base: oklch(0.1281 0.0179 169.2764);
+ --sidebar-foreground-base: oklch(0.1281 0 0);
--sidebar-primary: #17b88b;
--sidebar-primary-foreground: oklch(1 0 0);
--sidebar-accent-base: #ececec;
@@ -395,6 +395,10 @@
--control-accent: var(--primary);
--control-accent-foreground: var(--primary-foreground);
+ /* Black-button fill; the ink outside the stock light palettes. */
+ --action-base: #1a1c1f;
+ --action: var(--action-base);
+
/* Status color for meaning-carrying marks (verified badges, token
indicators). Pinned to the brand green in every palette and mode so
the signal never changes with the theme. */
@@ -585,6 +589,7 @@
--chat-icon-fg-base: #c4c4c4;
--chat-icon-fg-hover: var(--foreground);
--chat-icon-bg-hover-base: #3a3a3a;
+ --action-base: var(--foreground);
}
/* ---------------------------------------------------------------------------
@@ -756,6 +761,7 @@
:root:where([data-palette="blueberry"], [data-palette="butterfly-pea"], [data-palette="cherry"], [data-palette="cinnamon"], [data-palette="cotton-candy"], [data-palette="dragon-fruit"], [data-palette="earl-grey"], [data-palette="espresso"], [data-palette="honey"], [data-palette="licorice"], [data-palette="macaron"], [data-palette="matcha"], [data-palette="mint"], [data-palette="neon-cyberpunk"], [data-palette="oat-milk"], [data-palette="peach"], [data-palette="pina-paraiso"], [data-palette="plum"], [data-palette="tangerine"], [data-palette="taro"], [data-palette="wasabi"], [data-palette="yuzu"])[data-palette] {
--background: var(--th-bg);
--foreground-base: var(--th-fg);
+ --action-base: var(--foreground);
--card-base: var(--th-surface);
--card-foreground-base: var(--th-fg);
--popover-base: var(--th-surface);
@@ -2118,6 +2124,7 @@ html[data-chat-font] .aui-root {
--color-primary-foreground: var(--primary-foreground);
--color-primary: var(--primary);
--color-control-accent: var(--control-accent);
+ --color-action: var(--action);
--color-control-accent-foreground: var(--control-accent-foreground);
--color-popover-foreground: var(--popover-foreground);
--color-popover: var(--popover);
@@ -2229,6 +2236,20 @@ html[data-chat-font] .aui-root {
}
}
+/* bg-wash-N: N% ink, scaled by the contrast setting. */
+@utility bg-wash-* {
+ background-color: color-mix(in srgb, var(--foreground) min(100%, calc(--value(integer) * 1% * var(--contrast-wash-gain, 1))), transparent);
+}
+@utility border-wash-* {
+ border-color: color-mix(in srgb, var(--foreground) min(100%, calc(--value(integer) * 1% * var(--contrast-edge-gain, 1))), transparent);
+}
+@utility ring-wash-* {
+ --tw-ring-color: color-mix(in srgb, var(--foreground) min(100%, calc(--value(integer) * 1% * var(--contrast-edge-gain, 1))), transparent);
+}
+@utility outline-wash-* {
+ outline-color: color-mix(in srgb, var(--foreground) min(100%, calc(--value(integer) * 1% * var(--contrast-edge-gain, 1))), transparent);
+}
+
@layer base {
* {
@apply border-border outline-ring/50;
@@ -3255,7 +3276,7 @@ html[data-chat-font] .aui-root {
}
.composer-pill-btn {
- @apply flex cursor-pointer select-none items-center gap-1.5 rounded-full py-1.5 pl-2 pr-2.5 text-ui-14 font-medium text-muted-foreground/70 dark:text-foreground transition-colors hover:bg-primary/10 dark:hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40;
+ @apply flex cursor-pointer select-none items-center gap-1.5 rounded-full py-1.5 pl-2 pr-2.5 text-ui-14 font-medium text-muted-foreground/70 dark:text-foreground transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40;
}
/* Caret pills (RAG, MCP): the chevron carries its own whitespace, so the
@@ -3322,7 +3343,7 @@ html[data-chat-font] .aui-root {
}
/* A pill keeps its hover fill while its menu is open. */
.composer-pill-btn[data-state="open"] {
- @apply bg-primary/10 dark:bg-accent;
+ @apply bg-accent;
}
/* Dark composer controls: softer hover and open state. */
.dark :is(.composer-pill-btn, .unsloth-thinking-pill, .unsloth-composer-plus):is(:hover:not(:disabled), [data-state="open"]) {
@@ -3358,7 +3379,7 @@ html[data-chat-font] .aui-root {
/* On hover the icon swaps for an X inside a soft circle (ChatGPT-style),
filling the icon slot so every pill's X is identical and centered. */
.composer-pill-x {
- @apply pointer-events-none size-[var(--ui-icon-size)] rounded-full bg-primary/15 p-[calc(3px*var(--ui-space-scale,1))] opacity-0 transition-opacity dark:bg-[rgb(255_255_255_/_calc(0.14*var(--contrast-wash-gain,1)))];
+ @apply pointer-events-none size-[var(--ui-icon-size)] rounded-full bg-wash-10 p-[calc(3px*var(--ui-space-scale,1))] opacity-0 transition-opacity dark:bg-[rgb(255_255_255_/_calc(0.14*var(--contrast-wash-gain,1)))];
}
/* Hovering an active pill swaps the icon for an X (click to turn off). */
@@ -3805,7 +3826,7 @@ html[data-chat-font] .aui-root {
/* Right-side Thinking pill (toggle or dropdown). pl-2 matches the left
pills so the hover X is not pushed in too far. */
.unsloth-thinking-pill {
- @apply inline-flex shrink-0 cursor-pointer items-center gap-1 rounded-full py-1.5 pl-2 pr-2.5 text-ui-14 font-medium text-muted-foreground dark:text-foreground transition-colors hover:bg-primary/10 dark:hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40;
+ @apply inline-flex shrink-0 cursor-pointer items-center gap-1 rounded-full py-1.5 pl-2 pr-2.5 text-ui-14 font-medium text-muted-foreground dark:text-foreground transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-40;
/* Reserve a text line so the icon-only (inactive) pill matches the
text pills' height instead of collapsing to the icon. */
min-height: calc(1lh + 0.75rem * var(--ui-space-scale, 1));
@@ -5166,7 +5187,7 @@ html[data-chat-font] .aui-root {
position: fixed;
z-index: 60;
height: 0;
- border-top: 1.5px solid var(--primary);
+ border-top: 1.5px solid var(--foreground);
border-radius: 1px;
opacity: 0;
pointer-events: none;
@@ -5272,12 +5293,11 @@ html.force-reduced-motion .sidebar-section-drop-line {
background: color-mix(in oklab, color-mix(in oklab, var(--background), black 45%) 78%, transparent);
}
-/* Video tabs: the clip sits on a soft brand-tinted band. */
.browser-video-band {
background:
- radial-gradient(55% 90% at 18% 30%, color-mix(in oklab, var(--primary) 30%, transparent), transparent 70%),
- radial-gradient(50% 80% at 85% 75%, color-mix(in oklab, var(--primary) 24%, transparent), transparent 70%),
- color-mix(in oklab, var(--primary) 9%, var(--background));
+ radial-gradient(55% 90% at 18% 30%, color-mix(in oklab, var(--foreground) 12%, transparent), transparent 70%),
+ radial-gradient(50% 80% at 85% 75%, color-mix(in oklab, var(--foreground) 9%, transparent), transparent 70%),
+ color-mix(in oklab, var(--foreground) 4%, var(--background));
}
/* Whole screen pixels at any zoom (--device-px, set in public/theme-boot.js): a
@@ -5815,7 +5835,7 @@ html.force-reduced-motion .sidebar-section-drop-line {
width: 7px;
height: 7px;
border-radius: 9999px;
- background: color-mix(in oklch, var(--muted-foreground) 82%, var(--primary));
+ background: var(--muted-foreground);
opacity: 0.12;
transform: translate3d(0, 4px, 0) scale(0.72);
animation: generated-image-dot-wave 1850ms var(--ease-out-quart) infinite;
@@ -6090,17 +6110,6 @@ html.force-reduced-motion .sidebar-section-drop-line {
border-color: color-mix(in srgb, var(--border) 70%, transparent);
}
- .page-title-halo {
- text-shadow:
- 0 0 24px color-mix(in srgb, var(--primary) 18%, transparent),
- 0 0 56px color-mix(in srgb, var(--primary) 12%, transparent),
- 0 0 96px color-mix(in srgb, var(--primary) 8%, transparent);
- }
-
- .dark .page-title-halo {
- text-shadow: none;
- }
-
.train-section-chip {
background-color: color-mix(
in srgb,
@@ -6434,11 +6443,11 @@ html[data-find-bar-open] [data-sonner-toaster][data-y-position="top"] {
box-shadow: var(--composer-shadow);
}
.unsloth-files-panel[data-dragging="true"] {
- border-color: var(--primary);
+ border-color: var(--foreground);
}
.dark .unsloth-files-panel[data-dragging="true"] {
box-shadow:
- 0 0 0 1.5px var(--primary),
+ 0 0 0 1.5px var(--foreground),
var(--composer-shadow);
}
.unsloth-files-panel-count {
diff --git a/studio/frontend/tests/cache-rows-model-folder.test.ts b/studio/frontend/tests/cache-rows-model-folder.test.ts
index f2456702282..de2d1b66ce4 100644
--- a/studio/frontend/tests/cache-rows-model-folder.test.ts
+++ b/studio/frontend/tests/cache-rows-model-folder.test.ts
@@ -274,8 +274,9 @@ test("a clear waits for the measurement that is replacing the rows", async () =>
const confirm = [...walk(reloading)].filter(
(element) =>
element.type === "Button" &&
- typeof element.props?.className === "string" &&
- element.props.className.includes("bg-destructive"),
+ // The dialog's confirm: the row triggers are size="sm".
+ element.props?.variant === "destructive" &&
+ element.props?.size === undefined,
);
assert.equal(confirm.length, 1);
assert.equal(confirm[0].props?.disabled, true);
@@ -309,8 +310,8 @@ test("a measurement that failed leaves the clears disabled", async () => {
const destructive = [...walk(failed)].filter(
(element) =>
element.type === "Button" &&
- typeof element.props?.className === "string" &&
- element.props.className.includes("bg-destructive"),
+ element.props?.variant === "destructive" &&
+ element.props?.size === undefined,
);
assert.equal(destructive[0].props?.disabled, true);
});
diff --git a/studio/frontend/tests/export-hub-repo-required.test.ts b/studio/frontend/tests/export-hub-repo-required.test.ts
index a4d32a3beb3..fe552075af3 100644
--- a/studio/frontend/tests/export-hub-repo-required.test.ts
+++ b/studio/frontend/tests/export-hub-repo-required.test.ts
@@ -64,6 +64,7 @@ const { ExportRunPanel } = loadWithStubs<typeof ExportRunPanelModule>(
},
"@/features/model-picker": { FolderBrowser: none },
"@hugeicons/core-free-icons": {},
+ "@/lib/chevron-icons": {},
"@hugeicons/react": { HugeiconsIcon: none },
"lucide-react": { ChevronRightIcon: none },
"zustand/react/shallow": { useShallow: (fn: unknown) => fn },
diff --git a/studio/frontend/tests/knowledge-base-composer-refresh.test.ts b/studio/frontend/tests/knowledge-base-composer-refresh.test.ts
index f0301806479..7d7a5b52b96 100644
--- a/studio/frontend/tests/knowledge-base-composer-refresh.test.ts
+++ b/studio/frontend/tests/knowledge-base-composer-refresh.test.ts
@@ -73,6 +73,7 @@ function harness() {
"@/lib/file-icon": {},
"@hugeicons/react": {},
"@hugeicons/core-free-icons": {},
+ "@/lib/chevron-icons": {},
"@/components/ui/dropdown-menu": {},
"@/features/chat/hooks/use-rag-tool-disabled": {
useRagToolDisabled: () => false,
diff --git a/studio/frontend/tests/knowledge-base-dialog-focus.test.ts b/studio/frontend/tests/knowledge-base-dialog-focus.test.ts
index ccfadc2dbac..41a92952eea 100644
--- a/studio/frontend/tests/knowledge-base-dialog-focus.test.ts
+++ b/studio/frontend/tests/knowledge-base-dialog-focus.test.ts
@@ -116,6 +116,7 @@ function harness(rows: Array<typeof KB> = [KB]) {
react,
"react/jsx-runtime": stubJsxRuntime(),
"@hugeicons/core-free-icons": {},
+ "@/lib/chevron-icons": {},
"@hugeicons/react": {},
"lucide-react": {},
"@/components/ui/alert-dialog": {},
diff --git a/studio/frontend/tests/mcp-server-arguments.test.ts b/studio/frontend/tests/mcp-server-arguments.test.ts
index 1206adbafc1..859c91dd932 100644
--- a/studio/frontend/tests/mcp-server-arguments.test.ts
+++ b/studio/frontend/tests/mcp-server-arguments.test.ts
@@ -289,7 +289,7 @@ test("dialog actions and reconciliation stop when the dialog closes", () => {
);
assert.match(
CHAT_MCP_SERVERS_DIALOG,
- /<Button size="sm" onClick=\{startCreate\} disabled=\{importing\}>/,
+ /<Button variant="secondary" size="sm" onClick=\{startCreate\} disabled=\{importing\}>/,
);
});
diff --git a/studio/frontend/tests/memory-estimate-narrow-panel.test.ts b/studio/frontend/tests/memory-estimate-narrow-panel.test.ts
index 8af1111b40c..542ac17c941 100644
--- a/studio/frontend/tests/memory-estimate-narrow-panel.test.ts
+++ b/studio/frontend/tests/memory-estimate-narrow-panel.test.ts
@@ -3,11 +3,12 @@
import assert from "node:assert/strict";
import test from "node:test";
-import { ChevronDown } from "lucide-react";
+import { HugeiconsIcon } from "@hugeicons/react";
import * as React from "react";
import * as jsxRuntime from "react/jsx-runtime";
import { renderToStaticMarkup } from "react-dom/server";
import type * as MemoryEstimateModule from "../src/features/model-picker/components/memory-estimate-row.tsx";
+import * as chevronIcons from "../src/lib/chevron-icons.ts";
import * as memoryFit from "../src/features/model-picker/model-config/memory-fit.ts";
import { loadWithStubs } from "./helpers/module-stubs.ts";
@@ -20,7 +21,8 @@ const { MemoryEstimateRow } = loadWithStubs<typeof MemoryEstimateModule>(
{
react: React,
"react/jsx-runtime": jsxRuntime,
- "lucide-react": { ChevronDown },
+ "@hugeicons/react": { HugeiconsIcon },
+ "@/lib/chevron-icons": chevronIcons,
"../model-config/memory-fit": memoryFit,
"@/components/ui/tooltip": {
Tooltip: ({ children }: { children: React.ReactNode }) => children,
diff --git a/studio/frontend/tests/native-dropzone-coverage.test.ts b/studio/frontend/tests/native-dropzone-coverage.test.ts
index ca48de59ec0..80d4ba9f110 100644
--- a/studio/frontend/tests/native-dropzone-coverage.test.ts
+++ b/studio/frontend/tests/native-dropzone-coverage.test.ts
@@ -65,7 +65,7 @@ test("the project sources panel shows a drag-over state", async () => {
assert.match(source, /useNativeFileDrop\(\{/);
assert.match(source, /ref=\{dropRef\}/);
assert.match(source, /\{\.\.\.dragHandlers\}/);
- assert.match(source, /dragging && "border-primary\/60/);
+ assert.match(source, /dragging &&\s*"border-wash-30 bg-wash-3 dark:border-wash-60/);
// The native reader only serves media inline, so documents upload by lease.
assert.match(source, /onNativeIntents: handleNativeIntents/);
});
diff --git a/studio/frontend/tests/projects-page-rows.test.ts b/studio/frontend/tests/projects-page-rows.test.ts
index f5d7b3e5f9e..b203594070d 100644
--- a/studio/frontend/tests/projects-page-rows.test.ts
+++ b/studio/frontend/tests/projects-page-rows.test.ts
@@ -42,7 +42,7 @@ test("a project row opens its chats in place", () => {
test("the disclosure sits with the name it opens", () => {
const name = PAGE.indexOf("{project.name}");
- const chevron = PAGE.indexOf("<ChevronDownIcon", name);
+ const chevron = PAGE.indexOf("icon={ChevronDownStandardIcon}", name);
assert.notEqual(name, -1, "the name moved");
assert.notEqual(chevron, -1, "the disclosure moved");
assert.match(
@@ -108,7 +108,7 @@ test("the pin and the menu are on show, the disclosure follows the cursor", () =
test("the Updated column names the list's order and turns it around", () => {
assert.ok(!PAGE.includes(">Modified<"), "the old column name is still rendered");
assert.match(PAGE, /\n\s*Updated\n(?:\s*\{\/\*[^\n]*\*\/\}\n)?\s*<ArrowDownIcon/);
- assert.match(PAGE, /import \{ ArrowDownIcon, ChevronDownIcon, MoreHorizontalIcon \} from "lucide-react";/);
+ assert.match(PAGE, /import \{ ArrowDownIcon, MoreHorizontalIcon \} from "lucide-react";/);
assert.match(
PAGE,
/onClick=\{\(\) => setSortDir\(\(dir\) => \(dir === "desc" \? "asc" : "desc"\)\)\}/,
diff --git a/studio/frontend/tests/reasoning-live-tail.test.ts b/studio/frontend/tests/reasoning-live-tail.test.ts
index 6dc76cd423d..720984b62d8 100644
--- a/studio/frontend/tests/reasoning-live-tail.test.ts
+++ b/studio/frontend/tests/reasoning-live-tail.test.ts
@@ -139,7 +139,7 @@ test("Expand thinking ends in a chevron: right while bounded, up once expanded",
);
assert.match(
tail,
- /\{expanded \? "Collapse thinking" : "Expand thinking"\}\s*<ChevronDownIcon[\s\S]*?expanded \? "-rotate-180" : "-rotate-90"/,
+ /\{expanded \? "Collapse thinking" : "Expand thinking"\}\s*<HugeiconsIcon\s+icon=\{ChevronDownStandardIcon\}[\s\S]*?expanded \? "-rotate-180" : "-rotate-90"/,
);
});
diff --git a/studio/frontend/tests/sidebar-custom-sections.test.ts b/studio/frontend/tests/sidebar-custom-sections.test.ts
index 6282ead1a54..54036e946db 100644
--- a/studio/frontend/tests/sidebar-custom-sections.test.ts
+++ b/studio/frontend/tests/sidebar-custom-sections.test.ts
@@ -722,7 +722,7 @@ test("a section drag draws itself, so the sidebar re-renders only on the drop",
assert.match(drag, /escaped = true;\n\s*putDown\(\);/);
const css = await readSrcAsync("index.css");
assert.match(css, /\[data-sidebar-section\]\[data-section-dragging\] \{\n\s*opacity: 0\.4;/);
- assert.match(css, /\.sidebar-section-drop-line \{[\s\S]*?border-top: 1\.5px solid var\(--primary\);/);
+ assert.match(css, /\.sidebar-section-drop-line \{[\s\S]*?border-top: 1\.5px solid var\(--foreground\);/);
});
test("a carried section lands against the nearest gap, and only a real move draws a line", async () => {
diff --git a/studio/frontend/tests/sidebar-row-drag.test.ts b/studio/frontend/tests/sidebar-row-drag.test.ts
index d0526db6d9e..58b7df626a0 100644
--- a/studio/frontend/tests/sidebar-row-drag.test.ts
+++ b/studio/frontend/tests/sidebar-row-drag.test.ts
@@ -902,8 +902,8 @@ test("every drop cue is drawn inside its row", () => {
"${DROP_CUE_BASE} before:bottom-px",
"before:inset-x-1 before:inset-y-0 ",
// Borders snap to whole device pixels, so every cue keeps one thickness.
- "before:h-0 before:border-t-[1.5px] before:border-primary",
- "before:border-[1.5px] before:border-primary",
+ "before:h-0 before:border-t-[1.5px] before:border-foreground",
+ "before:border-[1.5px] before:border-foreground",
]) {
assert.ok(APP_SIDEBAR.includes(cue), `no cue is drawn at ${cue}`);
}