Skip to content

Commit

Permalink
primitives: use better colors
Browse files Browse the repository at this point in the history
HSL should be used, changing only hue for class color palette.
  • Loading branch information
makinbacon21 committed Nov 18, 2024
1 parent cb83711 commit 88aa1d8
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions components/primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,22 @@ export const subtitle = tv({
});

export const courseColors = [
"#093145",
"#107896",
"#829356",
"#5A5A66",
"#4A6D7C",
"#C2571A",
"#9A2617",
"#201335",
"#636363",
"#087E8B",
"#590925",
"#034748",
"#19381F",
"#631D76",
"#4B4E6D",
"#590004",
"hsl(0deg 60% 35%)",
"hsl(21.17deg 60% 35%)",
"hsl(42.34deg 60% 35%)",
"hsl(63.51deg 60% 35%)",
"hsl(84.68deg 60% 35%)",
"hsl(105.85deg 60% 35%)",
"hsl(127.02deg 60% 35%)",
"hsl(148.19deg 60% 35%)",
"hsl(169.36deg 60% 35%)",
"hsl(190.53deg 60% 35%)",
"hsl(211.70deg 60% 35%)",
"hsl(232.87deg 60% 35%)",
"hsl(254.04deg 60% 35%)",
"hsl(275.21deg 60% 35%)",
"hsl(296.38deg 60% 35%)",
"hsl(317.55deg 60% 35%)",
];

export function generateColorFromName(name: string) {
Expand Down

0 comments on commit 88aa1d8

Please sign in to comment.