The evolution of Lonely Planet's pattern library.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin fix: add normal upload as well May 14, 2018
lib Change footer link for travel companions Sep 10, 2018
sass fix: add the WhatsApp social media icon to articles (#818) Mar 16, 2018
spec fix: reallow basic text search from nav (#842) Sep 19, 2018
src fix: reallow basic text search from nav (#842) Sep 19, 2018
styleguide Switch to explicitly specifying HTTPS Sep 13, 2017
.babelrc Update our rizzo next build process Oct 21, 2016
.codeclimate.yml Change to ESLint Sep 29, 2015
.csscomb.json Adding csscomb and editorconfig from destinations-next Sep 3, 2015
.editorconfig Adding csscomb and editorconfig from destinations-next Sep 3, 2015
.eslintignore Adding masthead video Dec 11, 2015
.eslintrc feat: Login with global header (#684) Jun 27, 2017
.gitignore chore: Ignore yarn-error.log from the repo (#729) Jul 19, 2017
.jshintrc Working on masthead video adjustments Jul 28, 2015
.npmignore Ignore babelrc, bump Apr 12, 2016
.scss-lint.yml update article social share (#816) Mar 14, 2018
CHANGELOG.md chore(release): 0.35.7 Sep 20, 2018
CONTRIBUTING.md fix: Fix formatting for username links in contributing doc (#716) Jul 17, 2017
Dockerfile fix: use full node 10 image May 30, 2018
LICENSE Add license and change love letter Aug 11, 2015
README.md fix: Remove all packages that ref marked@0.3.6 Mar 5, 2018
bower.json chore(release): 0.35.7 Sep 20, 2018
esdoc.json Working on update docs, and a few small rizzo enhancements Oct 2, 2015
jsconfig.json Adding masthead video Dec 11, 2015
karma.conf.js feat: Login with global header (#684) Jun 27, 2017
package-lock.json chore(release): 0.35.7 Sep 20, 2018
package.json chore(release): 0.35.7 Sep 20, 2018
webpack.config.js feat: Login with global header (#684) Jun 27, 2017
webpack.dist.js fix: Update webpack config Sep 19, 2017

README.md

Rizzo Next

Rizzo next is the evolution of Lonely Planet’s pattern library.

The idea of a pattern library such as Rizzo is to have common grounds between design and development. Pull out patterns from the design and implement them in a re-usable fashion across projects.

This repository contains common styles, and components as well as performance data, and unit tests.

NPM Tasks

npm test # Run unit tests
npm run lint # Lint code

Test

Run all the tests with…

npm test

To use watch mode…

npm run ci

Linting

Linting will be done locally before you commit via a pre-commit hook.

SCSS Linting

  1. Install scss_lint gem
  2. Run npm install to install new dependencies
  3. Write your SCSS to conform with the rules in .scss-lint.yml (a proper styleguide will follow); view linters documentation
  4. Check your code; manually by running npm run scsslint or automatically via the precommit hook when you git commit

Contributing

Please read the guidelines for contributing before making a pull request.