This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@cagov/ds-pdf-icon

1.0.2 • Public • Published

Site branding header layer

THis component adds pdf icon to all links that go to pdf files. Once this component is loaded all the links that have .pdf extension will be affected. If you don't want pdf icon to be in your pdf links you will need to add your own css exceptions.

HTML

<a href="link.pdf">this is pdf link</a>

Expected variables

There are some colors that should be defined by the containing page. Here are the CSS variable names and their fallback values used when not defined:

  • var(--primary-color, #e1e0e3)

Readme

Keywords

none

Package Sidebar

Install

npm i @cagov/ds-pdf-icon

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

6.26 kB

Total Files

10

Last publish

Collaborators

  • jbum
  • zakiyak
  • timothyshambra
  • xjensen
  • aaronhans
  • chacha-california
  • kkoryaka