mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-01 06:06:05 +08:00
44 lines
1.5 KiB
TypeScript
44 lines
1.5 KiB
TypeScript
// nuxt.config.ts
|
|
export default defineNuxtConfig({
|
|
compatibilityDate: '2025-07-15',
|
|
devtools: { enabled: true },
|
|
ssr: false,
|
|
modules: ['vuetify-nuxt-module', '@nuxtjs/tailwindcss', 'nuxt-aos'],
|
|
aos: { once: true, duration: 600, easing: 'ease-out' },
|
|
app: { head: { link: [{ rel: 'icon', type: 'image/jpeg', href: '/img/logo.jpeg' }] } },
|
|
runtimeConfig: {
|
|
openaiKey: process.env.OPENAI_API_KEY,
|
|
llmModel: process.env.LLM_MODEL || 'gpt-5-nano',
|
|
ttsModel: process.env.TTS_MODEL || 'tts-1',
|
|
public: {}
|
|
},
|
|
vuetify: {
|
|
vuetifyOptions: {
|
|
theme: {
|
|
defaultTheme: 'opensquawkDark',
|
|
themes: {
|
|
opensquawkDark: {
|
|
dark: true,
|
|
colors: {
|
|
background: '#0b1020',
|
|
surface: '#0a0f1c',
|
|
primary: '#22d3ee',
|
|
secondary: '#0ea5e9',
|
|
info: '#22d3ee',
|
|
success: '#22c55e',
|
|
warning: '#f59e0b',
|
|
error: '#ef4444',
|
|
// Text-Kontrast
|
|
'on-background': '#ffffff',
|
|
'on-surface': '#ffffff'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
css: [
|
|
'~/assets/css/global.css'
|
|
],
|
|
})
|