Use maskable icons for Apple web app icon

This commit is contained in:
Karina Kwiatek 2022-07-17 11:11:00 +02:00 committed by Karina Kwiatek
parent c384dde809
commit 52d4efbd03
3 changed files with 2 additions and 2 deletions

View file

@ -10,10 +10,10 @@
- else
%meta{ name: 'theme-color', content: theme_color }
%link{ rel: 'manifest', href: '/manifest.json', crossorigin: 'use-credentials' }
%link{ rel: 'apple-touch-icon', href: '/apple-touch-icon-precomposed.png' }
%link{ rel: 'apple-touch-icon', href: '/icons/maskable_icon_x192.png' }
%link{ rel: 'mask-icon', href: '/icons/icon.svg', color: theme_color }
%link{ rel: 'icon', href: '/images/favicon/favicon-16.png', sizes: '16x16' }
%link{ rel: 'icon', href: '/icon-152.png', sizes: '152x152' }
%link{ rel: 'icon', href: '/icons/maskable_icon_x192.png', sizes: '192x192' }
%link{ rel: 'icon', href: '/images/favicon/favicon-32.png', sizes: '32x32' }
%title= yield(:title)
= stylesheet_pack_tag 'application', data: { 'turbolinks-track': 'reload' }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB