Skip to content
refs

redesign(ui): Quiet Line design system, shimmer loading and Apple guideline rules

Amancommitted Nov 30, 202684b4a65parent 542a52a

The interface was a themed "transit signage" look with condensed capitals, 3px plates and a cobalt primary button. It is now a calm ink interface. Linear and Apple's Human Interface Guidelines are the references. - Tokens: new dark and light palettes, shadow-ring cards, translucent header and menus, 6/8/12/16px radii, a rem type scale with a 12px floor. - Type: Inter Variable and Geist Mono Variable replace Barlow and JetBrains Mono. - Icons: Lucide through one module, with a 1.5px stroke at every size. - Loading: the header progress bar is removed. A navigation keeps the page, dims it, then shows a shimmer skeleton of the page to come. - Theme: System, Light or Dark, restored before paint. - Shell: the rail can be hidden; a skip link; the pressed rail row or tab is marked current at once. - Phones: 16px text, 40px controls, 44px targets, dialogs as bottom sheets. - Forms: the main button waits for required fields; Save waits for a change. - Dialogs: a destructive confirmation has no default button. - File view: syntax highlighting with the highlighter of the diff view. - Label picker: filter labels and create one in place. - Sign-in pages: two columns, the form and the product at work. - Motion: staged entrance on the landing hero and the sign-in graphic, a reveal for the steer form, animated disclosures, a merge ring.

6 decisions

Make the one primary button ink, and keep blue only for people, links and focus.

Why

  • A reviewer must tell a human act from agent work at a glance, so blue needs one meaning.
  • An ink button reads as primary in both themes without a second accent color.

Paths considered

  1. Chosen
  2. accent-primaryBlue would mean both a person and the main action.

Touches

  • styles.css
  • button.tsx

Route every icon through packages/design-system/icons.tsx, backed by Lucide.

Why

  • Phosphor regular draws a 1px stroke at 16px, which is too thin beside 13px text.
  • One module lets the icon set change in one place.

Paths considered

  1. Chosen
  2. phosphor-boldIt fixes the weight but keeps direct library imports in 35 files.

Touches

  • icons.tsx

Show page loading as a dim stage and then a shimmer skeleton, not as a bar on the header.

Why

  • The owner asked for shimmer in place of the header bar.
  • A fast navigation must show no loading state, so the page first stays, then dims at 150ms, then swaps at 450ms.
  • A layout that survives a navigation leaves the skeleton to the part inside it.

Assumes

  • Most navigations finish before 450ms or take long enough for a skeleton to help.

Touches

  • pending.tsx
  • skeleton.tsx

Keep lists, tables and forms in cards, and do not flatten them to look simpler.

Why

  • The owner tried flat lists and asked for the cards back, for structure.

Touches

  • surface.tsx
  • dashboard.tsx

Highlight the file view in the browser with the highlighter and themes of the diff view.

Why

  • A file and its diff must look the same.
  • The highlighter stays out of the Worker bundle, so the Worker size does not grow.

Assumes

  • Files over 5,000 lines or 300,000 characters may stay plain.

Touches

  • highlight.ts
  • repo-blob.tsx

Create a label from the label picker through the action of the labels page.

Why

  • A reader must not leave a task to make a label.
  • The page that shows the picker reloads its labels after the action, so the new label can be applied by name.

Touches

  • tasks.tsx
  • label-creation.ts
62 files changed · +1803 −556
apps/frontend/components/decision-view.tsx+8 −8
apps/frontend/components/diff-view.tsx+8 −4
apps/frontend/components/highlight.ts+28 −0
apps/frontend/components/history-reasoning.tsx+6 −6
apps/frontend/components/label-creation.ts+18 −0
apps/frontend/components/landing.tsx+36 −32
apps/frontend/components/mentions.tsx+3 −3
apps/frontend/components/merge-box.tsx+5 −5
apps/frontend/components/pending.tsx+86 −0
apps/frontend/components/permission-requests.tsx+5 −5
apps/frontend/components/pierre-file.tsx+2 −2
apps/frontend/components/pull-status.tsx+1 −1
apps/frontend/components/repo-form.tsx+3 −3
apps/frontend/components/review-thread.tsx+3 −3
apps/frontend/components/shell.tsx+12 −7
apps/frontend/components/task-form.tsx+5 −2
apps/frontend/components/timeline.tsx+6 −6
apps/frontend/components/title-editor.tsx+3 −3
apps/frontend/package.json+0 −1
apps/frontend/root.tsx+4 −11
apps/frontend/routes/admin-waitlist.tsx+1 −1
apps/frontend/routes/dashboard.tsx+9 −9
apps/frontend/routes/labels.tsx+3 −3
apps/frontend/routes/login.tsx+2 −2
apps/frontend/routes/members.tsx+2 −2
apps/frontend/routes/oauth-authorize.tsx+2 −2
apps/frontend/routes/pull-files.tsx+1 −1
apps/frontend/routes/pull-layout.tsx+8 −5
apps/frontend/routes/pull-reasoning.tsx+24 −24
apps/frontend/routes/pull.tsx+1 −1
apps/frontend/routes/repo-blob.tsx+45 −3
apps/frontend/routes/repo-commit.tsx+8 −8
apps/frontend/routes/repo-commits.tsx+7 −7
apps/frontend/routes/repo-compare.tsx+7 −7
apps/frontend/routes/repo-fork.tsx+2 −2
apps/frontend/routes/repo-pulls.tsx+11 −4
apps/frontend/routes/repo-settings.tsx+9 −6
apps/frontend/routes/repo.tsx+7 −3
apps/frontend/routes/signup.tsx+1 −1
apps/frontend/routes/task.tsx+7 −5
apps/frontend/routes/tokens.tsx+3 −3
package-lock.json+24 −33
packages/design-system/components/auth-graphic.tsx+98 −0
packages/design-system/components/brand.tsx+5 −5
packages/design-system/components/line-diagram.tsx+5 −4
packages/design-system/components/repo.tsx+17 −17
packages/design-system/components/shell.tsx+122 −74
packages/design-system/components/surface.tsx+4 −4
packages/design-system/components/tasks.tsx+141 −34
packages/design-system/icons.tsx+204 −0
packages/design-system/index.ts+3 −1
packages/design-system/package.json+5 −5
packages/design-system/styles.css+372 −110
packages/design-system/theme.tsx+146 −0
packages/design-system/ui/button.tsx+15 −12
packages/design-system/ui/cn.ts+5 −3
packages/design-system/ui/feedback.tsx+18 −13
packages/design-system/ui/form.tsx+14 −14
packages/design-system/ui/navigation.tsx+11 −11
packages/design-system/ui/overlay.tsx+20 −14
packages/design-system/ui/skeleton.tsx+171 −0
vite.config.ts+1 −1