Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
58 lines
1.7 KiB
CSS
58 lines
1.7 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
|
|
@layer base {
|
|
html {
|
|
font-family: 'Inter', system-ui, sans-serif;
|
|
}
|
|
|
|
body {
|
|
@apply bg-secondary-50 text-secondary-900 dark:bg-secondary-900 dark:text-secondary-50;
|
|
}
|
|
}
|
|
|
|
@layer components {
|
|
.btn {
|
|
@apply inline-flex items-center justify-center px-4 py-2 text-sm font-medium rounded-lg transition-colors focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-50 disabled:cursor-not-allowed;
|
|
}
|
|
|
|
.btn-primary {
|
|
@apply btn bg-primary-600 text-white hover:bg-primary-700 focus:ring-primary-500;
|
|
}
|
|
|
|
.btn-secondary {
|
|
@apply btn bg-secondary-200 text-secondary-900 hover:bg-secondary-300 focus:ring-secondary-500 dark:bg-secondary-700 dark:text-secondary-100 dark:hover:bg-secondary-600;
|
|
}
|
|
|
|
.btn-danger {
|
|
@apply btn bg-red-600 text-white hover:bg-red-700 focus:ring-red-500;
|
|
}
|
|
|
|
.btn-ghost {
|
|
@apply btn bg-transparent hover:bg-secondary-100 dark:hover:bg-secondary-800;
|
|
}
|
|
|
|
.input {
|
|
@apply block w-full px-3 py-2 text-sm border border-secondary-300 rounded-lg bg-white placeholder-secondary-400 focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-transparent dark:bg-secondary-800 dark:border-secondary-600 dark:text-white;
|
|
}
|
|
|
|
.label {
|
|
@apply block text-sm font-medium text-secondary-700 dark:text-secondary-300 mb-1;
|
|
}
|
|
|
|
.card {
|
|
@apply bg-white rounded-xl shadow-sm border border-secondary-200 dark:bg-secondary-800 dark:border-secondary-700;
|
|
}
|
|
|
|
.card-header {
|
|
@apply px-6 py-4 border-b border-secondary-200 dark:border-secondary-700;
|
|
}
|
|
|
|
.card-body {
|
|
@apply p-6;
|
|
}
|
|
}
|