mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-18 19:26:00 +01:00
Add maskable icons
This commit is contained in:
parent
73082975c4
commit
b9269f0693
17 changed files with 4 additions and 2 deletions
|
@ -39,8 +39,10 @@ class ManifestsController < ApplicationController
|
|||
def webapp_icons
|
||||
%i[1024 512 384 192 128 96 72 48].map do |size|
|
||||
[
|
||||
{ src: "/icons/icon_x#{size}.webp", sizes: "#{size}x#{size}", type: "image/webp" },
|
||||
{ src: "/icons/icon_x#{size}.png", sizes: "#{size}x#{size}", type: "image/png" }
|
||||
{ src: "/icons/icon_x#{size}.webp", sizes: "#{size}x#{size}", type: "image/webp", purpose: "any" },
|
||||
{ src: "/icons/icon_x#{size}.png", sizes: "#{size}x#{size}", type: "image/png", purpose: "any" },
|
||||
{ src: "/icons/maskable_icon_x#{size}.webp", sizes: "#{size}x#{size}", type: "image/webp", purpose: "maskable" },
|
||||
{ src: "/icons/maskable_icon_x#{size}.png", sizes: "#{size}x#{size}", type: "image/png", purpose: "maskable" }
|
||||
]
|
||||
end.flatten
|
||||
end
|
||||
|
|
0
public/icons/maskable_icon_x1024.png
Normal file
0
public/icons/maskable_icon_x1024.png
Normal file
0
public/icons/maskable_icon_x1024.webp
Normal file
0
public/icons/maskable_icon_x1024.webp
Normal file
0
public/icons/maskable_icon_x128.png
Normal file
0
public/icons/maskable_icon_x128.png
Normal file
0
public/icons/maskable_icon_x128.webp
Normal file
0
public/icons/maskable_icon_x128.webp
Normal file
BIN
public/icons/maskable_icon_x192.png
Normal file
BIN
public/icons/maskable_icon_x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
0
public/icons/maskable_icon_x192.webp
Normal file
0
public/icons/maskable_icon_x192.webp
Normal file
0
public/icons/maskable_icon_x384.png
Normal file
0
public/icons/maskable_icon_x384.png
Normal file
0
public/icons/maskable_icon_x384.webp
Normal file
0
public/icons/maskable_icon_x384.webp
Normal file
BIN
public/icons/maskable_icon_x48.png
Normal file
BIN
public/icons/maskable_icon_x48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
0
public/icons/maskable_icon_x48.webp
Normal file
0
public/icons/maskable_icon_x48.webp
Normal file
0
public/icons/maskable_icon_x512.png
Normal file
0
public/icons/maskable_icon_x512.png
Normal file
0
public/icons/maskable_icon_x512.webp
Normal file
0
public/icons/maskable_icon_x512.webp
Normal file
0
public/icons/maskable_icon_x72.png
Normal file
0
public/icons/maskable_icon_x72.png
Normal file
0
public/icons/maskable_icon_x72.webp
Normal file
0
public/icons/maskable_icon_x72.webp
Normal file
0
public/icons/maskable_icon_x96.png
Normal file
0
public/icons/maskable_icon_x96.png
Normal file
0
public/icons/maskable_icon_x96.webp
Normal file
0
public/icons/maskable_icon_x96.webp
Normal file
Loading…
Reference in a new issue