NCIOCPL / ncids

NCI Design System
7 stars 5 forks source link

NCIDS

Design system for the National Cancer Institute (NCI)

Based on the U.S. Web Design System (USWDS), this design system provides principles, guidance and code to help design and build websites using the NCI look and feel.

NCIDS is built as a monorepo, utilizing pnpm and pnpm workspaces for dependency management and lerna for its utility commands.

Packages

Package name Description
Documentation Design system documentation site
NCIDS-CSS SASS/CSS package for NCIDS
NCIDS-JS Javascript package builder for NCIDS
NCIDS-Twig Twig templates for NCIDS components

Testing

Package name Description
ncids-css-testing SASS/CSS testing package for NCIDS
ncids-js-testing JavaScript testing package for NCIDS

Installing NCIDS for use in your project

Please read the instructions for Getting Started for Developers.

Developing NCIDS

Prerequisites

Install

pnpm install

NOTE: Do not try and install any node modules without checking with admins first. Package management is a bit of a nightmare with all of the dependencies and peer dependencies. So a new package must be carefully added and ensure it does not inadvertently affect any software like Storybook or Gatsby.

Development notes

See The Wiki