Add Uploads collection

This commit is contained in:
2022-07-25 03:12:31 +00:00
parent 4aae9867ef
commit b323e3b70a
6 changed files with 51 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ const EventTypes: CollectionConfig = {
};
const pickColour = (str) => {
return `hsl(${hashCode(str) % 360}, 100%, 50%)`;
return `hsl(${hashCode(str) % 360}, 100%, 65%)`;
};
doc.backgroundColour = pickColour(doc.name);