Skip to content

Commit

Permalink
Merge pull request #42 from doroudi:doroudi/issue36
Browse files Browse the repository at this point in the history
feat: 💄 add specific favicon
  • Loading branch information
doroudi authored Dec 1, 2023
2 parents 2a11323 + b294909 commit 3664545
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 62 deletions.
30 changes: 27 additions & 3 deletions public/favicon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 27 additions & 3 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/pwa-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/pwa-512x512.png
Binary file not shown.
41 changes: 0 additions & 41 deletions public/safari-pinned-tab.svg

This file was deleted.

19 changes: 4 additions & 15 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,28 +87,17 @@ export default defineConfig({
// https://github.com/antfu/vite-plugin-pwa
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['favicon.svg', 'safari-pinned-tab.svg'],
includeAssets: ['favicon.svg'],
manifest: {
name: 'Vitesse',
short_name: 'Vitesse',
theme_color: '#ffffff',
name: 'YummyAdmin',
short_name: 'YummyAdmin',
theme_color: '#459858',
icons: [
{
src: '/pwa-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: '/pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
},
{
src: '/pwa-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any maskable',
},
],
},
}),
Expand Down

0 comments on commit 3664545

Please sign in to comment.