diff --git a/src/lib/utils/eventColors.ts b/src/lib/utils/eventColors.ts index 77004cf..e123c7b 100644 --- a/src/lib/utils/eventColors.ts +++ b/src/lib/utils/eventColors.ts @@ -3,7 +3,7 @@ * Uses golden ratio to distribute colors evenly across the spectrum */ -const GOLDEN_RATIO = 0.618033988749895; +const GOLDEN_RATIO = (1 + Math.sqrt(5)) / 2; /** * Get a deterministic color for an event kind