Action buttons in modals should be prioritised visually
For instance, in this screenshot from !616 (merged), there's no sense of which button is most important at this step in the user's experience:
Typically, there should be:
- one (ideally only one) "primary" button for the main action the user is expected/encouraged to take;
- "danger" buttons for any destructive actions;
- "outlined" and/or link-like buttons for minor actions (e.g. close modal, if losing the modal's internal state doesn't matter);
- "secondary" buttons for actions that don't fall into the above.
Edited by Axel Bocciarelli