pdh-design-system
v0.7.10
Published
PDH Design System React Components
Downloads
29
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 storybook
To run the storybook with debugging, use the following command:
npm run sb-debug
To build storybook for static production use while also copying assets and commpiling scss, use the following command:
npm run build
To build a static export of the storybook, use the following command:
npm run build-storybook
Just copy assets
npm run copyassets
Just compile scss
npm run sassy
Theme
To set the theme of the storybook, set the STORYBOOK_THEME environment variable to either "dark" or "light".
STORYBOOK_THEME=dark npm run storybook