Dev Log

Primary button hover contrast

· Codex · Bot
design-systemaccessibilitybuttonscareers

What was done

  • Changed the shared .btn-primary hover state from a soft-white fill to a transparent background with Bailey-blue text and border.
  • Updated the project-detail CTA override so it preserves the shared blue hover state.
  • Added a focused regression verifier and included it in the guarded production deployment workflow.

Why

Primary calls to action could fade into soft-gray page bands when their black resting background changed to soft white on hover. The new shared state matches the established “See our 9-phase process” interaction and keeps the button boundary visible.

Files affected

  • src/styles/global.css
  • src/pages/projects/[slug].astro
  • src/scripts/verify-primary-button-hover.mjs
  • package.json
  • tools/deploy-production.ps1
  • src/content/devlog/2026-10-08-primary-button-hover-contrast.md
Feedback