Repository navigation
feat(surfaces): one quiet panel and one quiet strip, in place of the glass - #48
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tokens/surfaces.tsnames the prototype's two floating surfaces —quietPanel(hairline, medium shadow, 7px corners, opaque) andquietStrip(full-width edge bar, one hairline). Popover'sglassvariant, 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
glassvariant was a blurred bubble.Verified:
tscclean,tsupclean, 714/714 tests. Branches from ui main independently of #46 and #47. Refs Scaffald/SaaS#977.🤖 Generated with Claude Code