erp-transportistas-frontend-v2/tailwind.config.js
Adrian Flores Cortes f0a09fea29 [MAI-003,006,011] feat: Add frontend React components for transport modules
- Add viajes module with ViajesList, ViajeForm, ViajeDetail, ViajeStatusBadge
- Add flota module with UnidadesList, OperadoresList, StatusBadge components
- Add tracking module with TrackingMap, EventosList, GeocercasList
- Add ordenes-transporte module with OTList, OTForm, OTDetail, OTStatusBadge
- Add types, API services, and feature index files for all modules
- Add main entry files (App.tsx, main.tsx, index.css)
- Add page components for routing
- Configure Tailwind CSS with primary colors

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 02:12:38 -06:00

53 lines
1.3 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
// Primary color (aliased to transport)
primary: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
},
// Colores del giro transporte
transport: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
},
// Estados de viaje
status: {
draft: '#9ca3af', // Borrador
planned: '#3b82f6', // Planeado
dispatched: '#f59e0b', // Despachado
in_transit: '#10b981', // En transito
at_destination: '#8b5cf6', // En destino
delivered: '#22c55e', // Entregado
closed: '#6b7280', // Cerrado
invoiced: '#0ea5e9', // Facturado
collected: '#059669', // Cobrado
},
},
},
},
plugins: [],
}