@onrewind/ui
v7.7.1
Published
Origins Digital React components UI library
Downloads
563
Readme
@onrewind/ui
The React implementation of our design system.
Geting started
Import the css file in your main file :
import '@onrewind/ui/lib/onrewind-ui.css';
Import the Tailwind presets in your tailwind.config.js
:
module.exports = {
// .....
presets : [require('@onrewind/ui/origins.preset.js')]
theme : {
// .....
}
}
How to run
Install dependencies
yarn install
Start Storybook on localhost:9009 by running the following command
yarn guide
How to release
- Merge the pull request from Bitbucket into
develop
- Merge
develop
intomaster
(git checkout master && git merge develop
) - Push the
master
branch. - Jenkins will take over and will:
- Add a release commit on
master
- Update the changelog
- Tag the release
- Push to NPM
- Add a release commit on
- You will receive a notification on the
#design-system
Slack channel on a successful deploy. - You need to rebase
develop
with the updatedmaster
branch:git checkout master
git pull
git checkout develop
git rebase master
git push
Connect to Next.js apps locally
Files architecture
See ARCHITECTURE.md