Skip to content

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

chore: files changed app/src/lib/theme/presets.ts\n\nAuto-committed-on: macbook\n

Steven Enamakelf9fcdb94bc73
diff --git a/app/src/lib/theme/presets.ts b/app/src/lib/theme/presets.ts
index db4796489f..b8a8a60456 100644
--- a/app/src/lib/theme/presets.ts
+++ b/app/src/lib/theme/presets.ts
@@ -77,6 +77,21 @@ const CLASSIC_DARK: Theme = {
fonts: {},
};
+// No preset carries a canvas gradient any more.
+//
+// Four did (Ocean light/dark, Matrix dark, HAL dark) — a linear or radial wash
+// painted on `body` through `--app-gradient`. They are flat `surface-canvas`
+// colours now. The gradient was competing with the thing it sat under rather
+// than supporting it: `RootShellLayout` lays `surface-chrome` at /30 over the
+// whole shell, so a hue that varied across the window met a scrim that did not,
+// and the frame read as a different colour at the top of the screen than at the
+// bottom. A solid canvas under a flat scrim gives one background colour.
+//
+// `Theme['gradient']` and `--app-gradient` both stay: `body` still falls back
+// through them (`index.css`), the Theme Studio still round-trips the field on
+// import/export, and a user theme may still set one. This is the presets
+// declining to, not the capability going away.
+//
// Every preset names `surface-chrome` explicitly.
//
// It is the window chrome — the tinted frame the sidebar sits on, outside the
@@ -120,7 +135,6 @@ const OCEAN_LIGHT: Theme = {
'primary-600': '53 110 200',
'primary-700': '40 92 176',
},
- gradient: { canvas: 'linear-gradient(180deg, rgb(235 244 253), rgb(214 230 248))' },
fonts: {},
};
const OCEAN_DARK: Theme = {
@@ -153,7 +167,6 @@ const OCEAN_DARK: Theme = {
'primary-500': '96 165 250',
'primary-600': '59 130 246',
},
- gradient: { canvas: 'radial-gradient(circle at 30% 0%, rgb(20 34 64), rgb(7 12 24) 60%)' },
fonts: {},
};
@@ -242,7 +255,6 @@ const MATRIX_DARK: Theme = {
'content-inverted': '2 8 4',
...GREEN_RAMP,
},
- gradient: { canvas: 'radial-gradient(circle at 50% 0%, rgb(6 32 16), rgb(2 8 4) 68%)' },
fonts: { body: MONO_STACK, heading: MONO_STACK },
};
const MATRIX_LIGHT: Theme = {
@@ -299,7 +311,6 @@ const HAL_DARK: Theme = {
// and accent text uses the lighter 300/400 shades, so the red identity holds.
'primary-500': '214 30 30',
},
- gradient: { canvas: 'radial-gradient(circle at 50% 16%, rgb(84 10 10), rgb(8 4 4) 56%)' },
fonts: {},
};
const HAL_LIGHT: Theme = {