Skip to content

feat(surfaces): one quiet panel and one quiet strip, in place of the glass - #48

Merged
thinkclay merged 1 commit into
mainfrom
feat/quiet-surfaces
Oct 5, 2026
Merged

thinkclay merged 1 commit into
mainfrom
feat/quiet-surfaces

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

tokens/surfaces.ts names the prototype's two floating surfaces — quietPanel (hairline, medium shadow, 7px corners, opaque) and quietStrip (full-width edge bar, one hairline). Popover's glass variant, ActionSheet, BottomBar and BottomToolbar move onto them; ToolbarButton, ToolbarSearchBar and PageControl (the pieces inside the bars) lose blur and pill radii and take the teal tint per Scaffald/SaaS#983.

Correction to the issue: Popover's default variant was already the quiet panel and is what ListToolbar's filters flyout uses; only the glass variant was a blurred bubble.

Verified: tsc clean, tsup clean, 714/714 tests. Branches from ui main independently of #46 and #47. Refs Scaffald/SaaS#977.

🤖 Generated with Claude Code

…glass

The SCF prototype floats things two ways. A panel — popover, sheet, menu —
is the page's own ground with a hairline, the medium shadow and near-square
corners. A strip — a toolbar, a tab bar — is pinned full-width to an edge
with one hairline and nothing else. Both are opaque. `tokens/surfaces.ts`
names them: `quietPanel(theme)` and `quietStrip(theme, edge)`.

What moves onto them (Scaffald/SaaS#977):

- Popover's `glass` variant — a 20px-radius blurred bubble — renders the
  same quiet panel as the default. (The default was already quiet, and it
  is what ListToolbar's filters flyout uses; the issue's claim that the
  flyout was blurred came from an older checkout.)
- ActionSheet: the quiet panel, squared along the bottom edge it rises from.
- BottomBar and BottomToolbar: a strip, not a floating pill — full width,
  hairline on top, no blur, no shadow, no inset. The style key stays `pill`
  because the components reach for it by that name.
- ToolbarButton, ToolbarSearchBar, PageControl — the pieces inside those
  bars — lose their blur and pill radii: near-square, hairline-bordered,
  teal tint instead of iOS system blue, type on the scale.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant