# Tessera Design System The app follows a clean, minimal aesthetic — no heavy borders, no unnecessary shadows, flat hierarchy. ## Principles 1. **Flat, not boxed.** Avoid bordered containers around every section. Use whitespace for separation. 2. **Soft borders.** Never full-opacity borders. Always `/50` or `/30`. 3. **No shadows.** Cards and sections don't need shadows. The sidebar has the only subtle shadow. 4. **Consistent typography.** Three font sizes: labels (10px), content (12-13px), headings (14-24px). 5. **Dimmed by default.** Icons, borders, and secondary text start dimmed. They brighten on hover/focus. ## Component Patterns ### Section Wrapper ```tsx
...
``` ### Section Header / Title Bar ```tsx

Title

``` ### List Item (clickable) ```tsx ``` ### Property Row (key-value) ```tsx
Label Value
``` ### Sidebar Nav Item ```tsx {label} ``` ### Section Label (small caps) ```tsx
LABEL
``` ### Form Input ```tsx ``` ### Form Select ```tsx ``` ## Typography Scale | Size | Weight | Use | |------|--------|-----| | `text-[10px]` | `font-medium` | Section labels, form labels | | `text-[11px]` | `font-medium` | Meta, timestamps, badges | | `text-[13px]` | `font-normal` | Nav items, list items | | `text-sm` | `font-normal` | Body, property values | | `text-sm` | `font-semibold` | Card titles, list item names | | `text-base` | `font-semibold` | Section headings | | `text-lg` | `font-semibold` | Form titles | | `text-xl` | `font-semibold` | Page headings | ## Color Tokens | Token | Use | |-------|-----| | `border-border/50` | Section borders, card borders | | `border-border/30` | Subtle dividers, list separators | | `border-border/50` | Sidebar border | | `bg-muted/20` | Section header background | | `bg-muted/40` | Tab bar background | | `bg-sidebar-accent` | Active nav item | | `text-sidebar-foreground/55` | Inactive nav item | | `text-muted-foreground/60` | Section labels | | `text-foreground/90` | Slightly muted body text | ## What to Avoid - ❌ `rounded-md` — use `rounded-lg` for cards, `rounded-md` for small elements - ❌ `shadow-sm` or `shadow-md` on any card or section - ❌ `bg-card/82` — use solid `bg-card` or `bg-transparent` - ❌ `border-border` (full opacity) — always `/50` or `/30` - ❌ `backdrop-blur` on headers - ❌ `
`/`
`/`
` grids for property lists — use flex rows - ❌ `text-[11px] font-semibold uppercase` — use the section label pattern - ❌ Heavy icon usage in section headers — keep icons small (`h-3 w-3`)