Fixed White Bg in pwa icon (#4098)

* fixed pwa blue bg icon

* E

* E

* slight fix for ios
This commit is contained in:
Rishab 2025-09-26 03:33:23 +05:30 committed by GitHub
parent fb03aacbc7
commit 3cbbccc1a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

View file

@ -45,11 +45,11 @@ export default defineConfig({
['link', { rel: 'icon', href: '/test.png' }],
// PWA
['link', { rel: 'manifest', href: '/manifest.json' }],
['link', { rel: 'icon', href: '/test.png', type: 'image/svg+xml' }],
['link', { rel: 'alternate icon', href: '/test.png' }],
['link', { rel: 'mask-icon', href: '/test.png', color: '#7bc5e4' }],
['link', { rel: 'icon', href: '/pwa_icon.png', type: 'image/svg+xml' }],
['link', { rel: 'alternate icon', href: '/pwa_icon.png' }],
['link', { rel: 'mask-icon', href: '/pwa_icon.png', color: '#000000ff' }],
['meta', { name: 'keywords', content: meta.keywords.join(' ') }],
['link', { rel: 'apple-touch-icon', href: '/test.png', sizes: '192x192' }],
['link', { rel: 'apple-touch-icon', href: '/pwa_icon.png', sizes: '192x192' }],
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'default' }],
// Bing site verification
@ -145,8 +145,8 @@ export default defineConfig({
name: 'FMHY - freemediaheckyeah',
short_name: 'FMHY',
description: 'The largest collection of free stuff on the internet!',
theme_color: '#7bc5e4',
background_color: '#ffffff',
theme_color: '#000000ff',
background_color: '#000000ff',
display: 'standalone',
orientation: 'portrait',
scope: '/',
@ -158,13 +158,13 @@ export default defineConfig({
type: 'image/x-icon'
},
{
src: '/test.png',
src: '/pwa_icon.png',
sizes: '192x192',
type: 'image/png',
purpose: 'any maskable'
},
{
src: '/test.png',
src: '/pwa_icon.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable'

View file

@ -15,13 +15,13 @@
"type": "image/x-icon"
},
{
"src": "/test.png",
"src": "/pwa_icon.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/test.png",
"src": "/pwa_icon.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"

BIN
docs/public/pwa_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 KiB