Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coopdigital/foundations-buttons

Package Overview
Dependencies
Maintainers
0
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coopdigital/foundations-buttons

CSS Foundations: Buttons

  • 2.7.12
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

CSS Foundations: Buttons

This CSS module provides helper and utility classes that allow you to apply Co-op's buttons to your frontend applications and websites.

Installation

Install via NPM:

$ npm install @coopdigital/foundations-buttons --save

Usage

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

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

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

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

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

@import "@coopdigital/foundations-buttons";

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

2.3.0 (Fix release)

Fixes We’ve made fixes to the buttons

Fix hover background colour not passing colour contrast guidelines.

Previous releases did not have notes

License

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

FAQs

Package last updated on 05 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc