@springernature/brand-context

Bootstrapping for all components and products

Usage no npm install needed!

<script type="module">
  import springernatureBrandContext from 'https://cdn.skypack.dev/@springernature/brand-context';
</script>

README

Brand Context

NPM version

The brand-context package contains baseline configurations that provide scaffolding for products and toolkit components within each of the supported brands:

Using brand-context in your product

Pick a context brand to use in your product and make sure it is the first thing included in your SASS endpoints. For example, to use the Nature brand:

// core.scss
@import '@springernature/brand-context/nature/scss/core';

// components and product imports...
// enhanced.scss
@import '@springernature/brand-context/nature/scss/enhanced';

// components and product imports...

Make sure that the product and all components used by that product depend on the same version of the brand-context package, and that your component is configured to support your chosen brand.

License

MIT License © 2020, Springer Nature