Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

354 B
Raw Blame
const palette = [
  'red',
  'orange',
  'yellow',
  'lime',
  'green',
  'teal',
  'cyan',
  'blue',
  'violet',
  'purple',
  'pink',
] as const;

/** Pick a collaboration cursor color from Macro's shared accent palette. */
export function getRandomPaletteColor(): string {
  return palette[Math.floor(Math.random() * palette.length)] ?? palette[0];
}