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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Studio: keep search icons sharp under the Glass theme on non-chat pages (#16989)
Debojyoti Banerjeebf79bebbd46e
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex f405276e664..c2180e21901 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -6889,6 +6889,10 @@ html[data-glass][data-chat-wallpaper-workspace-ready] [data-wallpaper-route="pag-webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));}+/* The frost makes a field its own layer, painted over an icon placed before it, so lift those icons above the glass. */+html[data-glass][data-chat-wallpaper-workspace-ready] [data-wallpaper-route="page"] > [data-slot="sidebar-inset"] :is(svg, span:has(> svg)).absolute:has(~ :is([data-slot="input"], .panel-field, .field-soft)) {+ z-index: 1;+}html[data-glass][data-chat-wallpaper-workspace-ready] [data-wallpaper-route="page"] > [data-slot="sidebar-inset"] :where(button:not(:disabled, [data-slot="checkbox"], [data-slot="switch"]):is([class*="hover:bg-"]:hover, [class*="open:bg-"][data-state="open"])) {background-image: linear-gradient(var(--glass-hover), var(--glass-hover)), var(--glass-sheen, linear-gradient(transparent, transparent));box-shadow: var(--page-glass-edge, inset 0 0 0 1px color-mix(in srgb, var(--foreground) var(--element-outline, 14%), transparent), inset 0 1px 0 rgb(255 255 255 / .072));diff --git a/studio/frontend/tests/glass-page-field-icons.test.ts b/studio/frontend/tests/glass-page-field-icons.test.tsnew file mode 100644index 00000000000..96f6c622c96--- /dev/null+++ b/studio/frontend/tests/glass-page-field-icons.test.ts@@ -0,0 +1,30 @@+// 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 assert from "node:assert/strict";+import test from "node:test";++import { readSrc } from "./helpers/kit.ts";++const CSS = readSrc("index.css");+const PAGE = 'html[data-glass][data-chat-wallpaper-workspace-ready] [data-wallpaper-route="page"] > [data-slot="sidebar-inset"]';++test("page glass lifts the leading icon of a frosted field above the field's backdrop-filter", () => {+ const frost = CSS.indexOf(`${PAGE} :where(.elevated-card`);+ assert.ok(frost > 0, "the page glass rule frosts resting fields");+ assert.match(CSS.slice(frost, CSS.indexOf("}", frost)), /\[data-slot="input"\], \.panel-field, \.field-soft[\s\S]*backdrop-filter: blur/);+ const lift = CSS.indexOf(`${PAGE} :is(svg, span:has(> svg)).absolute:has(~ :is([data-slot="input"], .panel-field, .field-soft)) {`);+ assert.ok(lift > frost, "a backdrop-filter field paints over an earlier absolute icon (issue #16962)");+ assert.match(CSS.slice(lift, CSS.indexOf("}", lift)), /z-index: 1;/);+});++for (const [file, icon] of [+ ["features/hub/catalog/models-toolbar.tsx", /<HugeiconsIcon\s+icon=\{Search01Icon\}[^>]*className="pointer-events-none absolute [^"]*"\s*\/>\s*<Input\b/],+ ["features/chat/projects-page.tsx", /<span className="pointer-events-none absolute [^"]*">\s*<HugeiconsIcon icon=\{Search01Icon\}[^>]*\/>\s*<\/span>\s*<Input\b/],+ ["features/scheduled-tasks/tasks-page.tsx", /<span className="pointer-events-none absolute [^"]*">\s*<HugeiconsIcon icon=\{Search01Icon\}[^>]*\/>\s*<\/span>\s*<Input\b/],+ ["features/api-monitor/api-monitor-page.tsx", /<HugeiconsIcon\s+icon=\{Search01Icon\}[^>]*className="pointer-events-none absolute [^"]*"[^>]*\/>\s*<Input\b/],+] as const) {+ test(`${file}: the search icon is the absolute sibling before its Input that the lift matches`, () => {+ assert.match(readSrc(file), icon);+ });+}