@workday/canvas-kit-css-fonts

9.1.26 • Public • Published

Canvas Kit CSS Fonts

By default, no fonts are included with Canvas Kit modules. To use official Canvas Kit fonts, install and import the @workday/canvas-kit-css-fonts module. Note that this module sources fonts from the Workday CDN.

Canvas Kit Fonts requires users to opt in to using fonts by including it into their project declaratively through a link tag or through an import statement processed by a bundler like webpack.

Installation

yarn add @workday/canvas-kit-css

or

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

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

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

This import provides @font-face declarations for the Roboto and Roboto Mono font families.

Package Sidebar

Install

npm i @workday/canvas-kit-css-fonts

Weekly Downloads

5

Version

9.1.26

License

Apache-2.0

Unpacked Size

16 kB

Total Files

8

Last publish

Collaborators

  • jaclynjessup
  • nicholasboll
  • alanbsmith
  • workday-canvas-kit
  • justin.pante
  • anicholls