@coopdigital/styles
v0.41.0
Published
<nav> <img src="https://s3.eu-west-1.amazonaws.com/assets.digital.coop.co.uk/logos/coopeng-logo.svg" alt="Co-op logo" width="100"/> <br /> <br /> </nav>
Downloads
811
Readme
Experience Kit for Styles
Styles for the Experience Library design system.
You can see the full range of styles and documentation on the Experience Kit Storybook
Getting started
Install the package from NPM:
npm install @coopdigital/stylesUsage
Import the main stylesheet and any corresponding component styles you need:
import "@coopdigital/styles/main.css"
import "@coopdigital/styles/components/Pill.css"All CSS files have been processed to include vendor prefixes for supported browsers and have been minified.
Alternatively if your project uses SASS you can import the source stylesheets using either the @use or @import format:
@use "@coopdigital/styles/src/main.scss"
@use "@coopdigital/styles/src/components/Pill.scss"Projects that use SASS files directly are responsible for their own processing.
This package can be used alongside our react components package.
License
MIT License
Copyright (c) Co-operative Group Limited
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
