Skip to content

FE-M0-27 · The design system's version 2 in apps/web, and /design-preview

ID FE-M0-27 · Level L0 · Run order row 34b · Why D88, D8, D35 · Issue to be named on the pull request (D28)

The files of the Opleet Design System, version 1793774664-d15c, are in apps/web exactly as published, with their SHA-256 recorded, the packages their components import are installed at exact versions, and /design-preview shows the new components in light and dark.

  • FE pack G is merged, and pack H's pull request is checked out on its branch.
  • You can open the design system in Claude Design.
  • Copies, never typed. design/opleet/globals.css, tokens.json and README.md; components/ui/* (26 files); lib/utils.ts; components.json. design/opleet/SOURCE.md names the version and each file's SHA-256, and design/opleet/SHA256SUMS lists them. The assets are unchanged from the first version. Biome skips the copies (apps/web/biome.json).
  • Packages, exact versions, as the components import them: clsx, tailwind-merge, class-variance-authority, sonner and 15 @radix-ui/react-* packages. tailwindcss, @tailwindcss/postcss and lucide-react were already there.
  • /design-preview shows every component once in each theme (buttons, badges, the card levels, a table with avatars and statuses, form fields, select, checkbox, switch, radio group, segmented control, tabs, progress, separator, skeleton, scroll area), the shell as admin_fleet sees it, and, behind buttons, dialog, sheet, drawer, dropdown menu, popover, tooltip and toasts.
Terminal window
cd apps/web
shasum -a 256 -c design/opleet/SHA256SUMS

From the design system's published files, download globals.css, tokens.json and components/ui/button.tsx, run shasum -a 256 on each, and compare with design/opleet/SOURCE.md.

Terminal window
cd ../..
pnpm install
NEXT_PUBLIC_DESIGN_PREVIEW=1 pnpm --filter web dev

Open http://localhost:3000/design-preview. Each section is drawn once light and once dark, so there is nothing to toggle; the buttons at the top open the overlays.

  • Block 1: every line says OK (44 lines).
  • Block 2: the three checksums are the same as in SOURCE.md.
  • Block 3: four stacked sections, two shells and two specimens, light then dark; the dialog, sheet, drawer, menu, popover, tooltip and toast buttons at the top each open; no text is cut off and no component is unstyled.
  • Block 1 says FAILED for a file: someone edited or reformatted it. git restore it from the commit, and check that apps/web/biome.json still skips components/ui.
  • Block 2 differs: the design system moved on. Say so on the issue; the next version is a step of its own.
  • Block 3 shows no styles: globals.css isn't imported in app/layout.tsx, or a plain global rule is beating the layered ones (the guide's troubleshooting table).

Revert the merge commit in a new pull request: git revert <MERGE_COMMIT> on a branch, then push and open it.

Not run yet. Log each run as a comment on the issue.