mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
shuffled FALLBACK_COLOURS (more random feeling)
This commit is contained in:
@@ -3,23 +3,23 @@ import { useSession } from "@/components/session-provider";
|
|||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
const FALLBACK_COLOURS = [
|
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-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-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) {
|
function hashStringToIndex(value: string, modulo: number) {
|
||||||
|
|||||||
Reference in New Issue
Block a user