Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bbc/gel-foundations-styled-components

Package Overview
Dependencies
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bbc/gel-foundations-styled-components

Deprecated in favour of @bbc/gel-foundations

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

gel-foundations-styled-components · GitHub license npm version PRs Welcome

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

This package is a collection of styled component implementations based on BBC GEL guidelines which can be imported into your application.

More details on the type sizes defined in this package are available here.

Installation

npm install @bbc/gel-foundations-styled-components --save

Usage

import { GEL_BREVIER } from '@bbc/gel-foundations-styled-components/typography';

To allow the typography to be fully accessible and responsive, please note that you should apply a default font-size to the document root (e.g. html { font-size: 100% }).

Our typography uses em for font-size and rem for line-height. em allows modularity of components: you can change the component font-size by changing the font-size of its container. rem is relative to the document root, so we use that for line-height and spacing for a consistent look-and-feel across the document. You can read our detailed analysis of "REMs vs EMs for spacing" for more information.

Exports

/typography - GEL typography. These are based on the gel typography standard which can be found in the GEL 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.

Keywords

FAQs

Package last updated on 18 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc