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: match ChatGPT's dark mode text colours in the thread (#11410)

Michael Han3364994bbc64
diff --git a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
index ce77c661a0a..bcb9343407c 100644
--- a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
@@ -237,7 +237,7 @@ function ToolFallbackTrigger({
)}
>
{label}:{" "}
- <span className="font-medium text-foreground/85">{displayName}</span>
+ <span className="font-medium">{displayName}</span>
</span>
{isRunning && (
<span
@@ -249,7 +249,7 @@ function ToolFallbackTrigger({
)}
>
{label}:{" "}
- <span className="font-medium text-foreground/85">{displayName}</span>
+ <span className="font-medium">{displayName}</span>
</span>
)}
</span>
diff --git a/studio/frontend/src/components/assistant-ui/tool-group.tsx b/studio/frontend/src/components/assistant-ui/tool-group.tsx
index c4b2c974646..90aac112b69 100644
--- a/studio/frontend/src/components/assistant-ui/tool-group.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-group.tsx
@@ -162,7 +162,8 @@ function ToolGroupTrigger({
<CollapsibleTrigger
data-slot="tool-group-trigger"
className={cn(
- "aui-tool-group-trigger group/trigger flex w-full cursor-pointer items-center gap-2 text-sm transition-colors",
+ // Muted like the tool rows it summarises, so only the answer is at full foreground.
+ "aui-tool-group-trigger group/trigger flex w-full cursor-pointer items-center gap-2 text-muted-foreground text-sm transition-colors",
"group-data-[variant=outline]/tool-group-root:px-4",
"group-data-[variant=muted]/tool-group-root:px-4",
"group-data-[variant=ghost]/tool-group-root:px-0",
diff --git a/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx b/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx
index 8e33e42f19a..f6df3b4861b 100644
--- a/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx
+++ b/studio/frontend/src/features/settings/components/appearance-custom-controls.tsx
@@ -77,15 +77,15 @@ const PALETTE_DEFAULT_COLORS: Record<
> = {
standard: {
light: { accent: "#17b88b", background: "#fefefd", foreground: "#262626" },
- dark: { accent: "#17b88b", background: "#181818", foreground: "#ececec" },
+ dark: { accent: "#17b88b", background: "#181818", foreground: "#ffffff" },
},
classic: {
light: { accent: "#339cff", background: "#ffffff", foreground: "#1a1c1f" },
- dark: { accent: "#4dabff", background: "#181818", foreground: "#ececec" },
+ dark: { accent: "#4dabff", background: "#181818", foreground: "#ffffff" },
},
minimal: {
light: { accent: "#171717", background: "#ffffff", foreground: "#171717" },
- dark: { accent: "#ededed", background: "#181818", foreground: "#ededed" },
+ dark: { accent: "#ededed", background: "#181818", foreground: "#ffffff" },
},
};
diff --git a/studio/frontend/src/index.css b/studio/frontend/src/index.css
index 1b9ab3ab879..574a71e800e 100644
--- a/studio/frontend/src/index.css
+++ b/studio/frontend/src/index.css
@@ -354,20 +354,20 @@
sidebar, #212121 cards. Palette dark blocks override only accent
tokens so dark mode stays consistent across themes. */
--background: #181818;
- --foreground: #ececec;
+ --foreground: #ffffff;
--card: #212121;
- --card-foreground: #ececec;
+ --card-foreground: #ffffff;
--popover: #212121;
- --popover-foreground: #ececec;
+ --popover-foreground: #ffffff;
--primary: #17b88b;
--primary-foreground: oklch(1 0 0);
--secondary: #242424;
- --secondary-foreground: #ececec;
+ --secondary-foreground: #ffffff;
--muted: #242424;
- --muted-foreground: #9b9b9b;
+ --muted-foreground: #a3a3a3;
/* One step lighter than --popover so menu item hover reads clearly. */
--accent: #2e2e2e;
- --accent-foreground: #ececec;
+ --accent-foreground: #ffffff;
--destructive: oklch(0.6368 0.2078 25.3313);
/* Bypass permissions accent: bright, saturated neon yellow on dark. */
--bypass: #ffd60a;
@@ -385,11 +385,11 @@
/* Elevated a step lighter than --background; the tone difference is
the separator. */
--sidebar: #1f1f1f;
- --sidebar-foreground: #ececec;
+ --sidebar-foreground: #ffffff;
--sidebar-primary: #17b88b;
--sidebar-primary-foreground: oklch(1 0 0);
--sidebar-accent: #2a2a2a;
- --sidebar-accent-foreground: #ececec;
+ --sidebar-accent-foreground: #ffffff;
--sidebar-border: #2a2a2a;
--sidebar-ring: #ececec;
--destructive-foreground: oklch(1 0 0);