Add Uploads collection
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user