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: Run settings divider, preset picker fill and a clearer Always load (#15472)

Michael Hanceaad598c9a7
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 a31df144ec2..5890b376790 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
@@ -1320,7 +1320,7 @@ function AdvancedSettingsToggle({
onCheckedChange: (next: boolean) => void;
}) {
return (
- <div className={`${ROW_CLASS} border-t border-border pt-5`}>
+ <div className={ROW_CLASS}>
<div className="flex min-w-0 items-center gap-1.5">
<span className="min-w-0 text-ui-13 font-medium leading-[1.25] tracking-nav text-muted-foreground">
Advanced settings
@@ -4313,12 +4313,13 @@ export function ModelConfigPage({
{/* Always rendered so a status change never moves the buttons; the sidebar's name box already does. */}
<div
className={cn(
- "-mt-1.5 -mb-0.5 flex min-h-[calc(1.375em+0.25rem)] min-w-0 items-center gap-2 pl-3.5",
+ "-mt-1.5 -mb-0.5 flex min-h-[calc(1.375em+0.25rem)] min-w-0 items-center gap-2",
naming && (variant === "sidebar" ? "hidden" : "invisible"),
)}
>
<Checkbox
id={alwaysLoadId}
+ className="size-3.5 rounded-full border-[color-mix(in_oklab,var(--foreground)_calc(30%*var(--contrast-edge-gain,1)),transparent)] disabled:opacity-70"
aria-label="Always load with these settings"
aria-describedby={saveStatusId}
checked={selectedSet !== null && selectedSet === pinnedSet}
@@ -4338,7 +4339,7 @@ export function ModelConfigPage({
? "Change a setting or pick a saved one to always load it"
: "Every load of this model uses these settings, even after you load it once with others"
}
- className="shrink-0 cursor-pointer select-none text-ui-12 text-muted-foreground peer-disabled:cursor-default peer-disabled:opacity-60"
+ className="shrink-0 cursor-pointer select-none text-ui-12 text-foreground/80 peer-disabled:cursor-default peer-disabled:opacity-70"
>
{variant === "sidebar" ? "Always load" : "Always load with these settings"}
</label>
diff --git a/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx b/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx
index dc0114d9584..3a3a0cf7cd3 100644
--- a/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx
+++ b/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx
@@ -192,7 +192,7 @@ export function RunSettingsPicker({
<button
type="button"
aria-label="Run settings for this model"
- className="flex h-9 w-full min-w-0 items-center justify-between gap-1.5 rounded-full border border-border bg-transparent px-3.5 text-left text-ui-13 font-medium text-foreground outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50"
+ className="flex h-9 w-full min-w-0 items-center justify-between gap-1.5 rounded-full border border-[color-mix(in_oklab,var(--foreground)_calc(15%*var(--contrast-edge-gain,1)),transparent)] bg-background px-3.5 text-left text-ui-13 font-medium text-foreground outline-none transition-colors hover:bg-accent/50 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 dark:border-transparent dark:bg-[rgb(255_255_255_/_calc(0.06*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]"
>
<span className="min-w-0 truncate">
{selected ?? customName ?? "Default settings"}