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

Add proprietarily-licensed font files #7025

Merged
merged 3 commits into from
Apr 26, 2022
Merged

Add proprietarily-licensed font files #7025

merged 3 commits into from
Apr 26, 2022

Conversation

willbarton
Copy link
Member

@willbarton willbarton commented Apr 21, 2022

This changes adds our proprietary font files to this repository, with a note in the README regarding their licensing.

This change also removes the "ci" frontend build target which was only used for faking these font files in public CI.

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)

@anselmbradford
Copy link
Member

I wonder if we should just add the fonts we use. I think we put them all in the private repo for reference if needed, but doesn't seem like we need them all here (and can always grab them from the private repo, if needed). The files we use are these two for regular: https://github.com/cfpb/design-system/blob/main/packages/cfpb-typography/src/licensed-fonts.less#L52-L53

And these two for medium: https://github.com/cfpb/design-system/blob/main/packages/cfpb-typography/src/licensed-fonts.less#L62-L63

@wpears
Copy link
Member

wpears commented Apr 26, 2022

I wonder if we should just add the fonts we use.

I endorse this!

@willbarton
Copy link
Member Author

@anselmbradford @wpears alrighty, I'll remove everything that's not those files!

This changes adds our proprietary font files to this repository, with a note in the README regarding their licensing.
This change removes the font faking we had in our frontend build for CI usage.

The only difference between “production” and “ci” in the frontend build was to fake our proprietary font files.
@willbarton willbarton merged commit 5270788 into main Apr 26, 2022
@willbarton willbarton deleted the move-fonts branch April 26, 2022 15:06
willbarton added a commit that referenced this pull request Apr 27, 2022
In #7025 added our private font files to this repository, I missed this part of the build script that would add extra arguments for our webfonts path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants