fd-test-storybook
v0.1.4
Published
- with material ui react components: https://material-ui.com/ - with "context addon" to implement the theme switcher functionality: https://www.npmjs.com/package/@storybook/addon-contexts
Downloads
3
Readme
Storybook test project
- with material ui react components: https://material-ui.com/
- with "context addon" to implement the theme switcher functionality: https://www.npmjs.com/package/@storybook/addon-contexts
This project was bootstrapped with Create React App.
Available Scripts
In the project directory, you can run:
npm install
to install create react app, storybook and other packages...
npm run storybook
to run storybook locally
npm run build-storybook
to build storybook for production/static site
npx npm-check-updates '/storybook/' -u && npm install
to upgrade all Storybook packages to latest
.storybook/config/contexts.js
here you can make theme specific configurations to the context addon/theme switcher
src/themes
you can find availible themes
Check out the default mui theme under: https://material-ui.com/customization/default-theme/