Files
black7/vite.config.ts
T
randrews 9c1bbae359 Replace placeholder icons with custom image and fix PWA manifest colors
Regenerated all icons (favicon, apple-touch-icon, pwa-192, pwa-512) from
manual-icon.png using ImageMagick. Updated manifest and meta theme-color
from black to the app's blue (#a8d5e8), and added start_url to the manifest.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 22:11:26 -05:00

41 lines
993 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
plugins: [
react(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['favicon.ico', 'apple-touch-icon.png'],
manifest: {
name: 'Black 7',
short_name: 'Black 7',
description: 'Scoring app for Last Panther',
theme_color: '#a8d5e8',
background_color: '#a8d5e8',
display: 'standalone',
start_url: '/',
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',
},
],
},
}),
],
})