Colors, typography and other style utilities for building React-based applications at Brown University.
// npm
npm i BrownUniversity/brown-university-styles#semver:^0.14.0
// yarn
yarn add BrownUniversity/brown-university-styles#^0.14.0
CSS (in your base stylesheet):
@import "~brown-university-styles/dist/styles.css";
JavaScript (where you're calling ReactDOM.render
):
import "brown-university-styles/dist/styles.css";
This only needs to be done once (via CSS or JavaScript). Remember to configure Webpack to load .css
and .woff
files.
The documentation is available https://brownuniversity.github.io/brown-university-styles/.
Install dependencies:
npm install
Run examples at http://localhost:8080 with storybook:
npm start
To publish a new version, do the following:
- Bump version in
package.json
andpackage-lock.json
- Bump version in
README.md
install instructions (for major and minor version bumps only) - Update
CHANGELOG.md
npm run build
- Commit changes
- Tag new version
- Push master and tags to all remotes