Nighttime Pachinko Marathon

    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)

    Keywords

    none

    Install

    npm i @cagov/ds-pdf-icon

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    6.26 kB

    Total Files

    10

    Last publish

    Collaborators

    • aaronhans
    • carter.medlin
    • chacha-california
    • kkoryaka
    • timothyshambra
    • xjensen
    • zakiyak