UNPKG

@cranberry-money/shared-constants

Version:

Shared constants for Blueberry platform

70 lines 3.18 kB
export declare const UNIFIED_STATUS_COLORS: { readonly pending: "text-warning-600"; readonly awaiting: "text-warning-600"; readonly pending_review: "text-warning-600"; readonly on_hold: "text-warning-600"; readonly processing: "text-primary-600"; readonly in_progress: "text-primary-600"; readonly active: "text-primary-600"; readonly completed: "text-success-700"; readonly approved: "text-success-600"; readonly executed: "text-success-600"; readonly settled: "text-success-600"; readonly success: "text-success-600"; readonly failed: "text-error-700"; readonly rejected: "text-error-600"; readonly error: "text-error-600"; readonly cancelled: "text-content-subtle"; readonly expired: "text-content-subtle"; readonly inactive: "text-content-subtle"; readonly closed: "text-content-subtle"; readonly default: "text-content-subtle"; }; export type StatusColorKey = keyof typeof UNIFIED_STATUS_COLORS; export type StatusColorValue = (typeof UNIFIED_STATUS_COLORS)[StatusColorKey]; export declare const getStatusColor: (status: string) => string; export declare const UNIFIED_STATUS_BG_COLORS: { readonly pending: "bg-warning-50"; readonly awaiting: "bg-warning-50"; readonly pending_review: "bg-warning-50"; readonly on_hold: "bg-warning-50"; readonly processing: "bg-primary-50"; readonly in_progress: "bg-primary-50"; readonly active: "bg-primary-50"; readonly completed: "bg-success-50"; readonly approved: "bg-success-50"; readonly executed: "bg-success-50"; readonly settled: "bg-success-50"; readonly success: "bg-success-50"; readonly failed: "bg-error-50"; readonly rejected: "bg-error-50"; readonly error: "bg-error-50"; readonly cancelled: "bg-gray-50"; readonly expired: "bg-gray-50"; readonly inactive: "bg-gray-50"; readonly closed: "bg-gray-50"; readonly default: "bg-gray-50"; }; export declare const UNIFIED_STATUS_BADGE_COLORS: { readonly pending: "bg-warning-100 text-warning-700"; readonly awaiting: "bg-warning-100 text-warning-700"; readonly pending_review: "bg-warning-100 text-warning-700"; readonly on_hold: "bg-warning-100 text-warning-700"; readonly processing: "bg-primary-100 text-primary-700"; readonly in_progress: "bg-primary-100 text-primary-700"; readonly active: "bg-primary-100 text-primary-700"; readonly completed: "bg-success-100 text-success-700"; readonly approved: "bg-success-100 text-success-700"; readonly executed: "bg-success-100 text-success-700"; readonly settled: "bg-success-100 text-success-700"; readonly success: "bg-success-100 text-success-700"; readonly failed: "bg-error-100 text-error-700"; readonly rejected: "bg-error-100 text-error-700"; readonly error: "bg-error-100 text-error-700"; readonly cancelled: "bg-gray-100 text-gray-700"; readonly expired: "bg-gray-100 text-gray-700"; readonly inactive: "bg-gray-100 text-gray-700"; readonly closed: "bg-gray-100 text-gray-700"; readonly default: "bg-gray-100 text-gray-700"; }; //# sourceMappingURL=status-colors-unified.d.ts.map