Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

style(chat): float the input (sharp + soft shadow), drop the divider bar (#4261)

Louis Beaumont499e21494bf8
diff --git a/DESIGN.md b/DESIGN.md
index f00a09104..147a360ff 100644
--- a/DESIGN.md
+++ b/DESIGN.md
@@ -88,11 +88,11 @@ No color. Sharp corners. Clean typography. Escher-inspired mathematical abstract
- Width: 1px solid
- Style: Sharp, binary (on/off)
-- No gradients, no shadows
+- No gradients
### Shadows
-**None.** Flat design throughout. Use borders for separation.
+**Flat by default — use 1px borders for separation.** Subtle shadows are allowed to lift floating / elevated surfaces (chat input, overlays, popovers, dialogs) off the background. Keep them soft and low-opacity (e.g. `shadow-lg shadow-black/5`); never round corners to sell the lift — corners stay sharp.
---
@@ -131,7 +131,7 @@ No color. Sharp corners. Clean typography. Escher-inspired mathematical abstract
```
- Border: 1px solid
-- Shadow: None
+- Shadow: Subtle lift allowed (elevated surface)
- Animation: 150ms fade
- Title: lowercase
```
@@ -180,8 +180,8 @@ When creating new UI components:
- [ ] Using Space Grotesk for headings
- [ ] Using Crimson Text for body (or IBM Plex Mono for technical)
- [ ] 1px solid border
-- [ ] No box shadows
-- [ ] 0px border radius (sharp corners)
+- [ ] Flat by default; subtle shadows OK only to lift floating/elevated surfaces
+- [ ] 0px border radius (sharp corners) — always, even on shadowed surfaces
- [ ] Black, white, or gray only
- [ ] 150ms transitions
- [ ] UPPERCASE for buttons, lowercase for titles
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index 0d50e60d4..01a408130 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -9375,7 +9375,7 @@ export function StandaloneChat({
</div> {/* End of main content area with history sidebar */}
{/* Input */}
- <div ref={inputSectionRef} className="relative border-t border-border/50 bg-gradient-to-t from-muted/20 to-transparent">
+ <div ref={inputSectionRef} className="relative bg-gradient-to-t from-background via-background/80 to-transparent">
<div className={CHAT_RAIL_CLASS}>
{/* Prefill, filters, suggestions first; then attached images in gap; then agent bar; then form */}
{/* Prefill context indicator from search */}
@@ -9764,7 +9764,7 @@ export function StandaloneChat({
<div
className={cn(
"flex flex-col rounded-lg border bg-input ring-offset-background transition-colors focus-within:border-foreground focus-within:ring-foreground/10 focus-within:ring-1",
- "bg-background/50 border-border/50",
+ "bg-background/80 border-border/50 shadow-lg shadow-black/5",
disabledReason && "border-muted-foreground/30"
)}
>