Skip to content

Implements gif builder for animated favicon#73

Open
aurium wants to merge 3 commits intojh3y:masterfrom
aurium:favicon
Open

Implements gif builder for animated favicon#73
aurium wants to merge 3 commits intojh3y:masterfrom
aurium:favicon

Conversation

@aurium
Copy link
Copy Markdown
Contributor

@aurium aurium commented Oct 11, 2021

Fixes #31

Changes

  • Adds favicon module that builds gif animations and updates <link rel="icon">
    • the favicon.loading() accepts many parameters. The most important is the animation name.
    • It implements basic and ring-of-dots, copied from CSS animations.
    • The animation implementation is a simple frame drawer that receives all needed icon options and the frame index.
    • It depends on gif.js, and that was added to /public to load the web worker.
  • Adds a favicon selector to the App component.

Screenshot/GIF

The animations are only a copy of existing ones. The most important is the way to do it.

Checks

  • Passes linting
  • Consistent look across browsers (Chrome do not supports animated gif favicon)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Animated favicon for page

1 participant