Skip to content

Favicon web component that works across devices and resolutions

License

Notifications You must be signed in to change notification settings

HTMLElement/favicon-image

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

favicon-image

Favicon web component that works across devices and resolutions.

Install

bower install --save HTMLElement/favicon-image

Usage

<html>
  <head>
    <link rel="import" href="favicon-image.html">
  </head>
  <body>
    <favicon-image path="app/images/favicon/"></favicon-image>
  </body>
</html>

Generate Favicons

When the ImageMagick command convert is available on your system, you may use the helper script to batch generate favicons from a larger source file. In your main project folder, you can run for example:

./bower_components/favicon-image/scripts/generate-favicons.sh /path/to/square-original-file.png app/images/favicons

References

License

The MIT License

This Element was forked from the Polymer 0.3 component favicon-image created by Jan Antala

About

Favicon web component that works across devices and resolutions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 73.1%
  • Shell 26.9%