npm.io
32.0.1 • Published 1 year ago

@springernature/brand-context

Licence
MIT
Version
32.0.1
Deps
0
Size
3.7 MB
Vulns
0
Weekly
0

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:

Note
As of brand-context 28.0.0, all versions of Internet Explorer have been classfied for core browser support. Please refer to the latest browser support guidelines for help with how to include the brand-context in your application. To continue supporting IE11 as an enhanced browser, please use brand-context <= 27.1.0, and follow the legacy browser support guidelines

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