Why doesn't intent="workflow-secondary" use the secondary color?

Updated:

Related page: Button

The intent attribute refers to the intended action type of the button (e.g., primary, secondary, neutral) and is not related to the primary and secondary colors established in the theme. As such, secondary intents tend to appear more subtle than their primary counterparts.

  • Primary actions are for things like submitting a form, saving content, and confirming a decision.
  • Secondary actions are for things like clearing a form, canceling changes, and declining a decision.
  • Neutral actions are rarely used but might apply to returning to a previous page, toggling information, or requesting help.