Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 847 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 847 Bytes

bpk-stylesheets

Backpack's stylesheets.

Installation

Check the main Readme for a complete installation guide.

Usage

Within your Javascript (usually the entrypoint or top-most JS file)

import '@skyscanner/backpack-web/bpk-stylesheets';

By default font rendering is not included if you need to include Skyscanner Relative in your styles, import it using the following:

import '@skyscanner/backpack-web/bpk-stylesheets/font';

Larken font

For Editorial text, the Larken font will also need to be imported:

import '@skyscanner/backpack-web/bpk-stylesheets/larken';

Contributing

Don't forget to rebuild and commit base.js after you make changes to this package.

To build the base.js file run npm run build:stylesheets in the root folder.