Skip to content

Commit 6fa4074

Browse files
committed
icons
1 parent e9ce48d commit 6fa4074

File tree

7 files changed

+27
-22
lines changed

7 files changed

+27
-22
lines changed

index.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" href="/favicon.ico" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
76
<title>Browserlist WASM</title>
7+
8+
<!-- favicons -->
9+
<link rel="icon" href="/favicon.ico" sizes="any" /><!-- 32×32 -->
10+
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
11+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /><!-- 180×180 -->
812
</head>
913
<body>
1014
<div id="app"></div>

public/apple-touch-icon.png

8.45 KB
Loading

public/favicon.ico

3.06 KB
Binary file not shown.

public/favicon.svg

+1
Loading

public/icon-192.png

7.25 KB
Loading

public/icon-512.png

22.5 KB
Loading

vite.config.js

+21-21
Original file line numberDiff line numberDiff line change
@@ -33,28 +33,28 @@ export default defineConfig({
3333
},
3434
includeAssets: [],
3535
manifest: {
36-
name: 'Browserlist',
36+
name: 'Browserlist WASM',
3737
short_name: 'Browserlist',
38-
description: 'Browserlist wasm',
39-
theme_color: '#ffffff'
40-
// icons: [
41-
// {
42-
// src: 'pwa-192x192.png',
43-
// sizes: '192x192',
44-
// type: 'image/png',
45-
// },
46-
// {
47-
// src: 'pwa-512x512.png',
48-
// sizes: '512x512',
49-
// type: 'image/png',
50-
// },
51-
// {
52-
// src: 'pwa-512x512.png',
53-
// sizes: '512x512',
54-
// type: 'image/png',
55-
// purpose: 'any maskable',
56-
// }
57-
// ]
38+
description: 'Browserlist WASM',
39+
theme_color: '#1f1f1f',
40+
icons: [
41+
{
42+
src: '/icon-192.png',
43+
sizes: '192x192',
44+
type: 'image/png'
45+
},
46+
{
47+
src: '/icon-512.png',
48+
sizes: '512x512',
49+
type: 'image/png'
50+
},
51+
{
52+
src: '/icon-512.png',
53+
sizes: '512x512',
54+
type: 'image/png',
55+
purpose: 'any maskable'
56+
}
57+
]
5858
}
5959
})
6060
]

0 commit comments

Comments
 (0)