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
Fix header gradient banding on plain glass backgrounds (#17403)
Lee Jackson289d9a79a85f
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.cssindex ba3254b19ab..41d64d7af8d 100644--- a/studio/frontend/src/index.css+++ b/studio/frontend/src/index.css@@ -6486,7 +6486,8 @@ html[data-composer-outline="off"] .wallpaper-preview-composer {}.wallpaper-preview-prose { background: var(--background); }-.chat-wallpaper::after {+/* Plain glass already uses the page colour; only image wallpapers need the header contrast fade. */+.chat-wallpaper:not([data-glass-backdrop])::after {content: "";position: absolute;inset: 0 0 auto;diff --git a/studio/frontend/tests/welcome-halo-image-only.test.ts b/studio/frontend/tests/welcome-halo-image-only.test.tsindex 7504cd46d3c..d8c02999eb8 100644--- a/studio/frontend/tests/welcome-halo-image-only.test.ts+++ b/studio/frontend/tests/welcome-halo-image-only.test.ts@@ -29,6 +29,16 @@ test("the greeting halo is drawn only where the wallpaper is an image", () => {assert.match(halo.toString(), /radial-gradient\(ellipse, color-mix\(in srgb, var\(--background\)/);});+test("the header contrast fade skips the plain Glass backdrop", () => {+ const fades: postcss.Rule[] = [];+ postcss.parse(CSS).walkRules((rule) => {+ if (rule.selectors.some((s) => /^\.chat-wallpaper\b.*::after$/.test(s))) fades.push(rule);+ });+ assert.equal(fades.length, 1, "one header fade rule");+ assert.deepEqual(fades[0].selectors, [".chat-wallpaper:not([data-glass-backdrop])::after"]);+ assert.match(fades[0].toString(), /linear-gradient\(color-mix\(in srgb, var\(--background\) 48%, transparent\), transparent\)/);+});+test("the image flag excludes the plain Glass backdrop", () => {const flag = WALLPAPER_HOST_FLAGS.find(([name]) => name === "data-wallpaper-image");assert.ok(flag, "the host flag exists");