diff --git a/src/components/map/controls/DrawingToolSettings.tsx b/src/components/map/controls/DrawingToolSettings.tsx index b4e8d61..e66205e 100644 --- a/src/components/map/controls/DrawingToolSettings.tsx +++ b/src/components/map/controls/DrawingToolSettings.tsx @@ -123,6 +123,7 @@ function DrawingToolSettings({ onSettingChange({ color })} + exclude={["primary"]} /> onSettingChange({ color })} - exclude={["black", "darkGray", "lightGray", "white"]} + exclude={["black", "darkGray", "lightGray", "white", "primary"]} /> ); diff --git a/src/components/note/NoteMenu.tsx b/src/components/note/NoteMenu.tsx index 4096ec7..04933ad 100644 --- a/src/components/note/NoteMenu.tsx +++ b/src/components/note/NoteMenu.tsx @@ -167,34 +167,36 @@ function NoteMenu({ justifyContent: "space-between", }} > - {colorOptions.map((color) => ( - handleColorChange(color)} - aria-label={`Note label Color ${color}`} - > - {note && note.color === color && ( - - )} - - ))} + {colorOptions + .filter((color) => color !== "primary") + .map((color) => ( + handleColorChange(color)} + aria-label={`Note label Color ${color}`} + > + {note && note.color === color && ( + + )} + + ))} - {colorOptions.map((color) => ( - handleStatusChange(color)} - aria-label={`Token label Color ${color}`} - > - {tokenState && - tokenState.statuses && - tokenState.statuses.includes(color) && ( - - )} - - ))} + {colorOptions + .filter((color) => color !== "primary") + .map((color) => ( + handleStatusChange(color)} + aria-label={`Token label Color ${color}`} + > + {tokenState && + tokenState.statuses && + tokenState.statuses.includes(color) && ( + + )} + + ))}