v3/packages/design-system
Katalina cd448b56c9
Reach parity with last web iteration. (#162)
* feat: add Api and Session contexts

* feat(web): add machinery/new-session

* feat(web): add servers page

* chore(web): AppRouter spacing/ordering

* feat(web): add picker, missing update-roles call for now

* feat(web): add picker saves

* chore: add roleTransactions tests

* feat(web): add auth/login
2021-03-13 04:42:07 -05:00
..
.storybook chore: fix storybook weirdness 2021-03-12 18:43:56 -05:00
atoms Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161) 2021-03-12 18:04:49 -05:00
fixtures Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161) 2021-03-12 18:04:49 -05:00
molecules Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161) 2021-03-12 18:04:49 -05:00
organisms Reach parity with last web iteration. (#162) 2021-03-13 04:42:07 -05:00
templates Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161) 2021-03-12 18:04:49 -05:00
Intro.stories.mdx Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161) 2021-03-12 18:04:49 -05:00
package.json chore: bump packages, remove unused webpack plugin 2021-03-12 18:32:09 -05:00
README.md Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161) 2021-03-12 18:04:49 -05:00
tsconfig.json Refactor node packages to yarn workspaces & ditch next.js for CRA. (#161) 2021-03-12 18:04:49 -05:00

Roleypoly Design System

Codename: rapid

The Roleypoly Design System (rapid) is an atomic design system to help rapidly and consistently build Roleypoly and related services. The color system in use is deliberately simple, and should be adhered to.

Developing

Please follow hermeticity considerations.

This package cannot reference RPC types, as they do not exist in the outside world. Storybook is the core component of this, and Storybook doesn't know how to find RPC types at CI build time, as Bazel is also not present. If you are worried about RPC types being compatible, please write a unit test and include the RPC types then.

You need:

  • node (lts or later)
  • yarn (v1.x)

Run:

  • yarn storybook to get started.

Atomic Design 101

Components are split into the following categories:

  • atoms
    • smallest possible parts.
    • typically individual pieces, such as branding, layout macros, and style-wrapped native elements.
  • molecules
    • groups of atoms
    • typically these make up sections of major UI parts
  • organisms
    • groups of molecules
    • typically these are major UI parts
  • templates
    • groups of organisms
    • typically a full page, without data.
  • pages
    • not covered by rapid
    • routes data into templates.

This sort of layout works extremely well with Next.js, the UI toolkit within Roleypoly. You should also be able to develop most parts, up until pages, directly within Storybook.