feat: Choose random color on collection creation (#3912)
Choose a random color from a shared color palette between backend and frontend during collection creation.
This commit is contained in:
@@ -28,3 +28,16 @@ export const sortNavigationNodes = (
|
||||
: document.children,
|
||||
}));
|
||||
};
|
||||
|
||||
export const colorPalette = [
|
||||
"#4E5C6E",
|
||||
"#0366d6",
|
||||
"#9E5CF7",
|
||||
"#FF825C",
|
||||
"#FF5C80",
|
||||
"#FFBE0B",
|
||||
"#42DED1",
|
||||
"#00D084",
|
||||
"#FF4DFA",
|
||||
"#2F362F",
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user