Skip to content
UI Design Components
CSS TypeScript JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.storybook
colors
components
scripts
stories
stylesheets
svg
.editorconfig
.eslintrc.js
.gitignore
.lintstagedrc.js
.npmignore
.travis.yml
.tslintrc.js
README.md
package.json
styleguide.config.js
yarn.lock

README.md

RSG

npm (scoped) Build Status

Ridi Style Guide. Includes common style assets used in Ridibooks store. https://rsg.ridicorp.com/

Development

  1. Install dependencies

    $ yarn install
  2. 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.

You can’t perform that action at this time.