cfpb / design-system

CFPB's work-in-progress design system
https://cfpb.github.io/design-system
Creative Commons Zero v1.0 Universal
37 stars 12 forks source link

Remove `$font-size` variable #2027

Closed anselmbradford closed 1 week ago

anselmbradford commented 3 weeks ago

The heading mixins allow passing in a font-size override that is not used in the wild. There is also a $font-size variable that abstracts the $size-* variables.

Changes

Testing

  1. The heading examples should not be changed.

https://deploy-preview-2027--cfpb-design-system.netlify.app/design-system/foundation/headings

vs

https://cfpb.github.io/design-system/foundation/headings

netlify[bot] commented 3 weeks ago

Thanks for the improvements! Browse a preview of your changes using the link below.

Name Link
Latest commit de3bc6a7b8e58374483509ffcef2328c5e9a4baa
Latest deploy log https://app.netlify.com/sites/cfpb-design-system/deploys/66c7b5ebf6939d0008269352
Deploy Preview https://deploy-preview-2027--cfpb-design-system.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.