Skip to content

[Spike] Liquid glass styling exploration #248

Description

@twblack88

Context

Exploratory spike — lives on its own branch, ships independently, non-blocking to the rest of the redesign. Test whether backdrop-blur / backdrop-saturate treatments on key surfaces feel premium without hurting mobile perf.

Approach

The codebase already has the foundation: --color-whiteAlpha-{50..900} tokens are used throughout (Composer, DrawerListItem, ToolCard, TxStepCard, ReceiveUI).

  • Layer backdrop-blur-md / backdrop-saturate-150 on the prompt box, sidebar, drawers, and tool cards.
  • Mobile testing is requiredbackdrop-filter is expensive on low-end devices. Test on physical mobile + via the existing useIsMobile hook (apps/agentic-chat/src/hooks/use-mobile.ts, 768px breakpoint).
  • Graceful degradation: backdrop-blur-none md:backdrop-blur-md where perf warrants it.

Acceptance criteria

  • Feels premium on desktop.
  • Doesn't drop frames on a mid-range Android.
  • Degrades gracefully on low-end mobile.

Verification

bun run lint
bun run type-check
bun test

Visual/perf QA: test on desktop + physical mobile; verify no frame drops and the glass effect reads correctly across light/dark surfaces.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions