seek-oss / capsize

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

createFontStack: Apply `line-gap-override` with no `lineGap` in web font #198

Closed michaeltaranto closed 2 months ago

michaeltaranto commented 2 months ago

Ensure that the line-gap-override property is applied correctly when overriding a fallback font with a web font that has no lineGap.

Previously if the override was zero it would be omitted from the declaration, rather than the correct behaviour of overriding the fallback metric to zero.

changeset-bot[bot] commented 2 months ago

🦋 Changeset detected

Latest commit: 8724afda008c0152f4c64cfe539735b55fc7cf28

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

This PR includes changesets to release 1 package | Name | Type | | ---------------- | ----- | | @capsizecss/core | Patch |

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