v3/src/design-system
Katalina Okano 455632d72d chore(Breakpoints): remove extraneous comment
Signed-off-by: Katalina Okano <git@kat.cafe>
2020-12-19 20:11:29 -05:00
..
atoms chore(Breakpoints): remove extraneous comment 2020-12-19 20:11:29 -05:00
molecules feat(UI): add initial server picker 2020-12-19 20:10:23 -05:00
organisms feat(AppShell): add option to disable my guilds popover 2020-12-19 20:10:57 -05:00
templates feat(UI): add initial server picker 2020-12-19 20:10:23 -05:00
Intro.stories.mdx New Logo with Holiday/Celebration variants (#47) 2020-11-24 00:58:18 -05:00
README.md feat: Add majority of design system components, build system fixes (#11) 2020-10-14 22:33:01 -04: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.