DO
Use semantic tokens — ensures light/dark mode correctness automatically
Use weight 600 for button labels, headings, and emphasized UI text
Reserve primary buttons for one-per-context; others use Default or Invisible
Use 6px border radius as default for interactive elements
Use monospace stack for all code, SHAs, file paths, and terminal output
DON'T
Use color as the only signal — always pair with a label, icon, or pattern
Use more than one primary button in a single action group
Use the Danger button without a confirmation step
Use purple outside the done/merged state context
Center-align body text — Primer explicitly discourages it