3.3.6 • Published 3 years ago

@coopdigital/foundations-layout v3.3.6

Weekly downloads
629
License
MIT
Repository
github
Last release
3 years ago

DEPRECATED ⚠️ - This repository has been deprecated in favour of the new Co-op Front-end repository. Please use this new repo to manage code or raise an issues.

CSS Foundations: Layout

Utilities helpful in composing layouts using CSS Foundations.

Installation

Install via npm or Yarn:

$ npm install @coopdigital/foundations-layout --save
# OR
$ yarn add @coopdigital/foundations-layout

Usage

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

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

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

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

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

@import "@coopdigital/foundations-layout";

Examples

Here's a bunch of examples, showing how you can integrate this CSS module in your project, based on most popular stacks of project. You can either use a post-processed and pre-built CSS form the dist directory, ot use PostCSS sources from the src dir.

The latter have certain dependencies, which should be consumed by your frontend toolkit to postprocess the CSS correctly.

Vue.js

TBD

React.js

TBD

Development

TBD

License

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

3.3.6

3 years ago

3.3.5

3 years ago

3.3.4

3 years ago

3.3.3

3 years ago

3.3.2

3 years ago

3.3.1

3 years ago

3.3.0

3 years ago

3.2.10

3 years ago

3.2.9

4 years ago

3.2.8

4 years ago

3.2.7

4 years ago

3.2.6

4 years ago

3.2.5

4 years ago

3.2.4

4 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.13

4 years ago

3.1.12

4 years ago

3.1.11

4 years ago

3.1.10

4 years ago

3.1.9

4 years ago

3.1.8

4 years ago

3.1.7

4 years ago

3.1.6

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago

2.0.15

4 years ago

2.0.14

4 years ago

2.0.13

4 years ago

2.0.12

4 years ago

2.0.9

4 years ago

2.0.10

4 years ago

2.0.8

4 years ago

2.0.7

4 years ago

2.0.5

4 years ago

2.0.4

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago