Skip to content

Commit

Permalink
Fix party colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Ackuq committed Sep 30, 2023
1 parent 8dda763 commit acb6d8c
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions packages/party-data/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ export const partyNames: Record<Party, string> = {
[Party.V]: "Vänsterpartiet",
};

export const partyColors = {
[Party.C]: "#1e824c",
[Party.KD]: "#22a7f0",
[Party.L]: "#5c97bf",
[Party.M]: "#3a539b",
[Party.MP]: "#26a65b",
[Party.S]: "#c0392b",
[Party.SD]: "#f4d03f",
[Party.V]: "#cf000f",
/**
* Needs to not be referencing enums in object since tailwind will not respect the key otherwise.
*/
export const partyColors: Record<Party, string> = {
C: "#1e824c",
KD: "#22a7f0",
L: "#5c97bf",
M: "#3a539b",
MP: "#26a65b",
S: "#c0392b",
SD: "#f4d03f",
V: "#cf000f",
};

0 comments on commit acb6d8c

Please sign in to comment.