-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat(fonts): experimental release #12775
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
Conversation
🦋 Changeset detectedLatest commit: 4ee7308 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is blocked because it contains a minor
changeset. A reviewer will merge this at the next release if approved.
CodSpeed Performance ReportMerging #12775 will not alter performanceComparing Summary
|
* feat(fonts): work on local provider * feat: config, types and options * feat: dedupe * feat: todo * chore: clean * feat: rework local provider * feat: work on local provider * fix: storage * fix: types * Discard changes to examples/basics/astro.config.mjs * Discard changes to examples/basics/src/components/Welcome.astro * Discard changes to examples/basics/src/layouts/Layout.astro * chore: clean * chore: comment * feat: dedupe
* feat(fonts): improve providers * feat: export defineFontProvider * feat: type test * feat: test providers * feat: test providers utils * feat: more tests * fix: path
* feat(fonts): fallbacks * feat: local * fix: test * feat: isGenericFontFamily test * feat: generateFallbackCSS test * feat: docs * feat: simplify * fix * feat: improve schema * Discard changes to examples/basics/astro.config.mjs * feat: address reviews
* feat: improve loop * feat: simplify cache * feat: extract initialize logic * fix: circular dependency * fix: circular dependency * feat: test * chore: remove comment * feat: address reviews * chore: logs * fix: normalize path * test * chore: remove logs
* feat(fonts): update local shape * fix: types tests * fix: tests
* feat(fonts): improve local font files deletion * feat: include path
* feat(fonts): update local shape * fix: types tests * fix: tests * feat(fonts): update local provider to support entrypoints src and techs * fix: tests * chore: clean * fix: default fallbacks * fix: paths * feat: extract variants transform to dedicated function
* fix(fonts): patch unifont * fix: fontsource
* feat(fonts): remove default provider * feat: tests * Update index.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just adding a block for the changeset, which will wait until docs are finalized! 🙌
Co-authored-by: Sarah Rainsberger <[email protected]> Co-authored-by: Armand Philippot <[email protected]>
Co-authored-by: Sarah Rainsberger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I already reviewed all the code in the previous PRs. I also did a rebase and resolved the conflicts. The project builds successfully!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's goooo! 🥳
API bash
Thanks for trying the experimental fonts API. Here's how to get set up.
Helpful resources
Setup
Create a project as normal, or use an existing one:
Install the experimental
astro
release:Configure fonts:
Usage
Use the Font component and the generated CSS variable:
What to test
Changes
Testing
Manual and automated
Docs