feat: add web manifest dark theme variants (#947)
This commit is contained in:
parent
6e7813020e
commit
1b9fb99032
3 changed files with 39 additions and 8 deletions
|
@ -74,6 +74,31 @@ export const createI18n = async (): Promise<LocalizedWebManifest> => {
|
|||
},
|
||||
],
|
||||
}
|
||||
acc[`${lang}-dark`] = {
|
||||
scope: '/',
|
||||
id: '/',
|
||||
start_url: '/',
|
||||
display: 'standalone',
|
||||
lang,
|
||||
name,
|
||||
short_name,
|
||||
description,
|
||||
dir,
|
||||
background_color: '#111111',
|
||||
theme_color: '#111111',
|
||||
icons: [
|
||||
{
|
||||
src: 'pwa-192x192.png',
|
||||
sizes: '192x192',
|
||||
type: 'image/png',
|
||||
},
|
||||
{
|
||||
src: 'pwa-512x512.png',
|
||||
sizes: '512x512',
|
||||
type: 'image/png',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
return acc
|
||||
}, {} as LocalizedWebManifest)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue