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: visible light-mode borders, aligned media pickers, new image icons, modern login (#15726)

Michael Hanbb807b7a6f2a
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index 260759cad5d..73bc6ef17ac 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.tsx
@@ -123,7 +123,7 @@ import {
Folder02Icon,
FlimSlateIcon,
HelpCircleIcon,
- Image03Icon,
+ Image01Icon,
InformationCircleIcon,
LibrariesIcon,
Logout05Icon,
@@ -3380,7 +3380,7 @@ export function AppSidebar() {
},
},
images: {
- icon: Image03Icon,
+ icon: Image01Icon,
label: t("shell.navigation.images"),
active: pathname === "/images" || pathname.startsWith("/images/"),
onClick: () => {
diff --git a/studio/frontend/src/components/media-page-link.tsx b/studio/frontend/src/components/media-page-link.tsx
index 070b00c0658..dafd4d3b984 100644
--- a/studio/frontend/src/components/media-page-link.tsx
+++ b/studio/frontend/src/components/media-page-link.tsx
@@ -3,7 +3,7 @@
import {
FlimSlateIcon,
- Image03Icon,
+ Image01Icon,
LibrariesIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -168,7 +168,7 @@ export function SiblingMediaPageLink({ to }: { to: "/images" | "/video" }) {
<MediaPageLink
to={to}
label={label}
- icon={to === "/images" ? Image03Icon : FlimSlateIcon}
+ icon={to === "/images" ? Image01Icon : FlimSlateIcon}
tooltip={label}
iconOnly={true}
iconArrow={true}
diff --git a/studio/frontend/src/features/audio/audio-page.tsx b/studio/frontend/src/features/audio/audio-page.tsx
index ec64e285ceb..7c8358cdc7d 100644
--- a/studio/frontend/src/features/audio/audio-page.tsx
+++ b/studio/frontend/src/features/audio/audio-page.tsx
@@ -1936,8 +1936,7 @@ export function AudioPage({
: undefined
}
variant="ghost"
- className="!h-[calc(34px*var(--ui-space-scale,1))] max-w-full gap-1 overflow-hidden pl-3 pr-1 @[68rem]:gap-2 @[68rem]:pl-4 @[68rem]:pr-2"
- triggerLabelClassName="text-ui-14 @[68rem]:text-ui-16"
+ className="ml-1.5 max-w-full overflow-hidden !pl-2.5 !pr-1.5 !h-[var(--studio-chat-control-height,34px)]"
task={HUB_TASKS_BY_MODE[mode]}
// Separate runs audio-to-audio models, which the speak picker's tasks leave out.
hubTask={pageWorkflow === "separate" ? "audio-to-audio" : undefined}
diff --git a/studio/frontend/src/features/auth/change-password-page.tsx b/studio/frontend/src/features/auth/change-password-page.tsx
index 40f2e3ee115..669a4a27f3d 100644
--- a/studio/frontend/src/features/auth/change-password-page.tsx
+++ b/studio/frontend/src/features/auth/change-password-page.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 { Card } from "@/components/ui/card";
import { AuthForm } from "./components/auth-form";
+import { AuthShell } from "./components/auth-shell";
export function ChangePasswordPage() {
return (
- <div className="relative flex min-h-[calc(100dvh-var(--studio-titlebar-height,0px))] items-center justify-center overflow-hidden bg-background px-4 py-8 sm:px-6 sm:py-10 md:px-10">
- <Card className="relative z-10 w-full max-w-sm rounded-3xl px-5 py-6 shadow-[0_4px_18px_-2px_rgba(0,0,0,0.16)] ring-0 dark:shadow-[var(--composer-shadow)] sm:px-6 sm:py-8">
- <AuthForm mode="change-password" />
- </Card>
- </div>
+ <AuthShell>
+ <AuthForm mode="change-password" />
+ </AuthShell>
);
}
diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsx
index 305e7d667d2..b236817da74 100644
--- a/studio/frontend/src/features/auth/components/auth-form.tsx
+++ b/studio/frontend/src/features/auth/components/auth-form.tsx
@@ -359,18 +359,18 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
if (statusLoading && initialized === null && error === null) return null;
return (
- <div className="w-full max-w-sm space-y-6">
- <div className="space-y-1.5 text-center">
+ <div className="w-full space-y-7">
+ <div className="flex flex-col items-center gap-1.5 text-center">
<MascotImg
src="Sloth emojis/large sloth wave.png"
className="mx-auto mb-2 h-20 w-20 object-contain"
/>
- <h2 className="text-2xl font-semibold text-foreground">{title}</h2>
- <p className="text-muted-foreground">{subtitle}</p>
+ <h2 className="font-semibold text-[26px] text-foreground leading-tight tracking-[-0.02em]">{title}</h2>
+ <p className="text-muted-foreground text-sm">{subtitle}</p>
</div>
{/* Not a live region: it re-renders every second, so it would be read aloud on every tick. */}
{deadlineAt !== null && (
- <p className="rounded-lg border border-amber-500/40 bg-amber-500/10 px-3 py-2 text-center text-sm text-amber-600">
+ <p className="rounded-2xl border border-amber-500/30 bg-amber-500/10 px-4 py-3 text-center text-sm text-amber-600">
{hasExpired(deadlineAt - nowMs) ? (
<>
This instance is shutting down: it was reachable on the network
@@ -386,7 +386,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
)}
</p>
)}
- <form className="space-y-5" onSubmit={handleSubmit}>
+ <form className="space-y-4" onSubmit={handleSubmit}>
{passwordManagerUsername && (
<input
type="text"
@@ -405,6 +405,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
<Input
id="username"
name="username"
+ className="h-11 px-4"
autoComplete="username"
autoCapitalize="none"
spellCheck={false}
@@ -412,7 +413,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
onChange={(event) => setEnteredUsername(event.target.value)}
required
/>
- <p id="setup-code-hint" className="text-sm text-muted-foreground">
+ <p id="setup-code-hint" className="text-muted-foreground text-xs leading-relaxed">
First sign in? Paste the setup code your administrator gave you as the password.
</p>
<p className="text-sm text-muted-foreground">
@@ -428,7 +429,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
id="password"
aria-describedby={loginMode === "multi" ? "setup-code-hint" : undefined}
type={showPassword ? "text" : "password"}
- className="pr-10"
+ className="h-11 pr-11 pl-4"
autoComplete="current-password"
value={password}
onChange={(event) => setPassword(event.target.value)}
@@ -439,7 +440,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
type="button"
variant="ghost"
size="icon"
- className="absolute right-0 top-0 h-full px-3 text-muted-foreground hover:bg-transparent"
+ className="absolute top-1/2 right-1 size-9 -translate-y-1/2 rounded-full text-muted-foreground hover:bg-transparent hover:text-foreground"
onClick={() => setShowPassword((prev) => !prev)}
>
{showPassword ? (
@@ -464,7 +465,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
changingFromSetupCode ? "current-setup-code-hint" : undefined
}
type={showPassword ? "text" : "password"}
- className="pr-10"
+ className="h-11 pr-11 pl-4"
autoComplete="current-password"
value={password}
onChange={(event) => setPassword(event.target.value)}
@@ -475,7 +476,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
type="button"
variant="ghost"
size="icon"
- className="absolute right-0 top-0 h-full px-3 text-muted-foreground hover:bg-transparent"
+ className="absolute top-1/2 right-1 size-9 -translate-y-1/2 rounded-full text-muted-foreground hover:bg-transparent hover:text-foreground"
onClick={() => setShowPassword((prev) => !prev)}
>
{showPassword ? (
@@ -488,7 +489,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
{changingFromSetupCode && (
<p
id="current-setup-code-hint"
- className="text-sm text-muted-foreground"
+ className="text-muted-foreground text-xs leading-relaxed"
>
Paste the setup code you just signed in with as the current password.
</p>
@@ -501,7 +502,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
<Input
id="new-password"
type={showNewPassword ? "text" : "password"}
- className="pr-10"
+ className="h-11 pr-11 pl-4"
autoComplete="new-password"
value={newPassword}
onChange={(event) => setNewPassword(event.target.value)}
@@ -512,7 +513,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
type="button"
variant="ghost"
size="icon"
- className="absolute right-0 top-0 h-full px-3 text-muted-foreground hover:bg-transparent"
+ className="absolute top-1/2 right-1 size-9 -translate-y-1/2 rounded-full text-muted-foreground hover:bg-transparent hover:text-foreground"
onClick={() => setShowNewPassword((prev) => !prev)}
>
{showNewPassword ? (
@@ -528,6 +529,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
<Input
id="confirm-password"
type="password"
+ className="h-11 px-4"
autoComplete="new-password"
value={confirmPassword}
onChange={(event) => setConfirmPassword(event.target.value)}
@@ -564,8 +566,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
<Button
variant="primary"
type="submit"
- size="hero"
- className="mx-auto flex h-[2.967em] w-fit bg-control-accent px-[1.56em] pt-0 pb-[0.07em] [font-family:var(--font-heading)] text-[0.9375rem] font-semibold tracking-[0.02em] text-control-accent-foreground hover:bg-control-accent/85"
+ className="mt-2 h-11 w-full bg-control-accent [font-family:var(--font-heading)] text-[0.9375rem] font-semibold tracking-[0.02em] text-control-accent-foreground hover:bg-control-accent/85"
disabled={
loading ||
statusLoading ||
@@ -593,7 +594,7 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
{showSwitchLink && (
<p className="text-center text-sm text-muted-foreground">
{switchText}
- <Link to={switchLinkTo} className="text-primary hover:underline">
+ <Link to={switchLinkTo} className="font-medium text-primary hover:underline">
{switchLinkText}
</Link>
</p>
diff --git a/studio/frontend/src/features/auth/components/auth-shell.tsx b/studio/frontend/src/features/auth/components/auth-shell.tsx
new file mode 100644
index 00000000000..57f1406353a
--- /dev/null
+++ b/studio/frontend/src/features/auth/components/auth-shell.tsx
@@ -0,0 +1,23 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
+
+import { publicAssetUrl } from "@/components/mascot-img";
+import type { ReactNode } from "react";
+
+export function AuthShell({ children }: { children: ReactNode }) {
+ return (
+ <div className="flex min-h-[calc(100dvh-var(--studio-titlebar-height,0px))] flex-col items-center justify-center gap-6 bg-background px-4 py-10 sm:px-6">
+ <div className="w-full max-w-[calc(400px*var(--ui-space-scale,1))] rounded-[28px] bg-card px-7 py-9 shadow-[0_1px_2px_rgba(0,0,0,0.04),0_12px_40px_-12px_rgba(0,0,0,0.12)] ring-1 ring-[color-mix(in_oklab,var(--foreground)_7%,transparent)] sm:px-9 sm:py-10 dark:shadow-none">
+ {children}
+ </div>
+ <div className="flex items-center gap-1.5 text-muted-foreground text-xs">
+ <img
+ src={publicAssetUrl("unsloth-gem.png")}
+ alt=""
+ className="size-4 object-contain"
+ />
+ <span className="font-medium">Unsloth Studio</span>
+ </div>
+ </div>
+ );
+}
diff --git a/studio/frontend/src/features/auth/login-page.tsx b/studio/frontend/src/features/auth/login-page.tsx
index 814186f17af..047f12ee7c6 100644
--- a/studio/frontend/src/features/auth/login-page.tsx
+++ b/studio/frontend/src/features/auth/login-page.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 { Card } from "@/components/ui/card";
import { AuthForm } from "./components/auth-form";
+import { AuthShell } from "./components/auth-shell";
export function LoginPage() {
return (
- <div className="relative flex min-h-[calc(100dvh-var(--studio-titlebar-height,0px))] items-center justify-center overflow-hidden bg-background px-4 py-8 sm:px-6 sm:py-10 md:px-10">
- <Card className="relative z-10 w-full max-w-sm rounded-3xl px-7 py-8 shadow-[0_4px_18px_-2px_rgba(0,0,0,0.16)] ring-0 dark:shadow-[var(--composer-shadow)] sm:px-8 sm:py-10">
- <AuthForm mode="login" />
- </Card>
- </div>
+ <AuthShell>
+ <AuthForm mode="login" />
+ </AuthShell>
);
}
diff --git a/studio/frontend/src/features/chat/components/chat-search-dialog.tsx b/studio/frontend/src/features/chat/components/chat-search-dialog.tsx
index c4729fe018e..f4d6db8c629 100644
--- a/studio/frontend/src/features/chat/components/chat-search-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/chat-search-dialog.tsx
@@ -25,7 +25,7 @@ import {
DashboardCircleIcon,
FlimSlateIcon,
Folder01Icon,
- Image03Icon,
+ Image01Icon,
PencilEdit02Icon,
Search01Icon,
BubbleChatTemporaryIcon,
@@ -146,7 +146,7 @@ const ACTIONS: Action[] = [
},
{
id: "switchToImages",
- icon: Image03Icon,
+ icon: Image01Icon,
labelKey: "shell.search.generateImage",
},
{
diff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsx
index 3fe84277fad..db6acf0abb9 100644
--- a/studio/frontend/src/features/images/images-page.tsx
+++ b/studio/frontend/src/features/images/images-page.tsx
@@ -5920,8 +5920,7 @@ export function ImagesPage({
resolveDownloadFootprint={resolveDownloadFootprint}
onEject={status?.loaded ? handleUnload : undefined}
variant="ghost"
- className="!h-[calc(34px*var(--ui-space-scale,1))] max-w-full gap-1 overflow-hidden pl-3 pr-1 @[68rem]:gap-2 @[68rem]:pl-4 @[68rem]:pr-2"
- triggerLabelClassName="text-ui-14 @[68rem]:text-ui-16"
+ className="ml-1.5 max-w-full overflow-hidden !pl-2.5 !pr-1.5 !h-[var(--studio-chat-control-height,34px)]"
task={IMAGE_GEN_TASKS}
catalog={IMAGE_CATALOG}
opaqueKind={opaqueKind}
diff --git a/studio/frontend/src/features/images/workflows.ts b/studio/frontend/src/features/images/workflows.ts
index afba68174f7..4603438a8b8 100644
--- a/studio/frontend/src/features/images/workflows.ts
+++ b/studio/frontend/src/features/images/workflows.ts
@@ -2,16 +2,16 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import {
+ AiImageIcon,
ArrowExpand01Icon,
Edit03Icon,
ImageUpload01Icon,
MagicWand01Icon,
- SparklesIcon,
ZoomInAreaIcon,
} from "@hugeicons/core-free-icons";
import type { IconSvgElement } from "@hugeicons/react";
// Relative with .ts: the node tests import this file and cannot resolve @/.
-import { AiPaintbrushIcon } from "../../lib/ai-paintbrush-icon.ts";
+import { PaintbrushIcon } from "../../lib/paintbrush-icon.ts";
export type WorkflowId =
| "create"
@@ -37,7 +37,7 @@ export const WORKFLOW_TABS: Array<{
heading: "Create images",
requires: null,
// Not the pencil: that is the sidebar's New chat icon.
- icon: SparklesIcon,
+ icon: AiImageIcon,
hint: "Generate a new image from a prompt",
},
{
@@ -57,7 +57,7 @@ export const WORKFLOW_TABS: Array<{
{
id: "inpaint",
label: "Inpaint",
- icon: AiPaintbrushIcon,
+ icon: PaintbrushIcon,
requires: "inpaint",
hint: "Regenerate a painted region",
},
diff --git a/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx b/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx
index 1db3c41f726..008de53951a 100644
--- a/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx
+++ b/studio/frontend/src/features/settings/components/sidebar-nav-customizer.tsx
@@ -8,7 +8,7 @@ import {
DragDropVerticalIcon,
FlimSlateIcon,
Folder01Icon,
- Image03Icon,
+ Image01Icon,
LibrariesIcon,
MoreHorizontalIcon,
PencilEdit02Icon,
@@ -38,7 +38,7 @@ const ITEM_META: Record<
projects: { icon: Folder01Icon, labelKey: "shell.navigation.projects" },
library: { icon: LibrariesIcon, labelKey: "shell.navigation.library" },
hub: { icon: DashboardCircleIcon, labelKey: "shell.navigation.hub" },
- images: { icon: Image03Icon, labelKey: "shell.navigation.images" },
+ images: { icon: Image01Icon, labelKey: "shell.navigation.images" },
train: { icon: TestTubeOutlineIcon, labelKey: "shell.navigation.train" },
video: { icon: FlimSlateIcon, labelKey: "shell.navigation.video" },
audio: { icon: AiSpeechIcon, labelKey: "shell.navigation.audio" },
diff --git a/studio/frontend/src/features/video/video-page.tsx b/studio/frontend/src/features/video/video-page.tsx
index 1c1c4c715a0..71c1b944242 100644
--- a/studio/frontend/src/features/video/video-page.tsx
+++ b/studio/frontend/src/features/video/video-page.tsx
@@ -3803,7 +3803,7 @@ function VideoGenerator({
resolveDownloadFootprint={resolveDownloadFootprint}
onEject={status?.loaded ? handleUnload : undefined}
variant="ghost"
- className="!h-[calc(34px*var(--ui-space-scale,1))]"
+ className="ml-1.5 max-w-full overflow-hidden !pl-2.5 !pr-1.5 !h-[var(--studio-chat-control-height,34px)]"
task={VIDEO_GEN_TASKS}
catalog={VIDEO_CATALOG}
opaqueKind={opaqueKind}
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index d7918aa6936..26e36b5a534 100644
--- a/studio/frontend/src/index.css
+++ b/studio/frontend/src/index.css
@@ -293,8 +293,9 @@
--bypass: #c99d00;
/* Full access in permission menus: ChatGPT's orange, a touch yellower. */
--full-access: #eb6702;
- --border-base: oklch(0.9208 0 0);
- --input-base: oklch(0.9208 0 0);
+ /* 2:1 on the page, so control outlines and dividers stay visible. */
+ --border-base: #b6b6b6;
+ --input-base: #b6b6b6;
--ring: #262626;
/* Derived from the live border/foreground so every palette and mode gets the right shade.
Focus/hover uses soft; selected uses the deeper one. */
@@ -314,7 +315,7 @@
--sidebar-accent-base: #ececec;
--sidebar-accent-foreground-base: #262626;
--tabs-line-indicator-base: #ececec;
- --sidebar-border-base: #f2f2f2;
+ --sidebar-border-base: #b6b6b6;
--sidebar-ring: #262626;
--destructive-foreground: oklch(1 0 0);
--font-sans: "Inter Variable", ui-sans-serif, sans-serif, system-ui;
@@ -409,7 +410,7 @@
--studio-chat-header-height: calc(48px * var(--ui-space-scale, 1));
--studio-chat-control-height: calc(33px * var(--ui-space-scale, 1));
--studio-chat-header-padding-top: calc(11px * var(--ui-space-scale, 1));
- --studio-media-header-left-inset: calc(1.5rem * var(--ui-space-scale, 1));
+ --studio-media-header-left-inset: calc(0.5rem * var(--ui-space-scale, 1));
/* Scales at the same rate as text and padding (12 -> 12px, 20 -> 20px). */
--ui-icon-size: calc(1rem * var(--ui-font-scale, 1));
@@ -564,8 +565,8 @@
--accent-base: #ececec;
--accent-foreground-base: #1a1c1f;
--bypass: #9a7b1e;
- --border-base: #e6e6e6;
- --input-base: #e6e6e6;
+ --border-base: #b6b7b7;
+ --input-base: #b6b7b7;
--ring: #1a1c1f;
--chart-1: #339cff;
--chart-2: #8fa3b8;
@@ -578,7 +579,7 @@
--sidebar-primary-foreground: #ffffff;
--sidebar-accent-base: #ececec;
--sidebar-accent-foreground-base: #1a1c1f;
- --sidebar-border-base: #f2f2f2;
+ --sidebar-border-base: #b6b6b6;
--sidebar-ring: #1a1c1f;
--nav-fg-base: #2d2f31;
@@ -631,8 +632,8 @@
--accent-base: #ebebeb;
--accent-foreground-base: #171717;
--bypass: #6f6f6f;
- --border-base: #e2e2e2;
- --input-base: #e2e2e2;
+ --border-base: #b6b6b6;
+ --input-base: #b6b6b6;
--ring: #171717;
--chart-1: #171717;
--chart-2: #4d4d4d;
@@ -645,7 +646,7 @@
--sidebar-primary-foreground: #ffffff;
--sidebar-accent-base: #ebebeb;
--sidebar-accent-foreground-base: #171717;
- --sidebar-border-base: #e8e8e8;
+ --sidebar-border-base: #b6b6b6;
--sidebar-ring: #171717;
--nav-fg-base: #333333;
@@ -780,7 +781,7 @@
--th-surface: #eef0f9;
--th-raised: #e6e9f5;
--th-hover: #dde1f0;
- --th-border: #d5daec;
+ --th-border: #abb0c5;
--th-fg: #1c2140;
--th-muted: #4f5677;
--th-subtle: #8c92b0;
@@ -815,7 +816,7 @@
--th-surface: #e9f2fa;
--th-raised: #deebf6;
--th-hover: #d2e3f2;
- --th-border: #c7dbee;
+ --th-border: #a0b4c7;
--th-fg: #0f2233;
--th-muted: #3f5a70;
--th-subtle: #7f97ab;
@@ -850,7 +851,7 @@
--th-surface: #f9ebeb;
--th-raised: #f4e0e0;
--th-hover: #eed4d4;
- --th-border: #e8c9c9;
+ --th-border: #c9a9aa;
--th-fg: #300f12;
--th-muted: #6e4144;
--th-subtle: #a67f82;
@@ -885,7 +886,7 @@
--th-surface: #f6ece6;
--th-raised: #f0e1d9;
--th-hover: #e9d5cb;
- --th-border: #e2cabe;
+ --th-border: #c4ada2;
--th-fg: #2e1a12;
--th-muted: #6b4d40;
--th-subtle: #a3877a;
@@ -920,7 +921,7 @@
--th-surface: #f7eef6;
--th-raised: #f1e4f0;
--th-hover: #eadaea;
- --th-border: #e4d0e4;
+ --th-border: #c0acc1;
--th-fg: #2a1830;
--th-muted: #65496b;
--th-subtle: #a288a6;
@@ -955,7 +956,7 @@
--th-surface: #f8eaf3;
--th-raised: #f3deec;
--th-hover: #edd2e5;
- --th-border: #e7c6dd;
+ --th-border: #caa8bf;
--th-fg: #300c24;
--th-muted: #6e3d5d;
--th-subtle: #a67d98;
@@ -990,7 +991,7 @@
--th-surface: #eceff3;
--th-raised: #e3e7ec;
--th-hover: #d9dee5;
- --th-border: #cfd5de;
+ --th-border: #abb1ba;
--th-fg: #1c2129;
--th-muted: #4c5563;
--th-subtle: #8a93a0;
@@ -1025,7 +1026,7 @@
--th-surface: #f3ece5;
--th-raised: #ece3da;
--th-hover: #e5d9cd;
- --th-border: #dfd2c4;
+ --th-border: #bbaea2;
--th-fg: #2b201a;
--th-muted: #6b584c;
--th-subtle: #a08c7e;
@@ -1060,7 +1061,7 @@
--th-surface: #f8f1de;
--th-raised: #f2e9d0;
--th-hover: #ebe0c2;
- --th-border: #e4d8b6;
+ --th-border: #bdb293;
--th-fg: #2a2310;
--th-muted: #675b3c;
--th-subtle: #a0946f;
@@ -1101,7 +1102,7 @@
--th-surface: #f2f2f3;
--th-raised: #eaeaec;
--th-hover: #e3e3e6;
- --th-border: #dcdce0;
+ --th-border: #b3b3b7;
--th-fg: #111114;
--th-muted: #55555f;
--th-subtle: #8e8e99;
@@ -1136,7 +1137,7 @@
--th-surface: #f9ecf0;
--th-raised: #f4e2e8;
--th-hover: #eed7df;
- --th-border: #e8ccd6;
+ --th-border: #c7aab4;
--th-fg: #33121d;
--th-muted: #704553;
--th-subtle: #a8818e;
@@ -1171,7 +1172,7 @@
--th-surface: #eef2e6;
--th-raised: #e5ebda;
--th-hover: #dce4cf;
- --th-border: #d3dcc4;
+ --th-border: #abb49e;
--th-fg: #1d2618;
--th-muted: #4f5d47;
--th-subtle: #8a9782;
@@ -1206,7 +1207,7 @@
--th-surface: #e9f4f1;
--th-raised: #dfeeea;
--th-hover: #d5e8e3;
- --th-border: #cce1db;
+ --th-border: #9eb6b0;
--th-fg: #12302a;
--th-muted: #44645d;
--th-subtle: #7e9c95;
@@ -1247,7 +1248,7 @@
--th-surface: #e2f6f8;
--th-raised: #d4eff3;
--th-hover: #c6e8ed;
- --th-border: #9fdce4;
+ --th-border: #88bbc3;
--th-fg: #0a0a0f;
--th-muted: #2f525b;
--th-subtle: #6a959e;
@@ -1292,7 +1293,7 @@
--th-surface: #f4efe7;
--th-raised: #ede6db;
--th-hover: #e6ddcf;
- --th-border: #dfd5c6;
+ --th-border: #bab1a3;
--th-fg: #2e2921;
--th-muted: #6a6152;
--th-subtle: #a19886;
@@ -1327,7 +1328,7 @@
--th-surface: #f9eee7;
--th-raised: #f4e4db;
--th-hover: #eed9ce;
- --th-border: #e8cfc2;
+ --th-border: #c5ada1;
--th-fg: #33211a;
--th-muted: #6f5247;
--th-subtle: #a88b80;
@@ -1368,7 +1369,7 @@
--th-surface: #fbf5df;
--th-raised: #f5edcf;
--th-hover: #eee4c0;
- --th-border: #e7dab0;
+ --th-border: #c0b48e;
--th-fg: #2c2410;
--th-muted: #675a36;
--th-subtle: #a29466;
@@ -1409,7 +1410,7 @@
--th-surface: #f4ecf8;
--th-raised: #ece2f3;
--th-hover: #e4d7ee;
- --th-border: #dccde8;
+ --th-border: #bcacc8;
--th-fg: #2a1836;
--th-muted: #634b74;
--th-subtle: #9d86ad;
@@ -1444,7 +1445,7 @@
--th-surface: #f9efe5;
--th-raised: #f4e6d8;
--th-hover: #eedccb;
- --th-border: #e8d2bf;
+ --th-border: #c3ae9c;
--th-fg: #2f1f10;
--th-muted: #6e5540;
--th-subtle: #a88d75;
@@ -1485,7 +1486,7 @@
--th-surface: #f1edf8;
--th-raised: #e9e3f3;
--th-hover: #e0d9ee;
- --th-border: #d8cfe8;
+ --th-border: #b6adc6;
--th-fg: #241d33;
--th-muted: #5a4f70;
--th-subtle: #9588ab;
@@ -1520,7 +1521,7 @@
--th-surface: #eef3e3;
--th-raised: #e5ecd5;
--th-hover: #dbe4c7;
- --th-border: #d2dcba;
+ --th-border: #acb697;
--th-fg: #1a2410;
--th-muted: #4c5a3c;
--th-subtle: #899878;
@@ -1555,7 +1556,7 @@
--th-surface: #f5f6e4;
--th-raised: #eef0d7;
--th-hover: #e6e9ca;
- --th-border: #dfe3bf;
+ --th-border: #b3b796;
--th-fg: #22260f;
--th-muted: #585e3b;
--th-subtle: #959b77;
@@ -2423,21 +2424,6 @@ html[data-chat-font] .aui-root {
background-color: var(--panel-input-surface-hover);
}
- /* Images (Create + Train) and Video: a lighter control border than the palette
- default. Light mode only, since dark mode draws these controls borderless.
- Overrides the token, so every derived shade stays in step. */
- html:not(.dark) .diffusion-surface {
- --border-base: #e9e9e9;
- --input-base: #e9e9e9;
- --border: var(--border-base);
- --input: var(--input-base);
- }
- /* The :root derivation is already substituted, so a scoped base must redo it for the slider. */
- html[data-contrast-adjust]:not(.dark) .diffusion-surface {
- --border: color-mix(in oklab, var(--border-base), var(--contrast-target) var(--contrast-line-mix));
- --input: color-mix(in oklab, var(--input-base), var(--contrast-target) var(--contrast-control-mix));
- }
-
.panel-scroll-fade.is-scrolled {
-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
mask-image: linear-gradient(to bottom, transparent 0, #000 16px);
diff --git a/studio/frontend/src/lib/ai-paintbrush-icon.ts b/studio/frontend/src/lib/ai-paintbrush-icon.ts
deleted file mode 100644
index 8c6948db387..00000000000
--- a/studio/frontend/src/lib/ai-paintbrush-icon.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-// SPDX-License-Identifier: AGPL-3.0-only
-// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
-
-import type { IconSvgElement } from "@hugeicons/react";
-
-// Hugeicons AiPaintbrushIcon (MIT, stroke rounded), added to core-free-icons after the 4.1 this pins.
-export const AiPaintbrushIcon: IconSvgElement = [
- [
- "path",
- {
- d: "M18.922 16.4224L21.4819 18.9835C21.8135 19.315 21.9997 19.7647 21.9997 20.2335C21.9997 21.2098 21.2083 22.0013 20.2319 22.0013C19.7631 22.0013 19.3135 21.815 18.9819 21.4835L16.4234 18.9238C16.1633 18.6636 15.7815 18.5672 15.4291 18.6728L12.1439 19.6572C11.4393 19.8684 10.6757 19.6757 10.1556 19.1556L9.35355 18.3536C9.12718 18.1272 9 17.8201 9 17.5C9 17.1799 9.12718 16.8728 9.35355 16.6464L16.6464 9.35355C16.8728 9.12718 17.1799 9 17.5 9C17.8201 9 18.1272 9.12718 18.3536 9.35355L19.1553 10.1553C19.6755 10.6755 19.8681 11.4395 19.6567 12.1442L18.6714 15.428C18.5657 15.7803 18.6619 16.1622 18.922 16.4224Z",
- stroke: "currentColor",
- strokeLinecap: "round",
- strokeLinejoin: "round",
- strokeWidth: "1.5",
- key: "0",
- },
- ],
- [
- "path",
- {
- d: "M9.5 3.5L7.29289 5.70711C7.10536 5.89464 7 6.149 7 6.41421V9H4.53518C4.20083 9 3.8886 9.1671 3.70313 9.4453L3.21779 10.1733C3.07578 10.3863 3 10.6366 3 10.8926C3 11.2775 3.17094 11.6425 3.4666 11.8888L9 16.5",
- stroke: "currentColor",
- strokeLinecap: "round",
- strokeLinejoin: "round",
- strokeWidth: "1.5",
- key: "1",
- },
- ],
- [
- "path",
- {
- d: "M15 2.75V4M15 4V5.25M15 4H14M15 4H16M17 4L16.1325 3.71082C15.7343 3.57811 15.4219 3.26568 15.2892 2.86754L15 2L14.7108 2.86754C14.5781 3.26568 14.2657 3.57811 13.8675 3.71082L13 4L13.8675 4.28918C14.2657 4.42189 14.5781 4.73432 14.7108 5.13246L15 6L15.2892 5.13246C15.4219 4.73432 15.7343 4.42189 16.1325 4.28918L17 4Z",
- stroke: "currentColor",
- strokeLinecap: "round",
- strokeLinejoin: "round",
- strokeWidth: "1.5",
- key: "2",
- },
- ],
-];
diff --git a/studio/frontend/src/lib/paintbrush-icon.ts b/studio/frontend/src/lib/paintbrush-icon.ts
new file mode 100644
index 00000000000..840eb975269
--- /dev/null
+++ b/studio/frontend/src/lib/paintbrush-icon.ts
@@ -0,0 +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 type { IconSvgElement } from "@hugeicons/react";
+
+// Hugeicons PaintbrushIcon (MIT, stroke rounded), added to core-free-icons after the 4.1 this pins.
+export const PaintbrushIcon: IconSvgElement = [
+ ["path", { d: "M7.51462 8.95508L4.95245 11.5499C3.64347 12.8756 2.98898 13.5384 2.99156 14.358C2.99414 15.1776 3.6528 15.8363 4.97011 17.1537L6.83693 19.0206C8.15423 20.338 8.81289 20.9967 9.63242 20.9993C10.4519 21.0019 11.1147 20.3474 12.4403 19.0383L15.035 16.4759", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", key: "0" }],
+ ["path", { d: "M16.9434 3.77829C17.8285 2.78049 19.3712 2.73439 20.3143 3.67758C21.2575 4.62078 21.2113 6.16362 20.2136 7.04881L17.4641 9.48805C16.9296 9.96225 16.6623 10.1994 16.5923 10.5129C16.5806 10.565 16.5732 10.618 16.5701 10.6712C16.5512 10.992 16.743 11.2934 17.1267 11.8963L17.5847 12.6161C17.8696 13.0638 18.012 13.2877 18.0887 13.5118C18.2799 14.071 18.2124 14.6864 17.9044 15.1908C17.781 15.3929 17.5933 15.5805 17.2181 15.9558C16.9888 16.1851 16.8742 16.2998 16.7539 16.367C16.4526 16.5356 16.0853 16.5356 15.784 16.367C15.6637 16.2998 15.5491 16.1851 15.3198 15.9558L8.03689 8.6723C7.80763 8.44302 7.693 8.32838 7.62576 8.20813C7.45724 7.90675 7.45724 7.53948 7.62576 7.23809C7.693 7.11784 7.80763 7.0032 8.03689 6.77392C8.41214 6.39864 8.59976 6.211 8.80184 6.08758C9.30626 5.77952 9.92161 5.71197 10.4808 5.90326C10.7049 5.9799 10.9287 6.12237 11.3765 6.4073L12.0962 6.86535C12.699 7.24897 13.0003 7.44078 13.3211 7.42194C13.3743 7.41881 13.4273 7.41139 13.4794 7.39976C13.7929 7.32972 14.03 7.06247 14.5042 6.52796L16.9434 3.77829Z", stroke: "currentColor", strokeLinejoin: "round", strokeWidth: "1.5", key: "1" }],
+ ["path", { d: "M7.63999 19.3295L9.13053 17.8389", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "2" }],
+ ["path", { d: "M4.65952 16.3477L7.14375 13.8633", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "3" }]
+];
diff --git a/studio/frontend/tests/contrast-slider.test.ts b/studio/frontend/tests/contrast-slider.test.ts
index e209f5f9661..3a5cf0aa17b 100644
--- a/studio/frontend/tests/contrast-slider.test.ts
+++ b/studio/frontend/tests/contrast-slider.test.ts
@@ -280,10 +280,7 @@ test("text and lines head away from whatever they are drawn on", () => {
"a surface scope leaves body text on the other surface's target",
);
}
- assert.match(
- CSS,
- /html\[data-contrast-adjust\]:not\(\.dark\) \.diffusion-surface \{\s*--border: color-mix\(in oklab, var\(--border-base\), var\(--contrast-target\) var\(--contrast-line-mix\)\);\s*--input: color-mix\(in oklab, var\(--input-base\), var\(--contrast-target\) var\(--contrast-control-mix\)\);/,
- );
+ assert.doesNotMatch(CSS, /\.diffusion-surface \{\s*--border-base/);
});
test("the sidebar section labels follow the slider", () => {
diff --git a/studio/frontend/tests/media-header-links.test.ts b/studio/frontend/tests/media-header-links.test.ts
index b59e7a463a6..81098264f7a 100644
--- a/studio/frontend/tests/media-header-links.test.ts
+++ b/studio/frontend/tests/media-header-links.test.ts
@@ -39,7 +39,7 @@ test("API, Library, then the other media page with an arrow, at the chat header'
);
assert.match(
LINK,
- /icon=\{to === "\/images" \? Image03Icon : FlimSlateIcon\}/,
+ /icon=\{to === "\/images" \? Image01Icon : FlimSlateIcon\}/,
);
});
diff --git a/studio/frontend/tests/presets-icons-fields.test.ts b/studio/frontend/tests/presets-icons-fields.test.ts
index 1b3bec63353..27ab6a85596 100644
--- a/studio/frontend/tests/presets-icons-fields.test.ts
+++ b/studio/frontend/tests/presets-icons-fields.test.ts
@@ -5,7 +5,7 @@ import assert from "node:assert/strict";
import test from "node:test";
import { WORKFLOW_TABS } from "../src/features/images/workflows.ts";
-import { AiPaintbrushIcon } from "../src/lib/ai-paintbrush-icon.ts";
+import { PaintbrushIcon } from "../src/lib/paintbrush-icon.ts";
import { readSrc } from "./helpers/kit.ts";
const PRESETS = readSrc(
@@ -24,12 +24,12 @@ test("preset menu actions use Hugeicons' upload and clipboard-paste", () => {
assert.doesNotMatch(PRESETS, /ImageUp|ClipboardPaste,/);
});
-test("Inpaint uses the vendored AI paintbrush", () => {
+test("Inpaint uses the vendored paintbrush", () => {
assert.equal(
WORKFLOW_TABS.find((tab) => tab.id === "inpaint")?.icon,
- AiPaintbrushIcon,
+ PaintbrushIcon,
);
- assert.equal(AiPaintbrushIcon.length, 3);
+ assert.equal(PaintbrushIcon.length, 4);
});
test("the save row shares the preset list's 8px sides", () => {