@bbc/gel-constants

v0.1.3
Deprecated in favour of @bbc/gel-foundations
bbc utilities gel breakpoints grid spacing

gel-constants · GitHub license npm version PRs Welcome

THIS PACKAGE IS DEPRECATED. PLEASE USE @bbc/gel-foundations

This package is a collection of variable constants which can be imported into your application.

Installation

npm install @bbc/gel-constants --save

Usage

import { GEL_GROUP_3_SCREEN_WIDTH_MIN } from '@bbc/gel-constants/breakpoints';

import { GEL_GUTTER_BELOW_600PX } from '@bbc/gel-constants/spacings';

Exports

/breakpoints - GEL breakpoints, as well as typography breakpoints. These use the GEL grid sizes which can be found in the GEL Grid guidelines.
/spacings - GEL spacings and GEL Grid margins and gutters. These use the GEL grid spacing sizes which can be found in the GEL Grid guidelines.

Contributing

Psammead is completely open source. We are grateful for any contributions, whether they be new components, bug fixes or general improvements. Please see our primary contributing guide which can be found at the root of the Psammead respository.

Code of Conduct

We welcome feedback and help on this work. By participating in this project, you agree to abide by the code of conduct. Please take a moment to read it.

License

Psammead is Apache 2.0 licensed.

npm i @bbc/gel-constants

Metadata

  • Apache-2.0
  • Whatever
  • Psammead Maintainers
  • released 12/18/2018

Downloads