Skip to content

Commit c513e5e

Browse files
committed
chore: add more PWA tags
1 parent 807d044 commit c513e5e

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

astro.config.mjs

+16
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,22 @@ export default defineConfig({
2121
description: "The documentation website for AstroNvim.",
2222
favicon: "/astronvim.svg",
2323
head: [
24+
{
25+
tag: "meta",
26+
attrs: {
27+
name: "theme-color",
28+
content: "#feeeee",
29+
media: "(prefers-color-scheme: light)",
30+
},
31+
},
32+
{
33+
tag: "meta",
34+
attrs: {
35+
name: "theme-color",
36+
content: "#1a1d23",
37+
media: "(prefers-color-scheme: dark)",
38+
},
39+
},
2440
{
2541
tag: "meta",
2642
attrs: {

public/manifest.webmanifest

+18
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,32 @@
11
{
2+
"name": "AstroNvim Documentation",
3+
"start_url": "https://docs.astronvim.com",
4+
"description": "Documentation for the AstroNvim Neovim configuration.",
5+
"display": "minimal-ui",
6+
"background_color": "#1a1d23",
7+
"theme_color": "#1a1d23",
28
"icons": [
39
{
410
"src": "https://astronvim.com/logo/android-chrome-192x192.png",
511
"type": "image/png",
612
"sizes": "192x192"
713
},
14+
{
15+
"src": "https://astronvim.com/logo/maskable_icon_x192.png",
16+
"type": "image/png",
17+
"sizes": "192x192",
18+
"purpose": "any maskable"
19+
},
820
{
921
"src": "https://astronvim.com/logo/android-chrome-512x512.png",
1022
"type": "image/png",
1123
"sizes": "512x512"
24+
},
25+
{
26+
"src": "https://astronvim.com/logo/maskable_icon_x512.png",
27+
"type": "image/png",
28+
"sizes": "512x512",
29+
"purpose": "any maskable"
1230
}
1331
]
1432
}

0 commit comments

Comments
 (0)