seek-oss / capsize

Flipping how we define typography in CSS.
https://seek-oss.github.io/capsize/
MIT License
1.51k stars 37 forks source link

refactor: Handle system and google font inputs uniformly #188

Closed michaeltaranto closed 5 months ago

michaeltaranto commented 5 months ago

In preparation for supporting metrics for font variants (eg. weight and style), this refactors how metrics are extracted and built internally.

Key goals were:

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 04db46e8dd4044014cfd3713d2330ea0d2fe36ef

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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