feat: comprehensive dashboard refactor and performance stabilization
All checks were successful
Build and Deploy / build-and-push (push) Successful in 3m33s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 3m33s
This commit is contained in:
39
src/constants.ts
Normal file
39
src/constants.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
import { FunnelStage } from './types';
|
||||
|
||||
// Visual Constants
|
||||
export const COLORS = {
|
||||
primary: '#facc15', // Yellow-400
|
||||
secondary: '#18181b', // Zinc-900
|
||||
success: '#10b981', // Emerald-500
|
||||
warning: '#f59e0b', // Amber-500
|
||||
danger: '#ef4444', // Red-500
|
||||
|
||||
// Prettier, modern SaaS palette for general charts
|
||||
charts: [
|
||||
'#818cf8', // Soft Indigo
|
||||
'#4ade80', // Soft Emerald
|
||||
'#fb923c', // Soft Orange
|
||||
'#22d3ee', // Soft Cyan
|
||||
'#f472b6', // Soft Pink
|
||||
'#a78bfa' // Soft Violet
|
||||
],
|
||||
|
||||
// Brand-specific colors for Lead Origins
|
||||
origins: {
|
||||
'WhatsApp': '#25D366',
|
||||
'Instagram': '#E4405F',
|
||||
'LinkedIn': '#0077B5',
|
||||
'Website': '#f87171', // Coral Red (Distinct from LinkedIn blue)
|
||||
'Indicação': '#f59e0b'
|
||||
},
|
||||
|
||||
// Semantic palette for Funnel Stages
|
||||
funnel: {
|
||||
'Sem atendimento': '#64748b', // Slate-500
|
||||
'Identificação': '#818cf8', // Indigo-400
|
||||
'Negociação': '#fb923c', // Orange-400
|
||||
'Ganhos': '#10b981', // Emerald-500
|
||||
'Perdidos': '#f87171' // Red-400
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user