Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(theme): restore missing theme background color in settings

Steven Enamakeld4d4b6343b64
diff --git a/app/src/components/AppBackground.tsx b/app/src/components/AppBackground.tsx
index e3d3419dec..012c984649 100644
--- a/app/src/components/AppBackground.tsx
+++ b/app/src/components/AppBackground.tsx
@@ -17,7 +17,7 @@ interface AppBackgroundProps {
*/
export default function AppBackground({ className = '' }: AppBackgroundProps) {
const theme = useAppSelector(selectEffectiveTheme);
- const backdrop = theme.backdrop?.kind ?? 'mesh';
+ const backdrop = theme.backdrop?.kind ?? 'solid';
const showDots = theme.backdrop?.dots !== false; // default on
return (
diff --git a/app/src/components/settings/panels/ThemeStudioPanel.tsx b/app/src/components/settings/panels/ThemeStudioPanel.tsx
index 24b5b13e71..78e724d73b 100644
--- a/app/src/components/settings/panels/ThemeStudioPanel.tsx
+++ b/app/src/components/settings/panels/ThemeStudioPanel.tsx
@@ -394,7 +394,7 @@ const ThemeStudioPanel = () => {
role="radiogroup"
aria-label={t('settings.theme.backdropHeading', 'Background')}>
{(['mesh', 'solid', 'image'] as BackdropKind[]).map(kind => {
- const current = effectiveTheme.backdrop?.kind ?? 'mesh';
+ const current = effectiveTheme.backdrop?.kind ?? 'solid';
const sel = current === kind;
return (
<button
diff --git a/app/src/store/themeSlice.ts b/app/src/store/themeSlice.ts
index 0ae11be802..2087b186bc 100644
--- a/app/src/store/themeSlice.ts
+++ b/app/src/store/themeSlice.ts
@@ -178,7 +178,7 @@ const themeSlice = createSlice({
}>
) {
const theme = ensureEditableCustom(state);
- const prev = theme.backdrop ?? { kind: 'mesh' as const };
+ const prev = theme.backdrop ?? { kind: 'solid' as const };
theme.backdrop = { ...prev, ...action.payload, kind: action.payload.kind ?? prev.kind };
},
/**