Skip to content

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

fix(theme): update ColorTokenField to use correct color token for background

Steven Enamakel5968d27c134c
diff --git a/app/src/components/settings/panels/theme/ColorTokenField.tsx b/app/src/components/settings/panels/theme/ColorTokenField.tsx
index bb7edb7c48..bd4d815b64 100644
--- a/app/src/components/settings/panels/theme/ColorTokenField.tsx
+++ b/app/src/components/settings/panels/theme/ColorTokenField.tsx
@@ -32,13 +32,13 @@ const ColorTokenField = ({ tokenKey, label, value, disabled, onChange }: ColorTo
return (
<label
htmlFor={id}
- className={`flex items-center gap-3 py-2 ${disabled ? 'cursor-not-allowed' : 'cursor-pointer'}`}>
+ className={`flex items-center gap-3 py-1.5 ${disabled ? 'cursor-not-allowed' : 'cursor-pointer'}`}>
{/* The native colour input paints its own frame and inset padding around
the swatch, which doubled up with our border and looked different in
every engine. The visible swatch is a plain span; the real input sits
on top of it, transparent, so clicking still opens the OS picker. */}
<span
- className={`relative h-8 w-8 shrink-0 overflow-hidden rounded-lg ring-1 ring-inset ring-line-strong ${
+ className={`relative h-7 w-7 shrink-0 overflow-hidden rounded-md ring-1 ring-inset ring-line-strong ${
disabled ? 'opacity-50' : ''
}`}
style={{ backgroundColor: hex }}>