Automattic / vip-design-system

Design system components used throughout WordPress VIP
https://vip-design-system-components.netlify.app/
15 stars 3 forks source link

Add button variants to the Link component #374

Closed djalmaaraujo closed 4 months ago

djalmaaraujo commented 4 months ago

Description

image

Sometimes, we want to display links as Buttons, and this is a way to reuse Button styles within the Link component.

Checklist

Steps to Test

  1. Pull down PR.
  2. npm run dev.
  3. Open http://localhost:6006/?path=/docs/navigation-link--docs
  4. There's a new section called: Button Variants
  5. You should see a demo for each of the following new variants:
button-primary
button-secondary
button-tertiary
button-danger
button-display
button-ghost
netlify[bot] commented 4 months ago

Deploy Preview for vip-design-system-components ready!

Name Link
Latest commit 09c6bc637b682c0a4ada8d1e43e64265765f94f6
Latest deploy log https://app.netlify.com/sites/vip-design-system-components/deploys/6627dbb9461c4300091b1f02
Deploy Preview https://deploy-preview-374--vip-design-system-components.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.