Repository navigation
Closed
Labels
FrontendUXagent-readyTriaged and self-contained — ready for an AI agent to pick uppriority: highredesignSCF prototype parity — the redesign roadmap (#622)
Milestone
Description
Part of the redesign roadmap (#622). Release 1, and the single biggest win in it: 139 files in packages/scf-core/features render <Card>, every screen renders Button, Tabs, Input, Chip — restyle those once and every screen moves at the same time, before any per-screen pass.
The prototype's conventions (redesign/_ds/.../readme.md, styles.css)
- Surfaces stay quiet. Cards are bordered, not filled or shadowed; separation is hairline rules (
--color-divider, ink at 16 %) and whitespace. "Do not use heavy drop shadows — elevation here is a whisper." Three shadow steps exist and are reserved for things that float: dialogs, sheets, popovers. - Actions are outlined. The primary is a 1 px accent outline on transparent, not a fill; hover/pressed states come from the accent ramp; the disabled state drops to 45 % opacity;
:focus-visibleis a 2 px accent ring. (We keep teal as the accent, per feat(redesign): prototype parity — reference shots, tokens, and screen primitives #621.) - Tags tint from the ramps — light step fill, dark step text — and never a solid accent fill.
- Folder tabs on one line that scroll rather than wrap, the active tab attached to its panel.
- Fields are native-feeling: 1 px border, 4 px radius, label above, no floating labels.
- Tables have a themed header and row rules from the divider token, status cells reuse the tags.
- Spacing is airy (density 1.15×: 4.6 / 9.2 / 13.8 / 18.4 / 27.6 / 36.8) and radius is nearly square (2 / 4 / 7).
Today (packages/ui/src/components/)
Card/Card.styles.ts:84-88— elevation variants map toshadows.xs/s/m/soft/glass; the default card carries a shadow. Zero scf-core files use the shadow or glass tokens directly, so the cards are where the shadows come from.Button/Button.styles.ts:209-214—filledis the default primary;outlineexists.Tabs/Tabs.styles.ts:197-226— the selected tab gets abg.emphasisfill plus a 2 px underline; no horizontal-scroll strip.Chip,Input,Table,Sheet,Modal,Dropdown,Popover,ListItem,Skeleton— the pre-redesign look: filled pills, heavier borders, larger radii where the component sets its own.
Change (Scaffald/ui, one PR per component group, pointer bumps here)
- Card: default variant becomes bordered-unfilled with no shadow;
elevationonly applies when asked for. Audit the 139 callers for ones that were using the card as a shadowed hero and needelevation="sm"back. - Button: primary = accent outline;
filledstays available for the two or three places a solid CTA is right (auth submit, hire confirm); hover/pressed/disabled/focus per the readme. - Tabs: a
foldervariant — one line, horizontal scroll, attached panel, count badges;ListToolbarandScreenHeaderconsumers adopt it. - Chip / NotificationTag / StatusIndicator: ramp-tinted tags, one shape.
- Input / SearchSelect / DatePicker / PhoneNumberInput: one field treatment, label above.
- Table: header rule + row rules, no zebra fill, status cells use the tag.
- Sheet / Modal / Popover / Dropdown / ContextMenu: the one place shadows live; consistent radius (
lg= 7, native sheets keep the iOS radii). - Divider / Separator: hairline from the divider token; sections use it instead of card boundaries.
Verify each group in Storybook at 1440 and 375 and on the smoke captures of /, /dashboard, /office/applications, /jobs before merging the pointer bump.
Acceptance
- A default
<Card>renders with a 1 px border and no shadow;grep -rn 'elevation=' packages/scf-corelists only deliberate uses - Primary buttons are outlined app-wide; filled ones are enumerated in the PR
- Tabs never wrap at any width on
/office/applicationsand the discover screens - Before/after smoke captures of the four screens above, attached; no screen got worse
-
.radium/scaffald-ui.mdgains a "conventions" section: when a card, when a rule; when filled, when outlined
Metadata
Metadata
Assignees
Labels
FrontendUXagent-readyTriaged and self-contained — ready for an AI agent to pick uppriority: highredesignSCF prototype parity — the redesign roadmap (#622)
Activity
feat(surfaces): quiet by default — bordered cards, outlined buttons, …
feat(redesign): quiet surfaces — the ui conventions, near-square radi…