pdh-design-system
v0.9.0
Published
PDH Design System React Components
Readme
PDH-Design-System-React
Storybook project for the react portion of design system of the Pacific Data Hub.
Usage
To run the storybook, use the following command:
npm run storybookTo run the storybook with debugging, use the following command:
npm run sb-debugTo build storybook for static production use while also copying assets and commpiling scss, use the following command:
npm run buildTo build a static export of the storybook, use the following command:
npm run build-storybookJust copy assets
npm run copyassetsJust compile scss
npm run sassyTheme
To set the theme of the storybook, set the STORYBOOK_THEME environment variable to either "dark" or "light".
STORYBOOK_THEME=dark npm run storybook