Stage pill colors scale from light gray to dark blue
Stage 1 = bg-slate-100 (matches Flat status pill), each subsequent stage gets a deeper blue. Shared helper in lib/stage-colors.ts used by both the main dashboard and the account detail page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
536aad27ef
commit
95f9e550d1
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Stage 1 starts very light (matching Flat status), gets progressively darker blue with each stage.
|
||||
*/
|
||||
export function stagePillClasses(stage: number): string {
|
||||
if (stage <= 1) return 'bg-slate-100 text-slate-500';
|
||||
if (stage === 2) return 'bg-blue-100 text-blue-700';
|
||||
if (stage === 3) return 'bg-blue-200 text-blue-800';
|
||||
if (stage === 4) return 'bg-blue-400 text-white';
|
||||
if (stage === 5) return 'bg-blue-600 text-white';
|
||||
return 'bg-blue-800 text-white'; // 6+
|
||||
}
|
||||
Reference in New Issue
Block a user