How to use the @bbc/psammead-styles/font-styles.getSerifLight function in @bbc/psammead-styles

To help you get started, we’ve selected a few @bbc/psammead-styles examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bbc / psammead / packages / components / psammead-most-read / src / Rank / index.jsx View on Github external
  ${({ service }) => getSerifLight(service)}
  ${({ script }) => script && getFoolscap(script)};
github bbc / simorgh / src / app / components / MostRead / Item / index.jsx View on Github external
  ${({ service }) => getSerifLight(service)}
  color: ${C_POSTBOX};
github bbc / psammead / packages / components / psammead-most-read / src / Item / index.jsx View on Github external
  ${({ service }) => getSerifLight(service)}
  ${({ script }) => script && getFoolscap(script)};

@bbc/psammead-styles

A collection of string constants for use in CSS, containing non-GEL styling details that are bespoke to specific BBC services and products.

Apache-2.0
Latest version published 2 years ago

Package Health Score

54 / 100
Full package analysis