99 lines
2.0 KiB
TypeScript
99 lines
2.0 KiB
TypeScript
import Aura from '@primevue/themes/aura'
|
|
import { definePreset } from '@primevue/themes'
|
|
|
|
const OysTheme = definePreset(Aura, {
|
|
semantic: {
|
|
primary: {
|
|
50: '#e6f2fd',
|
|
100: '#c4e0fa',
|
|
200: '#8ac4f5',
|
|
300: '#51a7f0',
|
|
400: '#298be6',
|
|
500: '#027be3',
|
|
600: '#0262b5',
|
|
700: '#014988',
|
|
800: '#01315a',
|
|
900: '#00182d',
|
|
950: '#000c17',
|
|
},
|
|
},
|
|
})
|
|
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
|
|
ssr: false,
|
|
|
|
modules: [
|
|
'@nuxtjs/ionic',
|
|
'@primevue/nuxt-module',
|
|
'@pinia/nuxt',
|
|
'@vite-pwa/nuxt',
|
|
'@nuxtjs/supabase',
|
|
],
|
|
|
|
ionic: {
|
|
css: { utilities: true },
|
|
config: { mode: 'md' },
|
|
},
|
|
|
|
primevue: {
|
|
options: {
|
|
theme: {
|
|
preset: OysTheme,
|
|
options: {
|
|
darkModeSelector: false,
|
|
},
|
|
},
|
|
ripple: true,
|
|
},
|
|
},
|
|
|
|
supabase: {
|
|
redirectOptions: {
|
|
login: '/',
|
|
callback: '/auth/callback',
|
|
exclude: ['/', '/login', '/signup', '/auth/callback'],
|
|
},
|
|
},
|
|
|
|
app: {
|
|
head: {
|
|
meta: [{ name: 'theme-color', content: '#027be3' }],
|
|
},
|
|
},
|
|
|
|
pwa: {
|
|
manifest: {
|
|
name: 'OYS Borrow a Boat',
|
|
short_name: 'OYS BAB',
|
|
description: 'Manage a Borrow a Boat program for a Yacht Club',
|
|
theme_color: '#027be3',
|
|
background_color: '#ffffff',
|
|
display: 'standalone',
|
|
orientation: 'natural',
|
|
icons: [
|
|
{ src: 'icons/icon-128x128.png', sizes: '128x128', type: 'image/png' },
|
|
{ src: 'icons/icon-192x192.png', sizes: '192x192', type: 'image/png' },
|
|
{ src: 'icons/icon-256x256.png', sizes: '256x256', type: 'image/png' },
|
|
{ src: 'icons/icon-384x384.png', sizes: '384x384', type: 'image/png' },
|
|
{ src: 'icons/icon-512x512.png', sizes: '512x512', type: 'image/png' },
|
|
],
|
|
},
|
|
workbox: {
|
|
navigateFallback: '/',
|
|
},
|
|
devOptions: {
|
|
enabled: false,
|
|
},
|
|
},
|
|
|
|
runtimeConfig: {
|
|
public: {
|
|
supabaseUrl: '',
|
|
supabaseKey: '',
|
|
},
|
|
},
|
|
})
|