diff --git a/nuxt4/app.config.ts b/nuxt4/app.config.ts index 36f618e..593d55f 100644 --- a/nuxt4/app.config.ts +++ b/nuxt4/app.config.ts @@ -161,5 +161,48 @@ export default defineAppConfig({ root: 'bg-transparent border border-primary/50 dark:border-primary focus:ring-2 focus:ring-primary dark:font-mono', }, }, + + // Notifications (Toast): Estilo outline con los colores de la app + notification: { + slots: { + root: 'bg-transparent border-2 border-primary/50 dark:border-primary backdrop-blur-sm', + wrapper: 'w-full', + title: 'text-foreground font-semibold dark:font-mono dark:text-shadow', + description: 'text-foreground/80 dark:font-mono dark:font-light', + icon: 'shrink-0', + avatar: 'shrink-0', + actions: 'flex gap-1.5 shrink-0', + close: 'shrink-0', + progress: 'absolute inset-x-0 bottom-0 h-1 z-10', + }, + variants: { + color: { + primary: { + root: 'dark:shadow-[0_0_12px_rgba(0,255,0,0.3)]', + progress: 'bg-primary', + }, + success: { + root: 'border-green-500/50 dark:border-green-500 dark:shadow-[0_0_12px_rgba(0,255,0,0.3)]', + progress: 'bg-green-500', + }, + error: { + root: 'border-red-500/50 dark:border-red-500 dark:shadow-[0_0_12px_rgba(255,0,0,0.3)]', + progress: 'bg-red-500', + }, + warning: { + root: 'border-yellow-500/50 dark:border-yellow-500 dark:shadow-[0_0_12px_rgba(255,255,0,0.3)]', + progress: 'bg-yellow-500', + }, + info: { + root: 'border-blue-500/50 dark:border-blue-500 dark:shadow-[0_0_12px_rgba(0,150,255,0.3)]', + progress: 'bg-blue-500', + }, + neutral: { + root: 'dark:shadow-[0_0_12px_rgba(100,100,100,0.3)]', + progress: 'bg-gray-500', + }, + }, + }, + }, }, }) diff --git a/nuxt4/app/components/CataFormularioMuestra.vue b/nuxt4/app/components/CataFormularioMuestra.vue deleted file mode 100644 index e8c2257..0000000 --- a/nuxt4/app/components/CataFormularioMuestra.vue +++ /dev/null @@ -1,447 +0,0 @@ -