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

Update Google Fonts #217

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

devjiwonchoi
Copy link
Contributor

@devjiwonchoi devjiwonchoi commented Nov 12, 2024

Why?

The New Google Font Geist is out, and it would be great to add support for it in @capsize/metrics as Next.js next/font is currently depending on it. 😌

@devjiwonchoi devjiwonchoi requested a review from a team as a code owner November 12, 2024 19:37
Copy link

changeset-bot bot commented Nov 12, 2024

🦋 Changeset detected

Latest commit: 1a0d5bf

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@capsizecss/metrics Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@michaeltaranto michaeltaranto left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! 👏

Will look at automating this in the background too.

@michaeltaranto michaeltaranto merged commit 4fb95bf into seek-oss:master Nov 13, 2024
3 checks passed
@seek-oss-ci seek-oss-ci mentioned this pull request Nov 13, 2024
@devjiwonchoi devjiwonchoi deleted the jwn/h6hn branch November 13, 2024 07:03
devjiwonchoi added a commit to vercel/next.js that referenced this pull request Nov 13, 2024
### Why?

`next/font` depends on the Google Fonts metrics from the
`@capsizecss/metrics`. Added support for Geist at
seek-oss/capsize#217, so we update version.

### How?

- Bump `@capsizecss/metrics` to 3.4.0
- Update the test to match the metrics.

#### Bonus

- Modified the test to use `.toMatchInlineSnapshot` to identify and
update future changes more easily.

### RFC

The `@capsizecss` team is planning to [automate the updating
process](seek-oss/capsize#217 (review)).
Should we continue to depend on them or replace them with our custom
script to fetch Google Font API (requires API key)?

x-ref: #47115
x-ref: [Twitter
Feedback](https://x.com/illyism/status/1855500917589602706)
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.

2 participants