Skip to content

feat(surfaces): quiet by default — bordered cards, outlined buttons, unfilled tabs, tinted chips - #38

Merged
thinkclay merged 1 commit into
mainfrom
redesign/quiet-surfaces
Sep 22, 2026
Merged

thinkclay merged 1 commit into
mainfrom
redesign/quiet-surfaces

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Part of the Scaffald/SaaS redesign, release 1 (Scaffald/SaaS#850, epic Scaffald/SaaS#847).

The SCF prototype separates with hairlines and whitespace and keeps colour as stroke rather than fill. The shared components carried the opposite defaults, so every screen inherited floating, shadowed, 20–32px-radius panels and block-filled buttons before it drew anything of its own.

Changes

  • Card: outlined is the default variant, with the visible hairline (border.default) rather than the near-white subtle step. Every radius above sm resolves to the 7px interface step. glass keeps its name for its 110 app callers but renders as the same bordered surface with a translucent fill — no blur, no shadow. elevated / surface still shadow when asked for.
  • Button: outline is the default variant. filled stays for the CTA a screen genuinely leads with.
  • Tabs: the selected default tab no longer takes a grey fill; the 2px indicator carries it. New folder type: bordered tabs with rounded top corners on a hairline, the selected one attached to the panel beneath.
  • Chip: a selected chip is a primary-ramp tint, not an inverted black pill.

Verification

  • tsc --noEmit clean; nx run @scaffald/ui:test 709/709.
  • Storybook could not be started from the workspace (lucide-react-native unresolvable from packages/ui — the #795 gap), so the visual check is on the app side in the SaaS PR, with before/after captures from the authenticated route sweep.

🤖 Generated with Claude Code

…unfilled tabs, tinted chips

The SCF prototype separates with hairlines and whitespace and keeps colour
as stroke rather than fill. The shared components carried the opposite
defaults, so every screen inherited floating, shadowed, 20–32px-radius
panels and block-filled buttons before it drew anything of its own.

- Card: `outlined` is the default variant, with the visible hairline
  (border.default) rather than the near-white `subtle` step. Every radius
  above `sm` resolves to the 7px interface step. `glass` keeps its name for
  its 110 callers but renders as the same bordered surface with a
  translucent fill — no blur, no shadow. `elevated`/`surface` still shadow
  when asked for.
- Button: `outline` is the default variant. `filled` stays for the CTA a
  screen genuinely leads with.
- Tabs: the selected `default` tab no longer takes a grey fill — the 2px
  indicator carries it. New `folder` type: bordered tabs with rounded top
  corners on a hairline, the selected one attached to the panel beneath.
- Chip: a selected chip is a primary-ramp tint, not an inverted black pill.

Refs Scaffald/SaaS#850

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@thinkclay
thinkclay merged commit 1522833 into main Sep 22, 2026
@thinkclay
thinkclay deleted the redesign/quiet-surfaces branch September 22, 2026 19:38
thinkclay added a commit to Scaffald/SaaS that referenced this pull request Sep 22, 2026
Scaffald/ui#38 merged as 1522833. A fresh clone resolves the branch
commit only while the branch exists, so the pointer moves to main's.

Co-Authored-By: Claude Opus 5 <[email protected]>
thinkclay added a commit to Scaffald/SaaS that referenced this pull request Sep 22, 2026
…i across every screen, a ruled drawer (#861)

* feat(redesign): quiet surfaces — the ui conventions, near-square radii across every screen, a ruled drawer

Pointer bump to Scaffald/ui@edbd4c6 (Scaffald/ui#38): cards are bordered
and unshadowed by default, `glass` renders as the same quiet surface,
buttons are outlined unless a screen asks for a fill, the selected tab
loses its grey block, chips tint from the primary ramp.

The screens had drawn their own containers with 8/10/12/16/20px corners —
258 literal `borderRadius` sites across 132 files — so the component
change alone would have left every hand-rolled panel bubbled. Those snap
to the prototype's interface steps: ≤6 → 4, everything from 8 to 32 → 7.
Circles (a radius equal to half a nearby width or height) are left alone,
as is the Lüscher colour test.

The drawer's active item is a 2px accent rule on its left edge rather than
a grey pill behind the label; the rule is always drawn, transparent when
inactive, so labels do not shift when the route changes.

Refs #850, #851

Co-Authored-By: Claude Fable 5.1 <[email protected]>

* fix(drawer): the active rule is a positioned bar, not a border that follows the corner

The left border I added to mark the active nav item renders on a rounded
container — 16px on the expandable variant — so on a 44px-tall item it
curves away at both ends and draws a crescent rather than a rule. The
marker is now an absolutely-positioned 2px bar, inset 6px top and bottom,
independent of whatever radius the item carries.

Refs #850

Co-Authored-By: Claude Opus 5 <[email protected]>

* chore(ui): repoint the submodule at the squashed commit on ui main

Scaffald/ui#38 merged as 1522833. A fresh clone resolves the branch
commit only while the branch exists, so the pointer moves to main's.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

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