mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
docs: update pwa icons
This commit is contained in:
parent
6c8cd72e52
commit
e5352af1a6
1 changed files with 6 additions and 2 deletions
|
@ -105,6 +105,10 @@ You can check web manifest generation on [modules/pwa/i18n.ts](https://github.co
|
|||
|
||||
### PWA Icons
|
||||
|
||||
::alert{type="info"}
|
||||
**WIP:** We are working to generate PWA icons using a Node script.
|
||||
::
|
||||
|
||||
Elk icons have been generated using [PWA Builder Image Generator](https://www.pwabuilder.com/imageGenerator), we generate the icons twice per environment: transparent and maskable icons.
|
||||
|
||||
To generate transparent icons:
|
||||
|
@ -130,11 +134,11 @@ Once generated, we use the following icons:
|
|||
- `android/android-launchericon-512x512.png` for `maskable-icon.png`
|
||||
|
||||
::alert{type="info"}
|
||||
**Note 1:** to generate `favicon.ico` we use [RealFaviconGenerator](https://realfavicongenerator.net/), we upload `logo.svg` from `public` folders: `public`, ` public-dev` and `public-staging`.
|
||||
**Note 1:** `apple-touch-icon` icons have been generated with external tools.
|
||||
::
|
||||
|
||||
::alert{type="info"}
|
||||
**Note 2:** Safari don't use `apple-touch-icon` and so we don't need to generate it anymore: we use [RealFaviconGenerator](https://realfavicongenerator.net/) to generate it, using white background color and 10px of padding.
|
||||
**Note 2:** to generate `favicon.ico` icons, we use [RealFaviconGenerator](https://realfavicongenerator.net/) providing `logo.svg` from `public` folders: `public`, ` public-dev` and `public-staging`.
|
||||
::
|
||||
|
||||
### PWA UI Components
|
||||
|
|
Loading…
Reference in a new issue