Skip to content

Commit

Permalink
Add maskable logo image
Browse files Browse the repository at this point in the history
Lighthouse gave us feedback
that we don't have a maskable icon in the manifest file. [1]
We created the icon according to the instructions. [2]
This should please mobile users.

[1]: https://developer.chrome.com/docs/lighthouse/pwa/maskable-icon-audit/
[2]: https://web.dev/articles/maskable-icon#are_my_current_icons_ready
  • Loading branch information
torrocus committed Oct 12, 2023
1 parent 5a61a65 commit c436106
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions assets/images/fractalsoft/blog-maskable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@
{
"src": "https://blog.fractalsoft.org/assets/images/fractalsoft/blog.svg",
"type": "image/svg+xml",
"sizes": "192x192 512x512"
"sizes": "192x192 512x512",
"purpose": "any"
},
{
"src": "https://blog.fractalsoft.org/assets/images/fractalsoft/blog.svg",
"type": "image/svg+xml",
"sizes": "192x192 512x512",
"purpose": "maskable"
},
{
"src": "https://blog.fractalsoft.org/assets/images/fractalsoft/blog-192x192.png",
Expand Down

0 comments on commit c436106

Please sign in to comment.