JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 689
  • Score
    100M100P100Q93537F
  • License MIT

Utility functions for working with colors in adherence to WCAG 2.1 guidelines.

Package Exports

  • accessible-colors
  • accessible-colors/dist/cjs/index.js
  • accessible-colors/dist/esm/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (accessible-colors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

accessible-colors

Utility functions for generating and interacting with colors based on WCAG 2.1 minimum and enhanced contrast guidelines.

Installation

npm i accessible-colors

Or

yarn add accessible-colors

Usage