Skip to content

Conversation

@florian-lefebvre
Copy link
Member

@florian-lefebvre florian-lefebvre commented Jan 12, 2026

Changes

  • Allows font providers to specify family specific options. That allows for a better DX (before it was a beir weird, see the diff of the changeset about the breaking change)
  • Figuring out how to make the types work in defineConfig() was an absolute nightmare. We have types tests to avoid regressions

Testing

  • Manually
  • Types tests
  • Config tests

Docs

@florian-lefebvre florian-lefebvre self-assigned this Jan 12, 2026
@changeset-bot
Copy link

changeset-bot bot commented Jan 12, 2026

🦋 Changeset detected

Latest commit: d6b446c

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

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

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) docs pr labels Jan 12, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Jan 12, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing feat/fonts-family-options (d6b446c) with main (2fa19c4)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (778f83c) during the generation of this report, so 2fa19c4 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@florian-lefebvre florian-lefebvre changed the title feat(fonts): family options feat(fonts)!: family options Jan 12, 2026
@florian-lefebvre florian-lefebvre marked this pull request as ready for review January 12, 2026 14:32
@matthewp
Copy link
Contributor

Why against main?

@florian-lefebvre
Copy link
Member Author

I have been sending all improvements against main so far since I don't think it hurts. I planned to only do the stabilization part on next. Happy to change if you prefer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs pr pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants