RSG
Ridi Style Guide. Includes common style assets used in Ridibooks store. https://rsg.ridicorp.com/
Development
-
Install dependencies
$ yarn install
-
Run component explorer
$ yarn build:watch $ yarn storybook
or
$ yarn styleguide
Usage
Iconfont
You can import lessfile and override font path variable.
@import "less/ridi-icon.less";
@ridi-iconfont-path: "customPath/";
RUI
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/";
Publish
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.