Ridi Style Guide. Includes common style assets used in Ridibooks store. https://rsg.ridicorp.com/
-
Install dependencies
$ yarn install
-
Run component explorer
$ yarn build:watch $ yarn storybook
or
$ yarn styleguide
You can import lessfile and override font path variable.
@import "less/ridi-icon.less";
@ridi-iconfont-path: "customPath/";
You can import lessfiles and override path variables for iconfont and image sources.
@import "less/rui.less";
@ridi-iconfont-path: "customPathToIconfontFolder/";
@rui-images-path: "customPathToImagesFolder/";
If any tag is pushed to master
branch,
the package is published to NPM automatically by Travis CI.
There is an issue that Travis CI does not report deploy failure. So we should manually check the failure in Travis CI's console if the package is not updated on NPM after the deploy process is finished.