JSPM

@workday/canvas-kit-css-common

7.3.12
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 136
  • Score
    100M100P100Q97920F
  • License Apache-2.0

The common css for canvas-kit-css

Package Exports

  • @workday/canvas-kit-css-common
  • @workday/canvas-kit-css-common/dist/canvas-kit-css-common.min.css

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 (@workday/canvas-kit-css-common) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Canvas Kit Common

Canvas Kit Common contains common utilities shared across the kit.

Mainenance Mode

Includes:

  • Errors
  • Forms

Installation

yarn add @workday/canvas-kit-css

or

yarn add @workday/canvas-kit-css-common

Add your node_modules directory to your SASS includePaths. You will then be able to import index.scss.

You may also import specific modules from /lib.

@import '~@workday/canvas-kit-css-common/index.scss';

or

@import '~@workday/canvas-kit-css-common/lib/errors.scss';

Errors

errors has alert and error styles for inputs.

Forms

forms has shared styles for inputs.

Accessibility

accessibility has focus for inputs and method to provide screen reader only content.