test publish
Some checks failed
Deploy / deploy (push) Has been cancelled
Deploy / publish-web (push) Successful in 1m43s
Deploy / publish-tauri (push) Has been cancelled

This commit is contained in:
2025-12-22 19:23:06 +06:00
parent e3d0106d8f
commit 76f0ec74b5
27 changed files with 2123 additions and 1344 deletions

View File

@@ -1,3 +1,4 @@
import { definePreset } from '@primeuix/themes'
import Aura from '@primeuix/themes/aura'
import tailwindcss from '@tailwindcss/vite'
@@ -10,10 +11,60 @@ export default defineNuxtConfig({
'@primevue/nuxt-module',
'@formkit/auto-animate/nuxt',
],
fonts: {
provider: 'google',
},
primevue: {
options: {
theme: {
preset: Aura,
preset: definePreset(Aura, {
semantic: {
transitionDuration: '150ms',
primary: {
50: '{zinc.50}',
100: '{zinc.100}',
200: '{zinc.200}',
300: '{zinc.300}',
400: '{zinc.400}',
500: '{zinc.500}',
600: '{zinc.600}',
700: '{zinc.700}',
800: '{zinc.800}',
900: '{zinc.900}',
950: '{zinc.950}',
},
},
colorScheme: {
light: {
primary: {
color: '{zinc.950}',
inverseColor: '#ffffff',
hoverColor: '{zinc.900}',
activeColor: '{zinc.800}',
},
highlight: {
background: '{zinc.950}',
focusBackground: '{zinc.700}',
color: '#ffffff',
focusColor: '#ffffff',
},
},
dark: {
primary: {
color: '{zinc.50}',
inverseColor: '{zinc.950}',
hoverColor: '{zinc.100}',
activeColor: '{zinc.200}',
},
highlight: {
background: 'rgba(250, 250, 250, .16)',
focusBackground: 'rgba(250, 250, 250, .24)',
color: 'rgba(255,255,255,.87)',
focusColor: 'rgba(255,255,255,.87)',
},
},
},
}),
},
},
components: {
@@ -25,9 +76,6 @@ export default defineNuxtConfig({
'@/assets/styles/primeicons.css',
'@/assets/styles/main.scss',
],
devServer: {
// host: '0',
},
vite: {
plugins: [
tailwindcss(),
@@ -38,14 +86,18 @@ export default defineNuxtConfig({
strictPort: true,
proxy: {
'/api': {
// target: 'http://localhost:4000',
target: 'https://api.koptilnya.xyz',
target: 'http://localhost:4000/chad',
// target: 'https://api.koptilnya.xyz/chad',
ws: true,
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '/chad'),
rewrite: (path) => {
return path.replace(/^\/api/, '')
},
},
},
},
define: {
__API_BASE_URL__: JSON.stringify(import.meta.env.API_BASE_URL || '/api'),
__COMMIT_SHA__: JSON.stringify(import.meta.env.COMMIT_SHA || 'local'),
},
},