export const rolesToColor = (roles: string[]) => roles.includes('registrant') ? 'green' : roles.includes('technical') ? 'orange' : roles.includes('administrative') ? 'blue' : roles.includes('registrar') ? 'purple' : roles.includes('sponsor') ? 'magenta' : roles.includes('billing') ? 'cyan' : 'default'