package com.craigvg.lichun_android.utils import androidx.compose.ui.graphics.Color import com.craigvg.lichun_android.ui.theme.AppColors /** * Helper functions for relationship and affinity calculations. * Ported from iOS RelationshipHelpers.swift */ /** * Returns a color based on affinity level (0-100). */ fun getAffinityColor(affinity: Int): Color { return when { affinity > 75 -> AppColors.success affinity > 50 -> AppColors.warning affinity > 25 -> AppColors.accent else -> AppColors.health } }