UNPKG

@cranberry-money/shared-constants

Version:

Shared constants for Blueberry platform

53 lines 1.99 kB
/** * Tailwind CSS class mappings for Blueberry (web only) * These are NOT used in React Native (Blackberry) * * For cross-platform color values, use DESIGN_TOKENS from design-tokens.ts */ import { UNIFIED_STATUS_COLORS } from './status-colors-unified'; // Re-export unified status colors for backward compatibility export { UNIFIED_STATUS_COLORS, getStatusColor } from './status-colors-unified'; // Text color classes for status export const STATUS_TEXT_CLASSES = { SUCCESS: 'text-green-600', WARNING: 'text-amber-600', ERROR: 'text-red-600', INFO: 'text-blue-600', NEUTRAL: 'text-gray-600', }; // Background color classes for status export const STATUS_BG_CLASSES = { SUCCESS: 'bg-green-50', WARNING: 'bg-amber-50', ERROR: 'bg-red-50', INFO: 'bg-blue-50', NEUTRAL: 'bg-gray-50', }; // Badge color classes (background + text) export const BADGE_CLASSES = { PRIMARY: 'bg-indigo-100 text-indigo-700', SECONDARY: 'bg-gray-100 text-gray-700', SUCCESS: 'bg-green-100 text-green-700', DANGER: 'bg-red-100 text-red-700', WARNING: 'bg-amber-100 text-amber-700', INFO: 'bg-blue-100 text-blue-700', }; // Trading status colors using unified colors export const TRADING_STATUS_CLASSES = { PENDING: UNIFIED_STATUS_COLORS.pending, EXECUTED: UNIFIED_STATUS_COLORS.executed, SETTLED: UNIFIED_STATUS_COLORS.settled, CANCELLED: UNIFIED_STATUS_COLORS.cancelled, FAILED: UNIFIED_STATUS_COLORS.failed, EXPIRED: UNIFIED_STATUS_COLORS.expired, REJECTED: UNIFIED_STATUS_COLORS.rejected, PENDING_REVIEW: UNIFIED_STATUS_COLORS.pending_review, APPROVED: UNIFIED_STATUS_COLORS.approved, COMPLETED: UNIFIED_STATUS_COLORS.completed, PROCESSING: UNIFIED_STATUS_COLORS.processing, ON_HOLD: UNIFIED_STATUS_COLORS.on_hold, ACTIVE: UNIFIED_STATUS_COLORS.active, INACTIVE: UNIFIED_STATUS_COLORS.inactive, CLOSED: UNIFIED_STATUS_COLORS.closed, }; //# sourceMappingURL=tailwind-classes.js.map