From f1ed85bb34ef3c047b30f64cec567cb387447e8f Mon Sep 17 00:00:00 2001 From: liminal Date: Sun, 20 Jul 2025 02:16:23 +0000 Subject: [PATCH] Apply suggested change from code comment --- src/lib/utils/eventColors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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