This package has been deprecated

Author message:

The code within this package has now been moved into our new @coopdigital/foundations package.

@coopdigital/foundations-global

3.3.5 • Public • Published

Co-op Foundations: Global

Styles available in the global scope of projects. It includes the styles for the Co-op logo.

How to use

  1. Install via NPM:
$ npm install @coopdigital/foundations-global --save
  1. Add CSS module to your application via a most appropriate method. This will entirely depend on your application and how you are currently loading CSS modules within it.

Usage

You can include @coopdigital/foundations-colors in your project by referencing it from your existing CSS via @import statement, i.e.:

@import "node_modules/@coopdigital/foundations-global/dist/global.css";

If you use PostCSS in your build pipeline, you can reference the sources directly like so:

@import "node_modules/@coopdigital/foundations-global/src/global.pcss";

If you use a postcss-import plugin, it gets even easier:

@import "@coopdigital/foundations-global";

HTML can be copied from the example on the design system website or can be found in the /dist folder in the package.

Development

For information on how to develop this package see the developing foundations and components forthe design system documentation.

Changelog

3.2.0 (Feature release)

Feature We’ve added a padding class so logo meets minimum tap target size.

Previous releases did not have notes

License

Copyright (c) 2021 Co-operative Group Limited. Licensed MIT.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i @coopdigital/foundations-global

Weekly Downloads

10

Version

3.3.5

License

MIT

Unpacked Size

6.32 kB

Total Files

6

Last publish

Collaborators

  • coopexperience
  • omidantilong
  • mitcheh
  • matt-tyas
  • joemcgirr
  • hanross
  • coopjames