GESDISC Components
Adding or modifying a theme
Themes are website/application specific styles and can be found in: src/global/themes
To add a new theme:
- create a new theme in
src/global/themes
(use an existing theme as a starting point) - add that new theme to the bottom of
src/shared.scss
- add that new theme as an option to the theme selector in
.storybook/custom-addons/theme-selector.js
(line 72-ish is where the options are)
Usage
npm install
npm start
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
To release a new version:
./publish.sh