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.0CSS (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 installRun examples at http://localhost:8080 with storybook:
npm startTo publish a new version, do the following:
- Bump version in
package.jsonandpackage-lock.json - Bump version in
README.mdinstall 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