1.0.0 • Published 5 years ago

lf-icons v1.0.0

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
5 years ago

Lärarförsäkringar Icons

Usage

This package stores all svg icons and generates css for using them on the lärarförsäkringar site.

Sass files and the final part of this readme is generated by the script compile.js which is run before publishing of the npm package.

Since the compilation is automated on publishing, after making additons of subractions to the icon set, commit your changes to git and run

npm version minor
npm run compile

Compilation

For every included svg file in lib/icons/ a css class is generated according to the following logic:

filename - file extension = icon_id

so the presence of the file /lib/icons/bazooka.svg would generate the following css

.icon-bazooka {
    background-url('/icons/bazooka.svg');
}

File management

The postinstall script handles moving the icon files out of the package and into the epi project, subsequentially the folder /scr/Lararforsakringar.Web/icons should be added to .gitignore.

Icons

Iconid
picturearrow-down
picturearrow-left
picturearrow-right
picturearrow-up
picturechev-down
picturechev-left
picturechev-right
picturechev-up
picturedownload-circle-filled
picturedownload
picturegrid-icon
picturehealth-cross
pictureheart
picturehome
picturesign-out
pictureangle-down
pictureangle-left
pictureangle-right
pictureangle-up
picturearrow-circle-down-filled
picturearrow-circle-down
picturearrow-down
picturearrow-left
picturearrow-right
picturearrow-up
picturebars
picturecheck-circle
picturecheck
pictureclose
picturecog
picturedokument
pictureenvelope-alt
pictureexclamation-circle
pictureexternal-link
picturefacebook-official
picturefrown-o
pictureic-unfold_more_18px_google_material
pictureinfo-circle
pictureinvoice
picturelararforbundet-black
picturelr-logo1
picturemedical
picturemultiply
pictureplus-circle
pictureplus
picturerepeat
pictureschedule
picturesearch
pictureshield-edit
pictureshield
picturetwitter
pictureuser-circle
pictureuser
1.0.0

5 years ago