Created icon for PWA and web

This commit is contained in:
Nathan Schneider
2025-11-29 17:05:15 -05:00
parent d278e8998a
commit af52f32330
4 changed files with 65 additions and 16 deletions

View File

@@ -15,15 +15,27 @@ export default defineConfig({
svelte(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['favicon.ico'],
includeAssets: ['favicon.ico', 'favicon.svg', 'icon-192.png', 'icon-512.png'],
manifest: {
name: 'Protocol Bicorder',
short_name: 'Bicorder',
description: 'A diagnostic tool for the study of protocols',
theme_color: '#ffffff',
background_color: '#ffffff',
theme_color: '#1a1a2e',
background_color: '#1a1a2e',
display: 'standalone',
icons: [
{
src: '/icon-192.png',
sizes: '192x192',
type: 'image/png',
purpose: 'any'
},
{
src: '/icon-512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'any'
},
{
src: '/icon.svg',
sizes: 'any',