Closed crydotsnake closed 10 months ago
Unfortunately I saw only after creating the pull request (🤦🏽) that in the Delete Dialog the buttons are also not consistent. The button to delete the collection should be green, and the cancel button should be red there imo. But afaik there is no component for the delete button. Its all controlled via the ApprovalAttainmentStrategy.tsx
Imho this button style should only be used for "dangerous"/destructive actions. If "cancel" doesn't mean you lose notable progress in a form, I feel like it shouldn't be emphasized.
@crydotsnake all the cancel buttons I usually encounter are grey and blue when hovered. Why should it be red?
What I did
I change the hover style of the cancel button in the CreateAssetCollectionDialog to
error
. Because its standard in Neos for Discard/Cancel Buttons that they are red. At least, I have not seen anything else yet.How I did it
Adjusted the
CreateAssetCollectionDialog.tsx
component.How to verify it