Update seed data to include new cards, and modify hex codes for existing decks to be more different. Also add functionality to set a dark font color for card_badges if the bg color is too light

This commit is contained in:
badblocks 2025-03-27 23:17:51 -07:00
parent 2cb35e853d
commit 15f8eb7cf4
6 changed files with 12779 additions and 8112 deletions

View file

@ -38,7 +38,7 @@
"fields": {
"name": "Genetic Apex: Pikachu",
"cardset": "A1",
"hex_color": "#EB8600",
"hex_color": "#FCF326",
"created_at": "2025-02-16T07:55:05.097Z",
"updated_at": "2025-02-16T07:55:05.097Z"
}
@ -75,5 +75,27 @@
"created_at": "2025-02-16T07:55:27.503Z",
"updated_at": "2025-02-16T07:55:27.503Z"
}
},
{
"model": "cards.deck",
"pk": 8,
"fields": {
"name": "Triumphant Light",
"cardset": "A2a",
"hex_color": "#DF8D2C",
"created_at": "2025-03-26T12:25:17.706Z",
"updated_at": "2025-03-26T12:25:17.706Z"
}
},
{
"model": "cards.deck",
"pk": 9,
"fields": {
"name": "Shining Revelry",
"cardset": "A2b",
"hex_color": "#D7FDFC",
"created_at": "2025-03-26T12:25:17.706Z",
"updated_at": "2025-03-26T12:25:17.706Z"
}
}
]