Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove $font-size variable #2027

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Remove $font-size variable #2027

merged 1 commit into from
Sep 5, 2024

Conversation

anselmbradford
Copy link
Member

@anselmbradford anselmbradford commented Aug 22, 2024

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

  • Remove $fs argument from heading-* mixins.
  • Remove $font-size variable.

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

@anselmbradford anselmbradford added the lerna-changelog/breaking lerna label. DO NOT MODIFY label Aug 22, 2024
Copy link

netlify bot commented Aug 22, 2024

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

Name Link
🔨 Latest commit de3bc6a
🔍 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.

Copy link
Member

@contolini contolini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗑️

@anselmbradford anselmbradford merged commit b827eb7 into main Sep 5, 2024
8 checks passed
@anselmbradford anselmbradford deleted the ans_heading_args branch September 5, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lerna-changelog/breaking lerna label. DO NOT MODIFY
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants