shuffled FALLBACK_COLOURS (more random feeling)

This commit is contained in:
Oliver Bryan
2026-01-09 06:31:02 +00:00
parent 741df30ca1
commit d342077540

View File

@@ -3,23 +3,23 @@ import { useSession } from "@/components/session-provider";
import { cn } from "@/lib/utils";
const FALLBACK_COLOURS = [
"bg-red-500",
"bg-orange-500",
"bg-amber-500",
"bg-yellow-500",
"bg-lime-500",
"bg-green-500",
"bg-emerald-500",
"bg-teal-500",
"bg-cyan-500",
"bg-sky-500",
"bg-blue-500",
"bg-indigo-500",
"bg-violet-500",
"bg-purple-500",
"bg-fuchsia-500",
"bg-pink-500",
"bg-rose-500",
"bg-indigo-500",
"bg-amber-500",
"bg-cyan-500",
"bg-purple-500",
"bg-lime-500",
"bg-orange-500",
"bg-sky-500",
"bg-fuchsia-500",
"bg-green-500",
"bg-red-500",
"bg-violet-500",
"bg-yellow-500",
"bg-blue-500",
"bg-emerald-500",
"bg-pink-500",
];
function hashStringToIndex(value: string, modulo: number) {