diff --git a/src/App.jsx b/src/App.jsx
index b67c608..cc90751 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -153,7 +153,7 @@ function App() {
type="checkbox"
onChange={(e) => setOnePerPage(e.target.checked)}
/>
- One Datacard per Page when Printing
+ One Datacard per Page when Printing
{roster &&
@@ -242,12 +242,14 @@ const getPrimaryColor = (catalog) => {
return "#536766";
case "Astra Militarum":
return "#375441";
- case "Chaos Daemons":
- return "#536766";
+ case "Chaos - Daemons":
+ return "#383c46";
case "Chaos Space Marines":
return "#1d3138";
- case "Death Guard":
- return "#536766";
+ case "Chaos - World Eaters":
+ return "#883531";
+ case "Chaos - Death Guard":
+ return "#5c672b";
case "Drukhari":
return "#536766";
case "Genestealer Cults":
@@ -275,6 +277,7 @@ const getPrimaryColor = (catalog) => {
case "Ynnari":
return "#536766";
default:
+ console.log(catalog);
return "#536766";
}
};
diff --git a/src/Roster.jsx b/src/Roster.jsx
index c29a129..9b0ba71 100644
--- a/src/Roster.jsx
+++ b/src/Roster.jsx
@@ -109,6 +109,8 @@ const Unit = ({ unit, index, catalog, onePerPage }) => {
!weapon.name.includes("(Melee)")
);
+ const overridePrimary = getOverridePrimary(factions, keywords);
+
return (